toJson method

Map<String, Object?> toJson()

Returns a representation of this object as a JSON object.

Implementation

Map<String, Object?> toJson() => {
      "constraints": constraints?.toJson(),
      "conferenceAccessToken": conferenceAccessToken,
      "maxVideoForwarding": maxVideoForwarding,
      "mixing": mixing?.toJson(),
      "videoForwardingStrategy": videoForwardingStrategy?.encode(),
      "simulcast": simulcast,
      "spatialAudio": spatialAudio,
    };