Commit Graph

7 Commits

Author SHA1 Message Date
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
Sean DuBois
fdcb1a3941 Rewrite examples to avoid onnegotiationneeded
onnegotiationneeded is broken in libwebrtc M73, so
just rewrite all examples to only set the offer once

Resolves #545
2019-03-23 13:36:06 -07:00
Sean DuBois
d9ba0533f5 Fix Codacy warnings
Run standardjs across all js files, fix all other issues by hand
2019-02-05 23:18:47 -08:00
backkem
7a527fadb3 Examples: exchange entire RTCSessionDescription
Resolves #39
2018-12-08 11:06:16 +01:00
Sean DuBois
b431455273 Add STUN to all examples 2018-08-16 14:51:57 -07:00
Sean DuBois
d9e6b8b61f Update examples to only generate SDP when candidates are done gathering 2018-08-11 13:56:28 -07:00
Sean DuBois
074e3391bf Move JSfiddle snippets to git
jsfiddle provides a way to create snippets from Github via a URL. This
way we can still provide easy demos, but get all the nice things from
having them in Git

Closes #32
2018-07-07 11:32:58 -07:00