deepch / RTSPtoWebRTC

RTSP to WebRTC use Pion WebRTC
MIT License
1.56k stars 415 forks source link

p2p Nat traversal support for local servers behind nat. #145

Open anand-010 opened 2 years ago

anand-010 commented 2 years ago

I am trying to use this library to stream my local cctv rtsp to webrtc behind nat. Recently i have found this pion discussion about two approches. Is it possible to use this library without actually opening the ports. Please help me.

deepch commented 2 years ago

Hello,

Draw your network diagram.

25 янв. 2022 г., в 04:26, anand @.***> написал(а):

I am trying to use this library to stream my local cctv rtsp to webrtc behind nat. Recently i have found this pion discussion about two approches https://github.com/pion/webrtc/discussions/1787. Is it possible to use this library without actually opening the ports. Please help me.

— Reply to this email directly, view it on GitHub https://github.com/deepch/RTSPtoWebRTC/issues/145, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB4IWM2MTY4TINBZLS35BCLUXX35NANCNFSM5MW5R3XQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you are subscribed to this thread.

anand-010 commented 2 years ago

I am trying to do something like this. webrtc The http port 8083 by default reverse proxy to access it over the web and get the webrtc stream on a mobile phone browser over the internet. Unfortunately it doesn't worked i assume that this library not focused on nat traversal. and also hosting on a server with only 8083 port is opened not worked either. How do i overcome situation by streaming from local pc to client like normal webrtc p2p or with a turn server.