mirror of
https://github.com/pion/webrtc.git
synced 2025-11-03 09:40:59 +08:00
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:
committed by
Sean DuBois
parent
d5998ae2dd
commit
38ee94e743
14
examples/rtp-forwarder/jsfiddle/demo.html
Normal file
14
examples/rtp-forwarder/jsfiddle/demo.html
Normal 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>
|
||||
Reference in New Issue
Block a user