Skip to content

Instantly share code, notes, and snippets.

@lyokato
Created June 12, 2017 15:11
Show Gist options
  • Save lyokato/61554ce7bf688b976c91be250d299964 to your computer and use it in GitHub Desktop.
Save lyokato/61554ce7bf688b976c91be250d299964 to your computer and use it in GitHub Desktop.
WebRTC Loal Video Setup Example (without filter)
// ...
RTCVideoSource *source = [factory videoSource];
RTCVideoCapturer *capturer = [[RTCCameraVideoCapturer alloc] initWithDelegate:source];
RTCVideoTrack *trakc = [factory videoTrackWithSource:source trackId:trackId];
// ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment