Open tenchong opened 2 years ago
Please describe your issue in detail, with reproduce steps, your expectations and actual results. Thanks.
Hello. The version 4.3.1 is used, and then IOS shunts and subscribes to the audio and video on the computer side. You can only see the video and can't hear the sound. The computer side can hear the sound and see the video with each other. IOS confluence can be normal. What is the reason?
Please check whether you iOS client received RTP packets for audio. If so, please make sure AVAudioSession
is correctly configured.
[[M2MOWTManager sharedSocket] subscribe:remoteStream withOptions:nil success:^(OWTConferenceSubscription * _Nonnull subscription) { videoView.subscription = subscription; videoView.subscriptionId = videoView.subscription.subscriptionId; dispatch_async(dispatch_get_main_queue(), ^{ [remoteStream attach:videoView.remoteVideoView];
});
Hello, The above is the code for me to subscribe to the video, how to mark AVAudioSession is correctly configured.
Configuration of AVAudioSession
depends on your requirements, you may want to override output to speaker or default.
分流时,只有视频没有音频,或有时,一开始有音频,然后一下后面就没有了。