Alex Pokotilo
e60bf03293
Add padding support to TrackLocalStaticSample
...
To add padding-only samples call GeneratePadding
2024-04-10 10:03:59 -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
Andrei Nistor
21c5a711d8
NewAPI: register default codecs and interceptors
2023-12-11 13:12:25 -05:00
renovate[bot]
ea23dec2b9
Update module transport, srtp, ice and turn
...
ReplayDetector introduced a breaking change
2023-09-03 23:59:43 -04:00
Steffen Vogel
683fc837d0
Make repo REUSE compliant
2023-05-05 11:58:49 -04:00
Steffen Vogel
eafdc7742a
Use new pion/transport Net interface
...
This change adapts pion/ice to use a new interface for most network
related operations. The interface was formerly a simple struct vnet.Net
which was originally intended to facilicate testing. By replacing it
with an interface we have greater flexibility and allow users to hook
into the networking stack by providing their own implementation of
the interface.
2023-02-09 09:39:33 +01: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
8cbcb571c2
Use constants for MimeType
...
Replace VP8/H264/Opus string usage
2021-08-25 21:41:49 -04: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
David Zhao
e5c8c659ca
Improve MediaEngine codec matching
...
Implement more sophisticated matching to prefer exact
matches over partial ones.
2021-03-04 09:08:59 -08:00
Sean DuBois
9c7b365144
Use closePairNow in tests
...
Instead of explicitly closing each PeerConnection use helper.
No change in test behavior, just makes code more consistent.
2021-02-16 15:47:58 -08:00
Juliusz Chroboczek
026ffcd27c
Use a pool in Write and WriteRTP
...
This avoids one allocation for every write.
2021-02-16 15:27:25 -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
Sean DuBois
3da29b7c0c
Write/WriteRTP shouldn't block before SRTP
...
A Track shouldn't block until a PeerConnection is connected. It should
only send to PeerConnections that are fully established. v3 Track API
changed this behavior by mistake.
Related to pion/transport#116
2020-12-02 19:25:43 -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
Sean DuBois
16b313b492
Take copy of rtp.Packet in WriteRTP
...
Otherwise we will modify user input. In the future we can investigate
ways to optimize.
2020-11-29 23:39:15 -08:00
Sean DuBois
e32d766199
Improve TrackLocal error handling
...
* Return error to user when remote doesn't support codecs
* Assert that bindings are properly incremented/decremented
* Assert that a added track doesn't error even when disconnected
Relates to #1526
2020-11-27 23:07:29 -08:00