WebRTC RTCConfiguration中的sdp_semantics

// Configure the SDP semantics used by this PeerConnection. Note that the
// WebRTC 1.0 specification requires kUnifiedPlan semantics. The
// RtpTransceiver API is only available with kUnifiedPlan semantics.
//
// kPlanB will cause PeerConnection to create offers and answers with at
// most one audio and one video m= section with multiple RtpSenders and
// RtpReceivers specified as multiple a=ssrc lines within the section. This
// will also cause PeerConnection to ignore all but the first m= section of
// the same media type.
//
// kUnifiedPlan will cause PeerConnection to create offers and answers with
// multiple m= sections where each m= section maps to one RtpSender and one
// RtpReceiver (an RtpTransceiver), either both audio or both video. This
// will also cause PeerConnection to ignore all but the first a=ssrc lines
// that form a Plan B stream.
//
// For users who only send at most one audio and one video track, this
// choice does not matter and should be left as kDefault.
//
// For users who wish to send multiple audio/video streams and need to stay
// interoperable with legacy WebRTC implementations, specify kPlanB.
//
// For users who wish to send multiple audio/video streams and/or wish to
// use the new RtpTransceiver API, specify kUnifiedPlan.
SdpSemantics sdp_semantics = SdpSemantics::kDefault;

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • PLEASE READ THE FOLLOWING APPLE DEVELOPER PROGRAM LICENSE...
    念念不忘的阅读 13,565评论 5 6
  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi阅读 7,484评论 0 10
  • 回忆起来的时候还是很开心 。 但是现在 我们从最熟悉变成了最陌生 你有你的生活 我也有 你明明就在那里 我可以跟你...
    唐大阅读 221评论 0 0
  • 8.协助新娘上洗手间(捂脸) 因为新娘的婚纱礼服都不是很方便,所以上洗手间的时候,帮忙拖着或者抱着婚纱 9.参与彩...
    有喜婚礼阅读 190评论 0 0
  • 今天是我坚持写作的第六天,我的财富自由账户存款已经有了5000元,今天再次存入1000元,每天向账户内存入1000...
    学习与成长杜彦龙阅读 188评论 0 0