rtcp

RTCP Transmission Intreval

风流意气都作罢 提交于 2019-12-25 01:55:34
问题 can any body please explain what is the RTCP Transmission Intreval ? I read some material on internet at http://www.ietf.org/rfc/rfc3550.txt but I think I should go for basic concepts,So please if anybody knows some sites to learn this things .Please suggest. 回答1: Not sure how much you understand about RTP in general, so I'll try to get a somewhat complete answer while keeping it simple: RTP (not RTCP) is a protocol send media data, for example small fragments of audio, or small fragment of

WebRTC判断是否是rtcp包

隐身守侯 提交于 2019-12-21 07:29:06
bool RtpHeaderParser :: RTCP ( ) const { // 72 to 76 is reserved for RTP // 77 to 79 is not reserver but they are not assigned we will block them // for RTCP 200 SR == marker bit + 72 // for RTCP 204 APP == marker bit + 76 /* * RTCP * * FIR full INTRA-frame request 192 [RFC2032] supported * NACK negative acknowledgement 193 [RFC2032] * IJ Extended inter-arrival jitter report 195 [RFC-ietf-avt-rtp-toff * set-07.txt] http://tools.ietf.org/html/draft-ietf-avt-rtp-toffset-07 * SR sender report 200 [RFC3551] supported * RR receiver report 201 [RFC3551] supported * SDES source description 202

How to stream pcap file to RTP/RTCP stream?

妖精的绣舞 提交于 2019-12-09 18:24:02
问题 I have captured three different stream as pcap file with meta datas. How can I stream back to RTP/RTCP stream? 回答1: If I understand correctly, you have the pcaps, but you want to get the RTP from them? Wireshark UI You could use Wireshark's UI to easily take the RTP from the pcap via the Menu: Telephony/RTP/ then show all streams... click a stream it lists, and then 'analyize.' However, if you want to automate this, and avoid the UI... you can use tshark. I found several tutorials online and

RTP: SSRC collision detection in unicast sessions

蓝咒 提交于 2019-12-08 10:32:27
问题 From RFC 3550: If a receiver discovers that two other sources are colliding, it MAY keep the packets from one and discard the packets from the other when this can be detected by different source transport addresses or CNAMEs. The two sources are expected to resolve the collision so that the situation doesn't last. In a unicast configuration with one receiver and two senders that only communicate with receiver, how SSRC collisions may be detected by senders? One guess is that receiver should

Java RTP/RTCP library using NIO [closed]

拥有回忆 提交于 2019-12-05 02:07:41
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 9 months ago . Is there a Java RTP/RTCP library based on Java NIO or some Java NIO framework (Netty, MINA, ...)? 回答1: In Red5, we are adapting an RTP/RTSP library written using Mina. If you would like to check it out, go here: http://red5.googlecode.com/svn/java/plugins/trunk/rtspplugin/ The original library was written by

记录一下 接入大华ipc摄像机rtsp流的经历

久未见 提交于 2019-12-04 21:16:36
当时接入rtsp服务器时,我测过一些别的厂家的ipc,没有理会rtcp消息。 当对于大华的ipc 不理会rtcp不行啊,你必须建立rtcp的通讯 随便给它发点什么东西都可以,然后流就接通上来了。 不知道我这是不是个例,仅作为我这次经历的记录 来源: CSDN 作者: zhouxj0818 链接: https://blog.csdn.net/zhouxj0818/article/details/80452284

How to stream pcap file to RTP/RTCP stream?

我是研究僧i 提交于 2019-12-04 07:35:20
I have captured three different stream as pcap file with meta datas. How can I stream back to RTP/RTCP stream? If I understand correctly, you have the pcaps, but you want to get the RTP from them? Wireshark UI You could use Wireshark's UI to easily take the RTP from the pcap via the Menu: Telephony/RTP/ then show all streams... click a stream it lists, and then 'analyize.' However, if you want to automate this, and avoid the UI... you can use tshark. I found several tutorials online and used them to build a test harness that automatically rebuilds the audio/rtp on a pcap, then makes a wav and

流媒体协议介绍(rtp/rtcp/rtsp/rtmp/mms/hls)

六眼飞鱼酱① 提交于 2019-12-03 22:56:17
RTP 参考文档 RFC3550/RFC3551 Real-time Transport Protocol)是用于Internet上针对多媒体数据流的一种传输层协议。RTP协议详细说明了在互联网上传递音频和视频的标准数据包格式。RTP协议常用于流媒体系统(配合RTCP协议),视频会议和一键通(Push to Talk)系统(配合H.323或SIP),使它成为IP电话产业的技术基础。RTP协议和RTP控制协议RTCP一起使用,而且它是建立在UDP协议上的。 RTP 本身并没有提供按时发送机制或其它服务质量(QoS)保证,它依赖于低层服务去实现这一过程。 RTP 并不保证传送或防止无序传送,也不确定底层网络的可靠性。 RTP 实行有序传送, RTP 中的序列号允许接收方重组发送方的包序列,同时序列号也能用于决定适当的包位置,例如:在视频解码中,就不需要顺序解码。 RTP 由两个紧密链接部分组成: RTP ― 传送具有实时属性的数据;RTP 控制协议(RTCP) ― 监控服务质量并传送正在进行的会话参与者的相关信息。 RTCP 实时传输控制协议(Real-time Transport Control Protocol或RTP Control Protocol或简写RTCP)是实时传输协议(RTP)的一个姐妹协议。RTCP为RTP媒体流提供信道外(out-of-band)控制

