diff --git a/.github/workflows/ios-build-and-test.yml b/.github/workflows/ios-build-and-test.yml index 7e22e6f..5a85979 100644 --- a/.github/workflows/ios-build-and-test.yml +++ b/.github/workflows/ios-build-and-test.yml @@ -11,13 +11,13 @@ jobs: - name: Set up Xcode uses: maxim-lobanov/setup-xcode@v1 with: - xcode-version: '15.3' + xcode-version: '16.4' - name: Build WebRTCiOSSDK run: xcodebuild -scheme WebRTCiOSSDK -configuration Release -destination "generic/platform=iOS" ARCHS=arm64 CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO build - name: Test WebRTCiOSSDK - run: xcodebuild clean -scheme WebRTCiOSSDK -destination "platform=iOS Simulator,name=iPhone 15" test + run: xcodebuild clean -scheme WebRTCiOSSDK -destination "platform=iOS Simulator,name=iPhone 16" test - name: Build WebRTCSampleApp run: xcodebuild -scheme WebRTC-Sample-App -configuration Release -destination "generic/platform=iOS" ARCHS=arm64 CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO build diff --git a/WebRTCiOSSDK/api/AntMediaClient.swift b/WebRTCiOSSDK/api/AntMediaClient.swift index eeba25a..9fb696c 100644 --- a/WebRTCiOSSDK/api/AntMediaClient.swift +++ b/WebRTCiOSSDK/api/AntMediaClient.swift @@ -66,7 +66,7 @@ open class AntMediaClient: NSObject, AntMediaClientProtocol { private var p2pStreamId: String? private var publishToken: String? private var playToken: String? - private var webSocket: WebSocket? + private var webSocket: Starscream.WebSocket? // keep it for backward compatibility private var mode: AntMediaClientMode! var streamsInTheRoom: [String] = []