Sean DuBois
09461d55a6
Remove examples/internal
...
Users find it frustrating that example code doesn't work out of tree.
This makes copying the examples out of the repo easier.
Relates to #1981
2024-05-20 10:54:16 -04:00
Sean DuBois
fda6c4f836
Fix linter errors
...
golangci-lint upgrade to v1.56.2 added more checks
Relates to pion/.goassets#201
2024-03-16 21:09:38 -04:00
Sean DuBois
f66b8b6ce2
Update examples to handle going to Closed
...
Relates to #1767
2023-09-08 16:20:12 -04:00
Sean DuBois
50301ea73c
Update docs to use go install
...
`go get` is not a supported method to install binaries anymore
2023-09-05 13:17:23 -04:00
Sean DuBois
5aa5fac6ea
Remove GO111MODULE from docs
2023-09-05 11:48:14 -04:00
Sean DuBois
dc4b591c4d
Start pion/webrtc/v4
...
60eea43
is a breaking change
2023-09-05 11:48:14 -04:00
Steffen Vogel
683fc837d0
Make repo REUSE compliant
2023-05-05 11:58:49 -04:00
Sean DuBois
03c83a178c
Use new intervalpli interceptor in examples
...
Instead of manually spawning a goroutine this demonstrates how an
interceptor can be useful.
Co-authored-by: Antoine Baché <antoine@tenten.app >
2023-04-25 22:25:56 -04:00
Pion
308f8616a3
Update CI configs to v0.10.6
...
Update lint scripts and CI configs.
2023-04-08 14:24:19 -04:00
Sean DuBois
9c47fea3f2
Remove new RTCSessionDescription
pattern
...
SetRemoteDescription accepts a RTCSessionDescriptionInit so this is no
longer needed
Resolves #2324
2022-10-24 22:36:30 -04:00
Mathis Engelbart
cecdbc9980
Use a new error variable to avoid race condition
...
The error was reused by two goroutines simultaneously.
Fixes #2203
2022-05-06 12:02:43 -04:00
Pion
c1467e4871
Update CI configs to v0.7.2
...
Update lint scripts and CI configs.
2022-04-27 23:00:19 -04:00
Sean DuBois
ce533d527f
Add StandardJS workflow
...
Been running these locally only.
2022-02-05 22:20:52 -05:00
Roman Romanenko
7c8064052e
Update all examples with copySessionDescription
...
copySessionDescription adds a button to all examples that copies the
local Session Description. This makes it easier for users to copy the
values.
Resolves #2092
2022-02-05 13:41:44 -05:00
Sean DuBois
157220e800
Run gofmt
to add new build constraints
...
Also remove some 1.13 specific WASM code
2022-01-17 22:36:01 -05:00
Sean DuBois
fe447d6e56
Revert "Process RTCP Packets in OnTrack examples"
...
This is not needed. We don't perform any operations on inbound RTCP
packets. Receiver Reports and TWCC are generated by Reading RTP packets.
This reverts commit 080d7b8427
.
2021-12-29 23:39:32 -05:00
Ali Error
3440d05501
Update rtp-forwarder ffplay arguments
...
adding low_delay and framedrop flags as well as Stackoverflow
question link @Sean-Der sent on Slack
2021-12-23 22:37:32 -05:00
Sean DuBois
080d7b8427
Process RTCP Packets in OnTrack examples
...
TWCC and Receiver Reports are needed for a good default experience
2021-12-17 12:03:39 -05:00
Sean DuBois
cffa6afc34
Rollback pion/rtp to v0
...
Resolves #1908
2021-08-02 18:05:45 -04:00
Sean DuBois
a67c66a0c5
Upgrade pion/rtp to v2
...
Also updates interceptor and srtp
2021-07-29 11:18:41 -04:00
Antoine Baché
7e049ec5ec
Update examples
...
TestNonFatalRead now has an timeout.
Examples now use Mime types, instead of raw strings.
Fixes #839
2021-07-02 11:49:55 -04:00
Sean DuBois
33d953e1eb
Enable Sender and Receiver Reports by default
...
The play-from-disk examples sees the average bitrate using
Chromium 90.0.4412.3 when enabled on loopback for a 3 minute
session.
Before: 744.443
After: 3927.669
Introduced with pion/interceptor@v0.0.10
2021-02-23 22:35:15 -08:00
Sean DuBois
db9915bdae
Include Twitch/RTMP in rtp-forwarder
...
This is better then the example-webrtc-applications/twitch demo
2021-01-25 09:37:25 -08:00
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
Sean DuBois
67826b1914
Update Interceptors to use []byte based API
...
Also update test to assert Attributes get passed all the way through
Resolves pion/interceptor#14
2020-12-13 18:40:33 -08:00
Sean DuBois
9715626a0c
Revert "Read/Write RTP/RTCP packets with context"
...
This change caused a ~24% performance decrease
Relates to pion/webrtc#1564
This reverts commit 47a7a64898
.
2020-12-02 20:11:06 -08:00
Atsushi Watanabe
47a7a64898
Read/Write RTP/RTCP packets with context
...
Control cancel/timeout by context.
2020-12-01 11:08:48 +09:00
OrlandoCo
3333b65c01
Make WithMediaEngine to receive a pointer
...
These change will allow to use the MediaEngine outside Pion context
2020-11-18 10:56:29 -08:00
Pion
a737595534
Update CI configs to v0.4.15
...
Update lint scripts and CI configs.
2020-11-16 12:18:44 -08:00
Sean DuBois
7edfb701e0
New Track API
...
The Pion WebRTC API has been dramatically redesigned. The design docs
are located here [0]
You can also read the release notes [1] on how to migrate your
application.
[0] https://github.com/pion/webrtc-v3-design
[1] https://github.com/pion/webrtc/wiki/Release-WebRTC@v3.0.0
2020-11-15 09:20:47 -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
Nick Mykins
a1bbddd0d8
Improve docs around Go Modules
...
adds export `GO111MODULE=on` to examples READMEs when appropriate
2020-06-30 20:14:23 -07:00
Sean DuBois
bb3aa9717f
Move to pion/ice@v2
...
Removed support for trickle ice
Resolves #1274
2020-06-28 00:01:47 -07:00
Sean DuBois
89d7de1787
Start /v3
...
See #9 for the features we have planned, and the breaking changes that
may occur.
2020-06-25 09:45:27 -07:00
Yuki Igarashi
787b2c0a62
Update examples to use AddTransceiverFromKind
...
Move from AddTransceiver to AddTransceiverFromKind.
2020-04-05 00:14:22 +09:00
Masahiro Nakamura
31e3a1a6ac
Update how to install in example projects
...
Download instructions should contain 'v2' now.
2020-04-02 19:22:23 -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