Skip to content

Commit

Permalink
Merge pull request #97 from team-telnyx/IS/Fix/StarScreamUpdate
Browse files Browse the repository at this point in the history
Is/fix/star scream update
  • Loading branch information
isaacakakpo1 authored Sep 14, 2023
2 parents e74e7d6 + 3d61c2e commit 5c994f2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Podfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Uncomment the next line to define a global platform for your project
platform :ios, '10.0'
platform :ios, '11.0'

target 'TelnyxWebRTCDemo' do
# Comment the next line if you don't want to use dynamic frameworks
Expand All @@ -16,7 +16,7 @@ target 'TelnyxRTC' do

# Pods for TelnyxRTC
pod 'Bugsnag', '~> 6.9.1'
pod 'Starscream', '~> 4.0.4'
pod 'Starscream', '~> 4.0.6'
pod 'WebRTC-lib', "~> 94.0.0"

target 'TelnyxRTCTests' do
Expand Down
4 changes: 2 additions & 2 deletions TelnyxRTC.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Pod::Spec.new do |spec|
spec.author = { "Telnyx LLC" => "[email protected]" }
spec.source = { :git => "https://github.com/team-telnyx/telnyx-webrtc-ios.git", :tag => "#{spec.version}" }

spec.platform = :ios, "10.0"
spec.platform = :ios, "11.0"
spec.swift_version = "5.0"

spec.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64',
Expand All @@ -22,6 +22,6 @@ Pod::Spec.new do |spec|
spec.exclude_files = "TelnyxRTC/Exclude"

spec.dependency "Bugsnag", "~> 6.9.1"
spec.dependency "Starscream", "~> 4.0.4"
spec.dependency "Starscream", "~> 4.0.6"
spec.dependency "WebRTC-lib", "~> 94.0.0"
end
6 changes: 5 additions & 1 deletion TelnyxRTC/Telnyx/Services/Socket.swift
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class Socket {
// MARK:- WebSocketDelegate
extension Socket : WebSocketDelegate {

func didReceive(event: WebSocketEvent, client: WebSocket) {
func didReceive(event: WebSocketEvent, client: WebSocketClient) {
switch event {
case .connected(let headers):
isConnected = true
Expand Down Expand Up @@ -94,6 +94,10 @@ extension Socket : WebSocketDelegate {
break
case .reconnectSuggested(_):
break
case .peerClosed:
break
@unknown default:
break
}
}
}

0 comments on commit 5c994f2

Please sign in to comment.