skymaze / pymediasoup

mediasoup python client
MIT License
25 stars 14 forks source link

How to connect with IceServer #16

Closed gabrielmatau79 closed 1 week ago

gabrielmatau79 commented 2 weeks ago

I have been working on trying to connect a client from this library using an IceServer. It didn't work initially because the type defined for the IceServer parameter in the creation of the transports didn't match. We had to temporarily change into handler_interface.py file the type to iceServers So that we could add a list of Ice servers that we want to use.

iceServers: Optional[List[RTCIceServer]]

However, after encountering this problem, we have noticed that this function does not seem to be initializing correctly because when checking the RTC , the Ice connection is always in the 'new' state. My question is, was this feature ever tested? If there is a solution for this, could you please share it?

skymaze commented 1 week ago

Thanks, #17