-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
load device to set ice server option missing (available in android/ web) #14
Comments
[update] We checked the source code for swift wrapper. class device wrapper.mm. The function load device does not have the peer connection parameter and it is taking default one which you have initialised in init. `device wrapper.mm (void) loadWithRouterRTPCapabilities:(NSString *) routerRTPCapabilities error:(out NSError *__autoreleasing _Nullable *_Nullable)error {
} please expose/ add this parameter in the function itself so that I can pass the server list. |
[update] We cloned the project and added the missing implementation for peer connection options. We are testing it for few days now, it is working fine. |
You should remember that If we look at the TypeScript implementation of the mediasoup client, they have the So what's really need to be done in the first place is to implement these parameters in C++ library. I've created an issue on the original library repo and will try to make what you suggest, but it will take time. Closing this issue as it's not a problem of wrapper itself and issue in libmediasoupclient will be more relevant. |
@lets-swapcode next day I finally realised what you've actually meant 😅. And yep, that parameter should be added on mediasoup-client-swift side. |
…support customisation for peerConnection options to take Ice servers and relay transport policy
Please check version 0.4.2. I've added parameters you need into I've seen your PR and really appreciate your help. But I see couple of issues with that PR. First of all it may not work with some ICE server configurations. As docs says, Second thing that is not an issue by itself, but can become such in future. You've added a new parameter to the Device |
Thanks. Tested and working perfectly fine. Please add support for iOS 12 also so that we don't have to maintain a local clone. |
Our repo - device.load(with: rtpCapabilities)
Android, web repo has extra parameters to set ICE server configuration - check last load function
`
code
`
so how to set ice server in iOS?
I can see send transport has few functions.
`
code
`
Question
Note - I tried this too. server is not receiving any ice server info. please help.
The text was updated successfully, but these errors were encountered: