mirror of
https://github.com/pion/webrtc.git
synced 2025-10-13 02:43:48 +08:00

RegisterHeaderExtension now allows users to enable headers depending on the type of transceiver that was created. Also expose GetParameters on RTPSender and RTPReceiver Co-authored-by: OrlandoCo <luisorlando.co@gmail.com> Resolves #1554
10 lines
258 B
Go
10 lines
258 B
Go
package webrtc
|
|
|
|
// RTPCapabilities represents the capabilities of a transceiver
|
|
//
|
|
// https://w3c.github.io/webrtc-pc/#rtcrtpcapabilities
|
|
type RTPCapabilities struct {
|
|
Codecs []RTPCodecCapability
|
|
HeaderExtensions []RTPHeaderExtensionCapability
|
|
}
|