You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed betterPathUpdateHandler which can be used on NWConnection. It is called when say you are on 4G/5G and WiFi becomes available. It can be used to switch to WiFi automatically. The question is - will it work with RTMP, i.e. will it be able to keep streaming without interruption?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I noticed betterPathUpdateHandler which can be used on NWConnection. It is called when say you are on 4G/5G and WiFi becomes available. It can be used to switch to WiFi automatically. The question is - will it work with RTMP, i.e. will it be able to keep streaming without interruption?
Example implementation:
https://github.com/pusher/NWWebSocket/blob/19d23951c8099304ad98e2fc762fa23d6bfab0b9/Sources/NWWebSocket/Model/Client/NWWebSocket.swift#L89C25-L89C48
https://github.com/pusher/NWWebSocket/blob/19d23951c8099304ad98e2fc762fa23d6bfab0b9/Sources/NWWebSocket/Model/Client/NWWebSocket.swift#L245
Beta Was this translation helpful? Give feedback.
All reactions