Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
41 Views

iOS Render issue with NativeStream

Hello Team,

What is the nativeStream here 

- (void)attach:(NSObject<RTCVideoRenderer>*)renderer {

auto nativeStream = [self nativeStream];

if (nativeStream == nullptr || nativeStream->MediaStream() == nullptr) {

NSLog(@"Attached stream without media stream");

return;

}

if (_mediaStream == nil) {

_mediaStream = [[RTCMediaStream alloc]

initWithFactory:[RTCPeerConnectionFactory sharedInstance]

nativeMediaStream:nativeStream->MediaStream()];

}

if ([_mediaStream.videoTracks count] == 0)

return;

[[_mediaStream.videoTracks objectAtIndex:0] addRenderer:renderer];

NSLog(@"Attached stream.");

}

 

 

When we render OWTRemoteStream.mediaStream we are not getting remote video view.

Its serious issue for us, help us to resolve it.

 

Thank you

Tags (2)
0 Kudos
1 Reply
Highlighted
41 Views

Hello Team, 

 

Any update for this

0 Kudos