Closed ghost closed 8 years ago
- (void)remoteDisconnected {
if (self.remoteVideoTrack) [self.remoteVideoTrack removeRenderer:self.remoteView];
self.remoteVideoTrack = nil;
[self.remoteView renderFrame:nil];
[self videoView:self.localView didChangeVideoSize:self.localVideoSize];
}
I implement code like example
What is remoteDisconnected method? How I implement this method?