aiortc / aiortc

WebRTC and ORTC implementation for Python using asyncio
BSD 3-Clause "New" or "Revised" License
4.19k stars 759 forks source link

how to disable stun #1128

Open pvlking opened 3 months ago

pvlking commented 3 months ago

I don't want to use STUN Server. SO I created RTCPeerConnection : config = RTCConfiguration(iceServers=[]) pc = RTCPeerConnection(configuration=config) but stun also runed, how can don't use STUN Server?

el07694 commented 2 months ago

Few words i know.

If both server (python user) and client (html5 user) are on a lan network there is no need of stun or turn server.

If you want to disable stun you may use turn instead.