Skip to content

Commit

Permalink
オプショナルに変更する
Browse files Browse the repository at this point in the history
  • Loading branch information
zztkm committed Dec 18, 2024
1 parent 8ea31df commit c3b4b6b
Showing 1 changed file with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -111,31 +111,31 @@ data class RedirectMessage(
data class OfferMessage(
@SerializedName("type") val type: String = "offer",
@SerializedName("sdp") val sdp: String,
@SerializedName("version") val version: String,
@SerializedName("version") val version: String? = null,

@SerializedName("multistream") val multistream: Boolean,
@SerializedName("multistream") val multistream: Boolean? = null,
@SerializedName("simulcast") val simulcast: Boolean,
@SerializedName("simulcast_multicodec") val simulcastMulticodec: Boolean,
@SerializedName("spotlight") val spotlight: Boolean,
@SerializedName("simulcast_multicodec") val simulcastMulticodec: Boolean? = null,
@SerializedName("spotlight") val spotlight: Boolean? = null,

@SerializedName("channel_id") val channelId: String,
@SerializedName("channel_id") val channelId: String? = null,
@SerializedName("client_id") val clientId: String,
@SerializedName("bundle_id") val bundleId: String? = null,
@SerializedName("connection_id") val connectionId: String,
@SerializedName("session_id") val sessionId: String?,
@SerializedName("session_id") val sessionId: String? = null,

@SerializedName("metadata") val metadata: Any?,
@SerializedName("config") val config: OfferConfig? = null,
@SerializedName("mid") val mid: Map<String, String>? = null,
@SerializedName("encodings") val encodings: List<Encoding>?,
@SerializedName("data_channels") val dataChannels: List<Map<String, Any>>? = null,

@SerializedName("audio") val audio: Boolean?,
@SerializedName("audio_codec_type") val audioCodecType: String?,
@SerializedName("audio_bit_rate") val audioBitRate: Int?,
@SerializedName("video") val video: Boolean?,
@SerializedName("video_codec_type") val videoCodecType: String?,
@SerializedName("video_bit_rate") val videoBitRate: Int?,
@SerializedName("audio") val audio: Boolean? = null,
@SerializedName("audio_codec_type") val audioCodecType: String? = null,
@SerializedName("audio_bit_rate") val audioBitRate: Int? = null,
@SerializedName("video") val video: Boolean? = null,
@SerializedName("video_codec_type") val videoCodecType: String? = null,
@SerializedName("video_bit_rate") val videoBitRate: Int? = null,
)

data class SwitchedMessage(

0 comments on commit c3b4b6b

Please sign in to comment.