Commit Graph

2053 Commits

Author SHA1 Message Date
Sean DuBois
ea29c92b9b Update github.com/pion/sdp/v3 to v3.0.9 2024-03-28 21:59:00 -04:00
Sean DuBois
7a8e04d5af Update github.com/pion/datachannel to v1.5.6 2024-03-28 12:33:38 -04:00
renovate[bot]
6cc1326253 Update module github.com/pion/transport/v3 to v3.0.2
Generated by renovateBot
2024-03-27 21:54:17 -04:00
Pion
9cf53af397 Update CI configs to v0.11.4
Update lint scripts and CI configs.
2024-03-27 15:10:29 -04:00
Rob Elsner
c47f89065c SampleBuilder: Port to use jitter buffer v4.0.0-beta.14 2024-03-25 21:42:30 -04:00
renovate[bot]
cd73129ac3 Update module github.com/pion/interceptor to v0.1.27
Generated by renovateBot
2024-03-25 18:55:43 +00:00
sukun
835ac3b08e Drop reference to detached datachannels
This allows users of detached datachannels to garbage collect
resources associated with the datachannel and the sctp stream.
There is no functional change here.
2024-03-24 22:21:35 -04:00
Stephan Rotolante
a8c02b0879 Add examples/whip-whep
Create WHIP/WHEP example works with OBS or browser

