OLD | NEW |
1 /* | 1 /* |
2 * libjingle | 2 * libjingle |
3 * Copyright 2013 Google Inc. | 3 * Copyright 2013 Google Inc. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are met: | 6 * modification, are permitted provided that the following conditions are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright notice, | 8 * 1. Redistributions of source code must retain the above copyright notice, |
9 * this list of conditions and the following disclaimer. | 9 * this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright notice, | 10 * 2. Redistributions in binary form must reproduce the above copyright notice, |
(...skipping 15 matching lines...) Expand all Loading... |
26 */ | 26 */ |
27 | 27 |
28 #import "RTCVideoRenderer.h" | 28 #import "RTCVideoRenderer.h" |
29 | 29 |
30 #include "webrtc/api/mediastreaminterface.h" | 30 #include "webrtc/api/mediastreaminterface.h" |
31 | 31 |
32 @interface RTCVideoRendererAdapter : NSObject | 32 @interface RTCVideoRendererAdapter : NSObject |
33 | 33 |
34 @property(nonatomic, readonly) id<RTCVideoRenderer> videoRenderer; | 34 @property(nonatomic, readonly) id<RTCVideoRenderer> videoRenderer; |
35 @property(nonatomic, readonly) | 35 @property(nonatomic, readonly) |
36 webrtc::VideoRendererInterface* nativeVideoRenderer; | 36 rtc::VideoSinkInterface<cricket::VideoFrame> *nativeVideoRenderer; |
37 | 37 |
38 - (instancetype)initWithVideoRenderer:(id<RTCVideoRenderer>)videoRenderer; | 38 - (instancetype)initWithVideoRenderer:(id<RTCVideoRenderer>)videoRenderer; |
39 | 39 |
40 @end | 40 @end |
OLD | NEW |