stream-video-flutter
stream-video-flutter copied to clipboard
ConnectionOptions updated by OutgoingCallControls is not applied when the call is connected
Version: 0.3.8
Hi, I am trying to make a call (ringing: true), and using StreamCallContainer to display the call. When StreamOutgoingCallContent is shown, I tap on Microphone or Camera button to disable/enable media options, however, when the call is connected, my local video still shows and the mic still opens. Please help provide help check if this issue is a bug or provide the correct way to update media track options in ringing phase. Thank you in advance!!!
Making call
Future<Call> makeCall(String otherMemberId) async {
...
final currentUser = _callClient!.state.currentUser;
final ids = [currentUser.id, otherMemberId];
final call = _callClient!
.makeCall(callType: video.StreamCallType(), id: const Uuid().v4());
await call.getOrCreate(
memberIds: ids,
ringing: true);
return call!;
}
Displaying call
@override
Widget build(BuildContext context) {
return StreamCallContainer(call: call);
}