提交 4f52d2b8 authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

Producer: start a RTP extension mapping for Transport

上级 f3ffb583
......@@ -262,7 +262,7 @@ const supportedRtpCapabilities =
preferredEncrypt : false
},
{
kind : '',
kind : 'video',
uri : 'urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id',
preferredId : 5,
preferredEncrypt : false
......
......@@ -30,6 +30,17 @@ namespace RTC
std::map<uint8_t, uint8_t> headerExtensionIds;
};
public:
// RTP header extension ids that must be shared by all the Producers using
// the same Transport.
// NOTE: These ids are the original ids in the RTP packet (before the Producer
// maps them to the corresponding ids in the room).
struct HeaderExtensionsForTransport
{
uint8_t absSendTimeId{ 0 }; // 0 means no abs-send-time id.
uint8_t ridId{ 0 }; // 0 means no abs-send-time id.
};
private:
struct KnownHeaderExtensions
{
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论