-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OfferMessage を更新する #143
OfferMessage を更新する #143
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
channel_id や multistream などのオプショナルでない項目は確定で入ってくることを前提にしていて、オプショナルにしてある項目は互換性担保の目的でオプショナルにしてあります。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
議論になる箇所と思うのですが、Sora の仕様変更の可能性を考えると、SDK として動作に必須でない(利用していない)項目は全てオプショナルにしてしまって良いように思いました。将来的に multistream が廃止されることなどを意識しています。
@@ -111,15 +111,31 @@ data class RedirectMessage( | |||
data class OfferMessage( | |||
@SerializedName("type") val type: String = "offer", | |||
@SerializedName("sdp") val sdp: String, | |||
@SerializedName("version") val version: String, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Q] version はオプションの方が良いかどうか
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
今回追加する項目はすべてオプションにする
sora-android-sdk/src/main/kotlin/jp/shiguredo/sora/sdk/channel/signaling/message/Catalog.kt
Outdated
Show resolved
Hide resolved
…/signaling/message/Catalog.kt Co-authored-by: miosakuma <[email protected]>
…uredo/sora-android-sdk into feature/upate-offer-message
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
項目や定義に過不足ないことを確認しました。対応ありがとうございます。
version
multistream
simulcast_multicodec
spotlight
channel_id
session_id
audio
audio_codec_type
audio_bit_rate
video
video_codec_type
video_bit_rate
This pull request includes updates to the
OfferMessage
class and documentation changes to reflect the new fields added. The most important changes include the addition of several new fields to theOfferMessage
class and the corresponding update to theCHANGES.md
file.Updates to
OfferMessage
class:version
,multistream
,simulcast_multicodec
,spotlight
,channel_id
,session_id
,audio
,audio_codec_type
,audio_bit_rate
,video
,video_codec_type
, andvideo_bit_rate
to theOfferMessage
class insora-android-sdk/src/main/kotlin/jp/shiguredo/sora/sdk/channel/signaling/message/Catalog.kt
.Documentation updates:
CHANGES.md
to include the new fields added toOfferMessage
.