Skip to content
This repository was archived by the owner on Sep 4, 2019. It is now read-only.
This repository was archived by the owner on Sep 4, 2019. It is now read-only.

Remote stream is not rendered. #45

@lboquan

Description

@lboquan
  • (void)peerConnection:(nonnull RTCPeerConnection *)peerConnection didAddStream:(nonnull RTCMediaStream *)stream {
    dispatch_async(dispatch_get_main_queue(), ^{
    self.remoteVideoTrack = [stream.videoTracks firstObject];
    [self.remoteVideoTrack addRenderer:self.remoteView];
    });
    }

Where self.remoteView is a RTCEAGLVideoView class.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions