mirror of
https://github.com/pion/webrtc.git
synced 2024-05-03 11:54:53 +08:00
3d9a7ede1a
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
|
|
}
|