This commit is contained in:
parent
12b0581d35
commit
565d247296
|
@ -66,9 +66,9 @@ namespace ClientDemo
|
||||||
public void StopVideo()
|
public void StopVideo()
|
||||||
{
|
{
|
||||||
lTRTCCloud.stopRemoteView("53245345", TRTCVideoStreamType.TRTCVideoStreamTypeBig);
|
lTRTCCloud.stopRemoteView("53245345", TRTCVideoStreamType.TRTCVideoStreamTypeBig);
|
||||||
RemoveCustomVideoView(main, "666", TRTCVideoStreamType.TRTCVideoStreamTypeBig, false);
|
RemoveCustomVideoView(main, "53245345", TRTCVideoStreamType.TRTCVideoStreamTypeBig, false);
|
||||||
lTRTCCloud.stopRemoteView("53245345", TRTCVideoStreamType.TRTCVideoStreamTypeSub);
|
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)
|
private static void RemoveCustomVideoView(Panel parent, string userId, TRTCVideoStreamType streamType, bool local = false)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue