getValueFromHMSRoomUpdate static method
Implementation
static String getValueFromHMSRoomUpdate(HMSRoomUpdate hmsRoomUpdate) {
switch (hmsRoomUpdate) {
case HMSRoomUpdate.roomMuted:
return 'room_muted';
case HMSRoomUpdate.roomUnmuted:
return 'room_unmuted';
case HMSRoomUpdate.serverRecordingStateUpdated:
return 'server_recording_state_updated';
case HMSRoomUpdate.browserRecordingStateUpdated:
return 'browser_recording_state_updated';
case HMSRoomUpdate.rtmpStreamingStateUpdated:
return 'rtmp_streaming_state_updated';
case HMSRoomUpdate.hlsStreamingStateUpdated:
return 'hls_streaming_state_updated';
case HMSRoomUpdate.hlsRecordingStateUpdated:
return 'hls_recording_state_updated';
case HMSRoomUpdate.roomPeerCountUpdated:
return 'room_peer_count_updated';
default:
return 'defaultUpdate';
}
}