Skip to content

Conversation

@zztkm
Copy link
Contributor

@zztkm zztkm commented Jan 8, 2025

  • [ADD] SignalingOffer に項目を追加する
    • 追加する項目
      • version
      • simulcastMulticodec
      • spotlight
      • channelId
      • sessionId
      • audio
      • audioCodecType
      • audioBitRate
      • video
      • videoCodecType
      • videoBitRate

This pull request includes several changes to the SignalingOffer structure in Sora/Signaling.swift and some corrections in the serializeData function. The most important changes include adding new fields to the SignalingOffer structure, updating the Codable conformance for these fields, and fixing typos in the serializeData function.

Additions to SignalingOffer structure:

  • Added new fields: version, simulcastMulticodec, spotlight, channelId, sessionId, audio, audioCodecType, audioBitRate, video, videoCodecType, and videoBitRate to the SignalingOffer structure. [1] [2] [3]

Codable conformance updates:

  • Updated the Codable conformance of SignalingOffer to include the new fields in the CodingKeys enumeration and the corresponding decode and encode methods. [1] [2]

Typo corrections:

  • Corrected typos in the serializeData function by changing clinetId to clientId and authzMetada to authzMetadata. [1] [2]

Documentation updates:

  • Updated CHANGES.md to reflect the addition of new fields to the SignalingOffer structure.

@zztkm zztkm self-assigned this Jan 8, 2025
@zztkm zztkm changed the title WIP: Offer メッセージの定義を更新する シグナリング offer メッセージの定義を更新する Jan 8, 2025
@zztkm zztkm requested a review from torikizi January 8, 2025 03:30
var signalingNotifyMetadata = SignalingNotifyMetadata()
if let clinetId = dict["client_id"] as? String {
signalingNotifyMetadata.clientId = clinetId
if let clientId = dict["client_id"] as? String {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo 修正


if let authzMetada = dict["authz_metadata"] {
signalingNotifyMetadata.authzMetadata = authzMetada
if let authzMetadata = dict["authz_metadata"] {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo 修正

Copy link
Contributor

@torikizi torikizi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

修正ありがとうございます。動作も問題なさそうでした。

@zztkm zztkm merged commit 59554a6 into develop Jan 8, 2025
4 checks passed
@zztkm zztkm deleted the feature/upate-type-offer-message branch January 8, 2025 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants