An attempt was made to access a socket in a way forbidden by its access permissions.

开启rtsp服务失败

解决办法:

控制面板- 防火墙-高级设置-出站规则-新建-端口
增加udp和tcp的所有端口,允许连接。
重启电脑,解决。

你可能感兴趣的:(c++)