Skip to content

Commit

Permalink
scaleResolutionDownTo の型を RtpParameters.ResolutionRestrictionに変更する
Browse files Browse the repository at this point in the history
  • Loading branch information
zztkm committed Jan 30, 2025
1 parent ad11b0f commit 5152ce4
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package jp.shiguredo.sora.sdk.channel.signaling.message

import com.google.gson.annotations.SerializedName
import jp.shiguredo.sora.sdk.util.SDKInfo
import org.webrtc.RtpParameters

// NOTE: 後方互換性を考慮して、項目を追加するときはオプショナルで定義するようにしてください。

Expand Down Expand Up @@ -96,18 +97,13 @@ data class OfferConfig(
@SerializedName("iceTransportPolicy") val iceTransportPolicy: String
)

data class ScaleResolutionDownTo(
@SerializedName("maxWidth") var maxWidth: Int,
@SerializedName("maxHeight") var maxHeight: Int
)

data class Encoding(
@SerializedName("rid") val rid: String?,
@SerializedName("active") val active: Boolean?,
@SerializedName("maxBitrate") val maxBitrate: Int?,
@SerializedName("maxFramerate") val maxFramerate: Double?,
@SerializedName("scaleResolutionDownBy") val scaleResolutionDownBy: Double?,
@SerializedName("scaleResolutionDownTo") val scaleResolutionDownTo: ScaleResolutionDownTo?,
@SerializedName("scaleResolutionDownTo") val scaleResolutionDownTo: RtpParameters.ResolutionRestriction?,
@SerializedName("scalabilityMode") val scalabilityMode: String?
)

Expand Down

0 comments on commit 5152ce4

Please sign in to comment.