HMSRoom constructor

HMSRoom({
  1. required String id,
  2. String? name,
  3. required List<HMSPeer>? peers,
  4. required bool isLarge,
  5. String? metaData,
  6. HMSServerRecordingState? hmsServerRecordingState,
  7. HMSRtmpStreamingState? hmsRtmpStreamingState,
  8. HMSBrowserRecordingState? hmsBrowserRecordingState,
  9. HMSHLSStreamingState? hmshlsStreamingState,
  10. HMSHLSRecordingState? hmshlsRecordingState,
  11. int peerCount = 0,
  12. int startedAt = 0,
  13. required String sessionId,
})

Implementation

HMSRoom(
    {required this.id,
    this.name,
    required this.peers,
    required this.isLarge,
    this.metaData,
    this.hmsServerRecordingState,
    this.hmsRtmpStreamingState,
    this.hmsBrowserRecordingState,
    this.hmshlsStreamingState,
    this.hmshlsRecordingState,
    this.peerCount = 0,
    this.startedAt = 0,
    required this.sessionId});