Skip to content

Commit 3eff931

Browse files
authored
Merge pull request tencentyun#118 from jingsong-liu/patch-1
fix wpf demo bug: 退出房间后无法重新开启视频通话
2 parents 372597a + 945b5d4 commit 3eff931

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Windows/WPFDemo/MainWindow.xaml.cs

+4
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,10 @@ public void onEnterRoom(int result)
237237
this.Dispatcher.Invoke(new Action(() => {
238238
if (result >= 0)
239239
{
240+
// 开启本地音视频流
241+
mTRTCCloud.muteLocalAudio(false);
242+
mTRTCCloud.muteLocalVideo(false);
243+
240244
// 进房成功
241245
mIsEnterSuccess = true;
242246
}

0 commit comments

Comments
 (0)