updateMicrophoneState method
Implementation
void updateMicrophoneState(String streamID, bool state) {
final index = playingStreamListNotifier.value.indexWhere(
(e) => e.streamID == streamID,
);
if (-1 == index) {
return;
}
final streamInfo = playingStreamListNotifier.value[index];
streamInfo.microphone.value = state;
}