toJson method

Map<String, dynamic> toJson()

Returns a representation of this object as a JSON object.

Implementation

Map<String, dynamic> toJson() => {
      "dolbyVoice": dolbyVoice,
      "liveRecording": liveRecording,
      "rtcpMode": rtcpMode?.encode(),
      "ttl": ttl,
      "videoCodec": videoCodec?.encode(),
    };