WebTorrent
NOTE
This section needs some improvement.
WebTorrent Client
This source can get a stream from another go2rtc via WebTorrent protocol.
Client Configuration
yaml
streams:
webtorrent1: webtorrent:?share=huofssuxaty00izc&pwd=k3l2j9djeg8v8r7eWebTorrent Server
This module supports:
- Share any local stream via WebTorrent technology
- Get any incoming stream from PC or mobile via WebTorrent technology
- Get any remote go2rtc source via WebTorrent technology
Securely and freely. You do not need to open a public access to the go2rtc server. But in some cases (Symmetric NAT), you may need to set up external access to WebRTC module.
To generate a sharing link or incoming link, go to the go2rtc WebUI (stream links page). This link is temporary and will stop working after go2rtc is restarted!
Server Configuration
You can create permanent external links in the go2rtc config:
yaml
webtorrent:
shares:
super-secret-share: # share name, should be unique among all go2rtc users!
pwd: super-secret-password
src: rtsp-dahua1 # stream name from streams sectionLink example: https://go2rtc.org/webtorrent/#share=02SNtgjKXY&pwd=wznEQqznxW&media=video+audio