streamPropertyChange method
void
streamPropertyChange({})
Sends the streamPropertyChange to the WebSocket server Used to change the audio and video status of a stream
Implementation
void streamPropertyChange(
{required String streamId,
required String property,
required dynamic newValue,
required String reason}) {
final Map<String, dynamic> streamPropertyChangeParams = {
'streamId': streamId,
'property': property,
'newValue': newValue,
'reason': reason,
};
sendJson(
JsonConstants.streamPropertyChangedMethod, streamPropertyChangeParams);
}