File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -136,6 +136,8 @@ extern NSNotificationName const TIoTCoreXP2PBridgeNotificationStreamEnd;
136136- (void )setAudioRoute : (BOOL )isHandsFree ;
137137// 静音或回复音频
138138- (void )muteLocalAudio : (BOOL )mute ;
139+ // 静音或回复音频
140+ - (void )muteLocalVideo : (BOOL )mute ;
139141/*
140142 * 局域网相关接口
141143 */
Original file line number Diff line number Diff line change @@ -490,6 +490,9 @@ - (void)setAudioRoute:(BOOL)isHandsFree {
490490- (void )muteLocalAudio : (BOOL )mute {
491491 [[TRTCCloud sharedInstance ] muteLocalAudio: mute];
492492}
493+ - (void )muteLocalVideo : (BOOL )mute {
494+ [[TRTCCloud sharedInstance ] muteLocalVideo: TRTCVideoStreamTypeBig mute: mute];
495+ }
493496
494497- (void )stopService : (NSString *)dev_name {
495498 [self stopVoiceToServer ];
You can’t perform that action at this time.
0 commit comments