Resolves #2499
2024-03-24 20:24:32 -04:00
Sean DuBois
836184c2c1 Update module github.com/pion/rtp to v1.8.4 2024-03-18 14:18:17 -04:00
Sean DuBois
5d7c2bf74f Remove unused member in SCTPTransport
RTOMax wasn't actually being stored, is being pulled directly from
SettingEngine
2024-03-18 13:14:44 -04:00
Andrei Nistor
313ca8c314 Refactor NewPeerConnection
Skip registering the default codecs and interceptors in
NewPeerConnection.
The NewAPI() function already registers them by default  (since #2630)
2024-03-18 09:45:45 -04:00
Benny Daon
fb82fff2bc Add SetSCTPRTOMax to SettingEngine
Allows the user to cap the retranmission timeout, this change adds
RTOMax to SettingEngine and pass it on when creating the SCTP Assocation
2024-03-18 09:40:55 -04:00
Sean DuBois
1dbcf67844 Put SCTP Zero Checksum behind SettingEngine
Old versions of Pion break against it
2024-03-18 09:33:27 -04:00
Michael Klingbeil
6deb47d3bf Properly update metadata when PayloadType is 0
In the case where a remote track is sending PCMU with payload type 0
checkAndUpdateTrack will fail to update the track codec and params
(because t.PayloadType() is already 0). Add an extra check to handle
this case.
2024-03-16 23:05:14 -04:00
renovate[bot]
8b3796f91d Update module github.com/pion/rtcp to v1.2.14
Generated by renovateBot
2024-03-16 21:29:59 -04:00
pengqiseven
94ac7794eb Fix gramatical errors in comments
Removes repetitive words
2024-03-16 21:15:04 -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
renovate[bot]
936c6e6dab Update module golang.org/x/net to v0.22.0
Generated by renovateBot
2024-03-14 14:30:52 +09:00
Atsushi Watanabe
34f44c978e SampleBuilder: Remove WithPartitionHeadChecker
Deprecated by https://github.com/pion/webrtc/pull/1928

BREAKING CHANGE: samplebuilder.WithPartitionHeadChecker
                 option is removed.
2024-03-14 11:22:43 +09:00
Atsushi Watanabe
c43183890f SampleBuilder: Remove PopWithTimestamp
Use Sample.PacketTimestamp field instead.

Migration example:
- sample, timestamp := s.PopWithTimestamp()
+ sample := s.Pop()
+ timestamp := sample.PacketTimestamp

BREAKING CHANGE: SampleBuilder.PopWithTimestamp method is removed
2024-03-14 11:22:43 +09:00
Atsushi Watanabe
3f6d94a4fc SampleBuilder: Add option to return RTPHeaders
Replaces fa1f5d91 which returned only a head packet's header.
When the option WithRTPHeaders is set, SampleBuilder returns
RTP headers of the packets forming the sample as Sample.RTPHeaders.
v4.0.0-beta.13
2024-03-07 12:46:52 +09:00
Sean DuBois
6190b2df6c Update module github.com/pion/sdp to v3.0.8 v4.0.0-beta.12 2024-03-06 22:25:19 -05:00
Rob Deutsch
45e3746e5d Update README.md
Explicitly mentions v4 in Usage
2024-03-02 10:01:52 -08:00
Atsushi Watanabe
09a4f60c4a SampleBuilder: Add Flush method
Flush marks all valid samples in the buffer to be popped.
Useful for graceful shutdown without losing buffered data
as much as possible.
v4.0.0-beta.11
2024-02-28 10:32:32 -05:00
Atsushi Watanabe
fa1f5d913d SampleBuilder: Return header of sample head packet
To get RTP extension data associated with the sample.
v4.0.0-beta.10
2024-02-28 14:52:20 +09:00
aggresss
dbf22543fe Fix interceptor.RTCPReaderFunc typo v4.0.0-beta.9 2024-02-10 21:16:12 -05:00
Sean DuBois
fc6f9a2ec8 Enable SCTP Zero Checksum
Available in github.com/pion/sctp@v1.8.12
2024-02-09 14:38:24 -05:00
renovate[bot]
ae6ebc8c69 Update module github.com/pion/sctp to v1.8.12
Generated by renovateBot
2024-02-09 19:31:07 +00:00
Sean DuBois
ee25d785d3 Update module github.com/pion/sctp to v1.8.11 v4.0.0-beta.8 2024-02-08 19:59:30 -05:00
renovate[bot]
384d7d872c Update golang Docker tag to v1.22
Generated by renovateBot
2024-02-08 13:52:21 +00:00
Eric Daniels
688433445b Update ice to v3.0.3 for mdns fix 2024-02-08 08:36:52 -05:00
cnderrauber
2407bf2ed2 Refine rtx support
Always handle header extensions from packet read
from interceptor, let interceptor has consistent
chance to process headers

Fix rtx is not negotiated when there is multiple
codecs has same mime but different profile (H264)

Fix rtx stream info missed when SSRC group attr
shows after base track's ssrc attr.
2024-02-05 22:48:24 +08:00
renovate[bot]
0f7dd0fc5e Update module github.com/pion/sctp to v1.8.10
Generated by renovateBot
2024-02-02 22:04:01 -05:00
renovate[bot]
b8cd4538ea Update module github.com/pion/dtls/v2 to v2.2.10
Generated by renovateBot
2024-02-02 21:24:14 -05:00
renovate[bot]
8106c254dc Update module golang.org/x/net to v0.20.0
Generated by renovateBot
2024-02-02 21:21:34 -05:00
Dawei Feng
906f20c41d Add MaxBindingRequests to SettingEngine 2024-02-02 21:14:02 -05:00
Pion
ca0b939422 Update CI configs to v0.11.3
Update lint scripts and CI configs.
2024-02-02 11:07:52 -05:00
cnderrauber
dae5e8e1a0 Skip padding packet for simulcast probe
Skip padding packet for simulcast probe
Fix rtx attributes panic for nil map
2024-02-01 22:57:05 -08:00
Pion
c259e89eb5 Update CI configs to v0.11.0
Update lint scripts and CI configs.
2024-01-02 14:57:37 -05:00
cnderrauber
ee9717e95b Answer to paused simucalst stream correctly
Answer to paused simucalst stream correctly
2023-12-12 15:10:12 +08:00
Andrei Nistor
21c5a711d8 NewAPI: register default codecs and interceptors 2023-12-11 13:12:25 -05:00
renovate[bot]
2fcd8a195b Update module golang.org/x/net to v0.19.0
Generated by renovateBot
2023-12-10 00:03:24 +00:00
renovate[bot]
aeaa3d6850 Update module github.com/pion/rtcp to v1.2.13
Generated by renovateBot
2023-12-09 21:44:12 +00:00
Sean DuBois
a1105fa60c Remove 'Generate Authors' workflow
pion/.goassets#185
2023-12-09 13:55:32 -05:00
Benjamin Pracht
eed2bb2d3b ReplaceTrack resets all track encodings
This PR addresses an issue where calling RTPSender.ReplaceTrack with
a nil parameter on a sender with more than 1 encoding (simulcast) would
only cause the 1st encoding to be unbound, breaking common publisher
reconnection workflows with simulcast enabled.
2023-11-15 18:55:05 -08:00
renovate[bot]
a183f6cb72 Update module github.com/pion/dtls/v2 to v2.2.8
Generated by renovateBot
2023-11-15 11:26:30 +00:00
renovate[bot]
c91648bfe0 Update module github.com/pion/srtp/v3 to v3.0.1
Generated by renovateBot
v4.0.0-beta.7
2023-11-09 22:23:33 -05:00
renovate[bot]
493a003488 Update actions/setup-node action to v4
Generated by renovateBot
2023-11-09 14:09:24 -05:00
renovate[bot]
c37edf6cbf Update module github.com/pion/rtp to v1.8.3
Generated by renovateBot
2023-11-09 13:49:59 -05:00
renovate[bot]
07ef2fba49 Update module github.com/pion/rtcp to v1.2.11
Generated by renovateBot
2023-11-09 13:39:55 -05:00