Add ability to mark video sources for screen casting in ObjC
Bug: webrtc:13033 Change-Id: If30a4889cd2cb0ecc5ee91eed2ee9b496a40c852 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/227295 Reviewed-by: Kári Helgason <kthelgason@webrtc.org> Commit-Queue: Kári Helgason <kthelgason@webrtc.org> Cr-Commit-Position: refs/heads/master@{#34818}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
723ceae567
commit
4d0760e7f9
@ -60,6 +60,13 @@ RTC_OBJC_EXPORT
|
||||
*/
|
||||
- (RTC_OBJC_TYPE(RTCVideoSource) *)videoSource;
|
||||
|
||||
/** Initialize a generic RTCVideoSource with he posibility of marking
|
||||
* it as usable for screen sharing. The RTCVideoSource should be
|
||||
* passed to a RTCVideoCapturer implementation, e.g.
|
||||
* RTCCameraVideoCapturer, in order to produce frames.
|
||||
*/
|
||||
- (RTC_OBJC_TYPE(RTCVideoSource) *)videoSourceForScreenCast:(BOOL)forScreenCast;
|
||||
|
||||
/** Initialize an RTCVideoTrack with a source and an id. */
|
||||
- (RTC_OBJC_TYPE(RTCVideoTrack) *)videoTrackWithSource:(RTC_OBJC_TYPE(RTCVideoSource) *)source
|
||||
trackId:(NSString *)trackId;
|
||||
|
||||
Reference in New Issue
Block a user