Joe Turki
feeeebf251
Upgrade golangci-lint, more linters
...
Introduces new linters, upgrade golangci-lint to version (v1.63.4)
2025-01-18 07:16:06 -06:00
Tristan Matthews
d54f7870eb
Only send PLIs for video tracks in examples
2024-08-15 19:15:04 -04:00
Juliusz Chroboczek
f29ef99b22
Avoid leaking tickers
...
In Go 1.22 and earlier, a ticker needs to be explicitly stopped
when it's no longer useful in order to avoid a resource leak.
In Go 1.23 and later, an orphaned ticker will eventually be
garbage collected, but it's still more thrifty to stop it early.
2024-08-01 14:35:24 -04:00
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
cnderrauber
a9e88d2531
Add recvonly transceiver for simulcast video
...
Fix one of the layers can't send back video because
the transceiver is used for receiving.
2024-04-22 13:29:49 +08: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
b549c9580d
Enable Simulcast RTP Headers by default
...
Relates to #2557
2023-09-13 12:38:26 -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
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
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
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
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
Nam V. Do
4942778101
Fix typo in examples
...
retuned -> returned
2021-03-16 09:44:42 -07: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
b5fa979c08
Don't enable RID/MID Extension Headers by default
...
Chrome is failing to signaling if the remote peer offers RID/MID so
disabling by default.
Relates to pion/example-webrtc-applications#87
2021-02-09 14:01:10 -08:00
Sean DuBois
246e629d9a
Use GatheringCompletePromise in examples/simulcast
...
We need to include ICE Candidates so we get bi-directional connectivity
checks
2020-12-18 20:02:03 -08:00
tarrencev
a54b74cdb7
Update pion/interceptor for NACKs
...
Generate + Respond interceptors
2020-12-14 21:40:09 -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
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
Sean DuBois
804a12fed3
Update CI configs to v0.4.7
...
Update lint scripts and CI configs.
2020-09-30 09:06:34 -07:00
Sean DuBois
2155a7d703
Move candidate parsing to pion/ice
...
Instead of having logic in pion/webrtc and pion/sdp move all logic to
pion/ice. Users of pion/ice don't want to import these packages to use
basic pion/ice functionality.
2020-09-13 00:05:09 -07:00
Jason
6ee528d349
Add Simulcast support
...
Resolves #1016
2020-07-24 01:01:43 -07:00
Simone Gotti
570ddd0b1c
Add simulcast example
...
Add jsfiddle and documentation around using the example
2020-07-24 01:01:43 -07:00