修改为静音播放视频,不再播放声音
This commit is contained in:
+2
-8
@@ -102,16 +102,10 @@
|
||||
#pragma mark- 暂停 挂断
|
||||
|
||||
-(void)stopP2PPlayingGLViewVideo{
|
||||
if(!self.isReject){
|
||||
|
||||
self.isReject = !self.isReject;
|
||||
|
||||
while (self.isPlaying) {
|
||||
usleep(50*1000);
|
||||
}
|
||||
|
||||
if ([self.player isPlaying]) {
|
||||
[self.player p2pStop];
|
||||
}
|
||||
|
||||
}
|
||||
#pragma mark -已有人观看事件
|
||||
|
||||
|
||||
Reference in New Issue
Block a user