Skip to content

Commit 1739a6b

Browse files
committed
Added support for Cryptex (RFC 9335)
This is final part of Cryptex (RFC 9335) implementation for pion/webrtc. Public API is based on WebRTC Extensions specification (W3C Editor's Draft from 19 December 2025).
1 parent 0425062 commit 1739a6b

16 files changed

Lines changed: 956 additions & 22 deletions

configuration.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,8 @@ type Configuration struct {
5252
// SDPSemantics controls the type of SDP offers accepted by and
5353
// SDP answers generated by the PeerConnection.
5454
SDPSemantics SDPSemantics `json:"sdpSemantics,omitempty"`
55+
56+
// RTPHeaderEncryptionPolicy affects whether RTP header extension encryption
57+
// (RFC 9335 Cryptex) is negotiated.
58+
RTPHeaderEncryptionPolicy RTPHeaderEncryptionPolicy `json:"rtpHeaderEncryptionPolicy,omitempty"`
5559
}

0 commit comments

Comments
 (0)