www/README.md
This folder contains static HTTP and JS content that is embedded into the application during build. An external developer can use it as a basis for integrating go2rtc into their project or for developing a custom web interface for go2rtc.
www/stream.html - universal viewer with support params in URL:
src=camera1&src=camera2...mode=webrtc,webrtc/tcp,mse,hls,mp4,mjpegsrc=camera1&mode=webrtc&mode=mse&mode=mp4width=320px or percents width=50%www/webrtc.html - WebRTC viewer with support two way audio and params in URL:
media=video+audio - simple viewermedia=video+audio+microphone - two way audio from cameramedia=camera+microphone - stream from browsermedia=display+speaker - stream from desktopwww/video-rtc.jswww/video-stream.jsvideo-rtc.js features:
Technology selection based on priorities:
ECMAScript 2019 (ES10) supported by iOS 12 (iPhone 5S, iPad Air, iPad Mini 2, etc.).
But ECMAScript 2017 (ES8) almost fine (es6 + async) and recommended for React+TypeScript.