-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
## Description This PR adds support for ex-webrtc backend. On both platforms: - ~removed `restartIce()` call - it causes issues with connectivity~ => `restartIce` is needed for non exwebrtc. - changes ice transport type from `.relay` to .`all` - conforms to protocol when sending candidates - disables simulcast in example app - it's currently not supported, but maybe it will be supported in the future, thus I'm not changing the api, it's disabled by default anyway NEW changes: - Removed `endpointType` as it was unused and only created confusion about what should be set. - ExWebRTC/WebRTC is now decided based upon if turn servers are passed (same as it's done on Web) On Android: - fixes a (backend) crash when client sends candidate before sending sdp offer by queueing the candidates - on iOS it's not needed as sdp offer is created on the same thread as candidates. In my opinion it's more of a backend issue but it's quicker to workaround it on our side. - fixes a bug when using `changeWebRTCLoggingSeverity` (found out when debugging something) - changes number strategy when serializing to json, so that it sends integers instead of floats On iOS: - removed some dead code with `queuedRemoteCandidates` ## Motivation and Context https://linear.app/swmansion/issue/FCE-555/investigate-work-required-to-support-elixirwebrtc-in-mobile-app ## How has this been tested? - Get a backend with ex-webrtc (built locally from `ex_webrtc_experimental` of fishjam or deployed to fishjam.work) - Open fishjam dashboard - Test only on physical devices, emulators won't work - currently backend has fixed h264 encoding which is unsupported on android emulator - Test different combinations: two mobiles, mobile + web - Test connecting in different order, screencast, disconnecting and reconnecting, adding and removing tracks --------- Co-authored-by: Miłosz Filimowski <[email protected]> Co-authored-by: Milosz Filimowski <[email protected]>
- Loading branch information
1 parent
12d9ce0
commit 6aad9c5
Showing
17 changed files
with
135 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 0 additions & 9 deletions
9
...android-client/FishjamClient/src/main/java/com/fishjamcloud/client/models/EndpointType.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.