[FIX] URL 構造体が TURN URI に対応していないのに、URL に変換していたのを修正する
意図しないエスケープが発生しないようにした
This pull request includes changes to the Sora/ICEServerInfo.swift file to handle TURN URIs as strings instead of URLs, and a related fix in the CHANGES.md file. The most important changes are summarized below:
Handling TURN URIs as Strings
Sora/ICEServerInfo.swift: Changed the urls property from [URL] to [String] to handle TURN URIs as raw strings.
Sora/ICEServerInfo.swift: Updated the RTCIceServer initialization to use the urls array directly without converting to absoluteString.
変更内容
This pull request includes changes to the
Sora/ICEServerInfo.swift
file to handle TURN URIs as strings instead of URLs, and a related fix in theCHANGES.md
file. The most important changes are summarized below:Handling TURN URIs as Strings
Sora/ICEServerInfo.swift
: Changed theurls
property from[URL]
to[String]
to handle TURN URIs as raw strings.Sora/ICEServerInfo.swift
: Updated theRTCIceServer
initialization to use theurls
array directly without converting toabsoluteString
.Sora/ICEServerInfo.swift
: Modified the initializer to accepturls
as[String]
instead of[URL]
.Sora/ICEServerInfo.swift
: Adjusted theCodable
conformance to decodeurls
as[String]
and added debug logging for each URL.Documentation Update
CHANGES.md
: Added a fix entry for handling TURN URIs correctly to prevent unintended escaping.