diff --git a/ClientDemo/MainWindow.xaml.cs b/ClientDemo/MainWindow.xaml.cs index 1b8cd87..3d9fa9e 100644 --- a/ClientDemo/MainWindow.xaml.cs +++ b/ClientDemo/MainWindow.xaml.cs @@ -66,9 +66,9 @@ namespace ClientDemo public void StopVideo() { lTRTCCloud.stopRemoteView("53245345", TRTCVideoStreamType.TRTCVideoStreamTypeBig); - RemoveCustomVideoView(main, "666", TRTCVideoStreamType.TRTCVideoStreamTypeBig, false); + RemoveCustomVideoView(main, "53245345", TRTCVideoStreamType.TRTCVideoStreamTypeBig, false); lTRTCCloud.stopRemoteView("53245345", TRTCVideoStreamType.TRTCVideoStreamTypeSub); - RemoveCustomVideoView(sub, "666", TRTCVideoStreamType.TRTCVideoStreamTypeSub, false); + RemoveCustomVideoView(sub, "53245345", TRTCVideoStreamType.TRTCVideoStreamTypeSub, false); } private static void RemoveCustomVideoView(Panel parent, string userId, TRTCVideoStreamType streamType, bool local = false) {