跳到主要内容

3.4.2. RtpSenders

3.4.2. RtpSenders

RtpSenders 允许应用程序控制如何发送 RTP 媒体。RtpSender 在概念上负责 "m=" 段描述的出站 RTP 流。这包括对附加的 MediaStreamTrack 进行编码, 发送 RTP 媒体数据包, 以及为出站 RTP 流生成/处理 RTP Control Protocol (RTP 控制协议, RTCP)。