diff --git a/CHANGES.md b/CHANGES.md index 4fcd03dd..309554af 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -11,6 +11,10 @@ ## develop +- [CHANGE] シグナリング `connect` メッセージの `libwebrtc` に含まれるバージョン文字列を Android と揃える + - branch-heads を追加する + - () 内の libwebrtc バージョンについて最初の 1 文字を削る + - 送信される文字列は `Shiguredo-build M122 (M122.1.0 6b419a0)` から、`Shiguredo-build M122 (122.6261.1.0 6b419a0)` に変更される - [UPDATE] WebRTC m122.6261.1.0 に上げる - @miosakuma diff --git a/Sora/PackageInfo.swift b/Sora/PackageInfo.swift index c7e743f4..b9340f00 100644 --- a/Sora/PackageInfo.swift +++ b/Sora/PackageInfo.swift @@ -20,6 +20,9 @@ public enum WebRTCInfo { /// WebRTC フレームワークのソースコードのリビジョン public static let revision = "6b419a0536b1a0ccfff3682f997c6f19bcbd9bd8" + /// WebRTC の branch-heads + public static let branch = "6261" + /// WebRTC フレームワークのソースコードのリビジョン (短縮版) public static var shortRevision: String { String(revision[revision.startIndex ..< revision.index( diff --git a/Sora/PeerChannel.swift b/Sora/PeerChannel.swift index f3044989..1dc471fc 100644 --- a/Sora/PeerChannel.swift +++ b/Sora/PeerChannel.swift @@ -307,7 +307,7 @@ class PeerChannel: NSObject, RTCPeerConnectionDelegate { let soraClient = "Sora iOS SDK \(SDKInfo.version)" - let webRTCVersion = "Shiguredo-build \(WebRTCInfo.version) (\(WebRTCInfo.version).\(WebRTCInfo.commitPosition).\(WebRTCInfo.maintenanceVersion) \(WebRTCInfo.shortRevision))" + let webRTCVersion = "Shiguredo-build \(WebRTCInfo.version) (\(WebRTCInfo.version.dropFirst()).\(WebRTCInfo.branch).\(WebRTCInfo.commitPosition).\(WebRTCInfo.maintenanceVersion) \(WebRTCInfo.shortRevision))" let simulcast = configuration.simulcastEnabled let connect = SignalingConnect(