Skip to content

Commit 4eb0198

Browse files
committed
添加开始停止发布本地流接口
Change-Id: I8ee38e772c469b37edcdef9c3827f98e8cc2f8cd
1 parent cbd317b commit 4eb0198

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Source/SDK/LinkVideo/TIoTCoreXP2PBridge.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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
*/

Source/SDK/LinkVideo/TIoTCoreXP2PBridge.mm

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff 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];

0 commit comments

Comments
 (0)