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
mission-liao
40eb352909
Add SetReadDeadline to RTPSender
...
ReadDeadline is supported by RTPReceiver but not RTPSender. This
commit attempts to provide similar method for RTPSender.
If SetReadDeadine is called with:
- an empty time.Time: it will clear all previous set deadline.
- a non-empty time.Time: it will abort all pending "ReadRTCP" calls if
the specified time is up.
2021-02-04 10:16:44 +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
Juliusz Chroboczek
0dea1f91e0
Fix RTPSendParameters
...
RTPSendParameters contains an array of encodings.
RTPSender.GetParameters returns RTPSendParameters.
2020-12-05 23:02:27 -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
Sean DuBois
a218b857bd
Implement RTPSender.ReplaceTrack
...
Resolves #1020
2020-11-18 21:50:27 -08:00