-
-
Notifications
You must be signed in to change notification settings - Fork 199
Description
TypeScript version of mediasoup client has iceServers and iceTransportPolicy parameters when calling createSendTransport method on Device entity: method declaration. C++ implementation of the libmediasoupclient does not have these parameters: method declaration.
Previously I've used UpdateIceServers method of the Transport entity and added UpdateIceTransportType method in our fork to set these parameters. But I guess it will be nice to have more consistent APIs between TS and C++ implementations, so I suggest adding missing parameters to Transport constructor. I was also motivated to open this issue by another one in our Swift wrapper for libmediasoupclient that suggested same way to set iceServers in TS and Swift.
I'll try to implement it myself and make a PR, but please say if I'm moving the right direction.