Commit Graph

3 Commits

Author SHA1 Message Date
Sean DuBois
52249252fb Modify packets in rtp-forwarder for easier usage
rtp-forwarder.sdp hardcodes the PayloadTypes 96 and 111. Before If the
browser doesn't use those values we expect the user to update the SDP.
The example has been updated to modify the packets to make it easier on
the user.
2021-01-13 09:29:34 -08:00
Jamie Good
63112a4ed4 Use addTrack instead of addStream in examples
Logs: TypeError: pc.addStream is not a function.
Fixed js error when using safari due to deprecated
RTCPeerConnection.addStream() method.

Updated js fiddle examples to use the addTrack()
method instead.
2020-10-14 10:16:28 -07:00
Quentin Renard
38ee94e743 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
2020-03-08 12:57:00 -07:00