Added examples/rtp-forwarder

Add new example that demonstrates how to take WebRTC to RTP.
Also provides instructions and pre-canned SDP so you can easily
playback in VLC and ffmpeg.

Resolves #1061
This commit is contained in:
Quentin Renard
2020-03-08 11:37:17 +01:00
committed by Sean DuBois
parent d5998ae2dd
commit 38ee94e743
10 changed files with 280 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
Browser base64 Session Description<br />
<textarea id="localSessionDescription" readonly="true"></textarea> <br />
Golang base64 Session Description<br />
<textarea id="remoteSessionDescription"></textarea> <br/>
<button onclick="window.startSession()"> Start Session </button><br />
<br />
Video<br />
<video id="video1" width="160" height="120" autoplay muted></video> <br />
Logs<br />
<div id="logs"></div>