File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
example/lib/examples/advanced/send_multi_video_stream Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -152,6 +152,14 @@ class _State extends State<SendMultiVideoStream> {
152
152
),
153
153
);
154
154
155
+ // you should use one of the following methods to mute remote audio stream
156
+ // await _engine.muteRemoteAudioStream(uid: 456, mute: true);
157
+ await _engine.setSubscribeAudioBlocklistEx (
158
+ uidList: [456 ],
159
+ uidNumber: 1 ,
160
+ connection:
161
+ RtcConnection (channelId: _channelIdController.text, localUid: 123 ));
162
+
155
163
await _engine.joinChannelEx (
156
164
token: '' ,
157
165
connection: RtcConnection (
@@ -163,6 +171,8 @@ class _State extends State<SendMultiVideoStream> {
163
171
publishMediaPlayerAudioTrack: true ,
164
172
publishMediaPlayerVideoTrack: true ,
165
173
publishMediaPlayerId: _mediaPlayerController.getMediaPlayerId (),
174
+ autoSubscribeAudio: false ,
175
+ autoSubscribeVideo: false ,
166
176
),
167
177
);
168
178
}
You can’t perform that action at this time.
0 commit comments