When I use pixelstreaming, It randomly selects an available UDP port.However, in some network environments, I cannot open all ports to the public network. Can we limit the range of UDP ports available?or specify a UDP port for it?
I have the same question. Have you figured that out?
Hi there,
There is currently no easy way to configure a specific UDP port for WebRTC traffic, however we will be working on a solution/workaround for this in the near future as we understand that this can be a blocking issue for some users with strict environments.
I will post an update once we have one, thank you!
Thanks for your reply,i am just wondering to know if there is a way to modify this matter not considering the complexity.
Hello, any progress?
An easy way to do this is to use a TURN server and configure port range limits there.
你好,问一下您说的使用turn服务器哪里配置是怎么做的?可以分享一下么谢谢
在启动参数中加上-min-port=40000 -max-port=40010(改成你自己的端口范围),使用Start_TURNServer.sh脚本启动的话吧里面启动turnserver的参数改成arguments=“-p ${turnport} -r $realm -X $publicip -E $localip -L $localip --no-cli --no-tls --no-dtls --pidfile /var/run/turnserver.pid -f -a -v -n -u ${turnusername}:${turnpassword} -min-port=40000 -max-port=40010”
No, it is not possible to specify a UDP port for Pixel Streaming. Pixel Streaming uses WebRTC which manages the UDP ports dynamically.