Skip to content

Tags: pion/sdp

Tags

v3.0.16

Toggle v3.0.16's commit message
Update CI configs to v0.11.26

Update lint scripts and CI configs.

v3.0.15

Toggle v3.0.15's commit message
Add lenient parsing for incomplete origin lines

Support non-compliant SDP origin lines missing address type
or unicast address fields, commonly found in security cameras.

- Add fallback to default values when fields are missing
- Maintain RFC4566 compliance for complete origin lines
- Add comprehensive test coverage for edge cases

Fixes compatibility with Uniview and other camera manufacturers
that generate non-compliant SDP.

Handle missing AddressType/UnicastAddress fields in SDP from
IP cameras by setting RFC-compliant defaults (IP4/0.0.0.0, IP6/::).
Maintains strict error handling for unexpected failures.

Fixes compatibility with Uniview and similar cameras.

- Extract handleAddressType/handleUnicastAddress helpers

v3.0.14

Toggle v3.0.14's commit message
Added attribute cryptex

This attribute is used to negotiate encryption of RTP Header Extensions
and Contributing Sources as specified in RFC 9335.

v3.0.13

Toggle v3.0.13's commit message

Verified

This commit was signed with the committer’s verified signature.
JoeTurki Joe Turki
Revert "Error on conflicting codec values"

This reverts commit c7c57e2.

v3.0.11

Toggle v3.0.11's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Error on conflicting codec values when parsing

Resolves #198

v3.0.10

Toggle v3.0.10's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Upgrade golangci-lint, more linters (#194)

v3.0.9

Toggle v3.0.9's commit message
Add support for rtcp-fb:*

According to Chrome PSA:
https://groups.google.com/g/discuss-webrtc/c/Y_h2B-NOzW0 rtcp-fb:*
might start getting sent by chrome in M112. This was rolled back but may
land again in M114 according to maintainers.

Also, according to
https://webrtc.googlesource.com/src.git/+/8155227/#F0
Chrome may plan on sending both rtcp-fb:* and rtcp-fb:<int> variants for
some time to allow migration in downstream projects.
This change correctly parses the wildcard case to add the feedback to
all payload types found in the SDP, to maintain compatibility with Pion.

Resolves #172

v3.0.8

Toggle v3.0.8's commit message
Use a sync.Pool for Unmarshal

Attributes cause the most memory pressure. Start with caching those

Before
"""
12904 B/op         48 allocs/op
"""

After
"""
7483 B/op         34 allocs/op
"""

v3.0.7

Toggle v3.0.7's commit message
Add marshalInto to all types

This reduces the amount of allocations need to marshal
a SessionDescription

Before
'''
5000 ns/op            2064 B/op         53 allocs/op
5050 ns/op            2064 B/op         53 allocs/op
5033 ns/op            2064 B/op         53 allocs/op
5009 ns/op            2064 B/op         53 allocs/op
4991 ns/op            2064 B/op         53 allocs/op
'''

After
'''
2237 ns/op             800 B/op          7 allocs/op
2273 ns/op             800 B/op          7 allocs/op
2271 ns/op             800 B/op          7 allocs/op
2285 ns/op             800 B/op          7 allocs/op
2265 ns/op             800 B/op          7 allocs/op
'''