RTP、RTCP和RTSP协议基础

让人想犯罪 __ 提交于 2019-12-03 22:56:05
1 RTSP概述 1.1 RTSP概念 RTSP(Real-Time Stream Protocol ) 是一种基于文本的应用层协议,在语法及一些消息参数等方面, RTSP 协议与 HTTP 协议类似。 RTSP 被用于建立的控制媒体流的传输,它为多媒体服务扮演“网络远程控制”的角色。 RTSP 本身并不用于传送媒体流数据。媒体数据的传送可通过 RTP/RTCP 等协议来完成。 1.2 基本的 RTSP 操作过程 首先,客户端连接到流服务器并发送一个 OPTIONS 命令查询服务器提供的方法收到服务器的回应后,发送 DESCRIBE 命令查询某个媒体文件的 SDP 信息。流服务器通过一个 SDP 描述来进行回应,回应信息包括流数量、媒体类型等信息。客户端分析该 SDP 描述,并为会话中的每一个流发送一个 SETUP 命令, SETUP 命令告诉服务器客户端用于接收媒体数据的端口。流媒体连接建立完成后,客户端发送一个 PLAY 命令,服务器就开始传送媒体流数据。在播放过程中客户端还可以向服务器发送 PAUSE 等其他命令控制流的播放。通信完毕,客户端可发送 TERADOWN 命令来结束流媒体会话。 1.3 RTSP与HTTP的区别 可以发现 RTSP 协议的格式与 http 协议很类似,都是基于文本的协议,语法也基本相同。但是它们并不相同,有以下主要差别: 首先,方法名称不同。

rtp协议详解/rtcp协议详解

…衆ロ難τιáo~ 提交于 2019-12-03 22:55:47
1、简介 目前,在IP网络中实现实时语音、视频通信和应用已经成为网络应用的一个主流技术和发展方向,本文详细介绍IP协议族中用于实时语音、视频数据传输的标准协议RTP( Real-time Transport Protocol)和RTCP(RTP Control Ptotocol)的主要功能。 2、RTP/RTCP协议简介 RTP 由 IETF( http://www.ietf.org/ )定义在 RFC 3550和3551中。 RTP被定义为传输音频、视频、模拟数据等实时数据的传输协议,与传统的注重的高可靠的数据传输的运输层协议相比,它更加侧重的数据传输的实时性,此协议提供的服务包括数据顺序号、时间标记、传输控制等。 RTP通常与辅助控制协议RTCP一起工作,RTP只负责实时数据的传输,RTCP负责对RTP的通信和会话进行带外管理(如流量控制、拥塞控制、会话源管理等)。 3、RTP/RTCP协议层次和封装 RTP位于传输层(通常是UDP)之上,应用程序之下,实时语音、视频数据经过模数转换和压缩编码处理后,先送给RTP封装成为RTP数据单元,RTP数据单元被封装为UDP数据报,然后再向下递交给IP封装为IP数据包。 RTP分组只包含RTP数据,而控制是由另一个配套协议RTCP提供。RTP在端口号1025到65535之间选择一个未使用的偶数UDP端口号