Open shravanteegala opened 6 years ago
when you create local stream then you can attach only audio stream not video stream
- (RTCMediaStream *)createLocalMediaStream {
RTCMediaStream* localStream = [_factory mediaStreamWithLabel:@"ARDAMS"];
//RTCVideoTrack *localVideoTrack = [self createLocalVideoTrack];
//if (localVideoTrack) {
// [localStream addVideoTrack:localVideoTrack];
// _delegate=self;
// [_delegate appClient:self didReceiveLocalVideoTrack:localVideoTrack];
//}
[localStream addAudioTrack:[_factory audioTrackWithID:@"ARDAMSa0"]];
if (_isSpeakerEnabled) [self enableSpeaker];
return localStream;
}
Video Calling with voice(audio) working fine But When I put the audio call only call the using [self.client muteVideoIn]; //- (void)muteVideoIn;
it is not working. please help me.