The reprinting of jrtp is described in detail.
I have been studying RTP for several days. I will summarize it today.For the establishment of the jrtplib environment, see my previous summary. Now I will mainly talk about how to learn example under jrtplib3.71.I. sample is a simple IPv4 column that implements RTP data transmission on the local machine.1. initialization.We know that
H. A video RTP payload format1. Network Abstraction Layer Unit type (NALU)The Nalu header consists of a byte with the following syntax:+---------------+|0|1|2|3|4|5|6|7|+-+-+-+-+-+-+-+-+| F| nri| Type |+---------------+F:1 a bit.Forbidden_zero_bit. This one must be 0, as stipulated in the H.Nri:2 a bit.NAL_REF_IDC. taking 00 ~ 11, it seems to indicate the importance of this nalu, such as 00 of the Nalu decoder can discard it without affecting the play
RTP/RTCP/RTSP/SIP/SDP RelationshipRTP (real-time transport protocol, Transport layer)Real-time Transport Protocol) is a Transport layer protocol for multimedia traffic on the Internet. The RTP protocol details the standard packet format for transmitting audio and video over the Internet. RTP protocols are commonly used in streaming media systems (with the RTCP pr
Play captured h263 RTP video
1. Use ethereal/Wireshark to capture RTP data packets and select the h263 filter condition to save2. Statistics/RTP streams/streams Analysis3. Save payload select to save raw data4. Use ffplay to play ffplay-F h263 File
Play RTP audioHttp://www.ethereal.com/lists/ethereal-users/200401/m
Normally, RTSP provide streaming over UDP. By nature, UDP are a better choice as it provides robust streaming capability for media. However, it's unlikely to use UDP for streaming over the Internet.Typically, RTSP provides a UDP way to send RTP streams. Of course, UDP is often a better choice when sending streaming media.However, it is not possible to send a stream using UDP on the Internet. Some issues with UDP is the following are some problems when
Use of open-source RTP-jrtplib (2)I have been studying RTP for several days. I will summarize it today. For the establishment of the jrtplib environment, see my previous summary. Now I will mainly talk about how to learn example under jrtplib3.71. I. sample is a simple IPv4 column that implements RTP data transmission on the local machine. 1. initialization. We k
stream.
(4) The streaming media server uses the RTP/UDP protocol to transmit audio/video data to the client. Once audio/video data arrives at the client, the audio/video client program can play the output.
It should be noted that in stream transmission, two different communication protocols, RTP/udp and RTSP/tcp, are used to establish a connection with the Streaming Media Server, this is to redirect the se
1. Network abstraction layer unit type (NALU)
The NALU header consists of one byte,Its syntax is as follows:
+ --------------- +| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |+-+| F | NRI | type |+ --------------- +
F: 1 bit.Forbidden_zero_bit. The H.264 specification specifies that this digit must be 0.
NRI: 2 bits.Nal_ref_idc. 00 ~ 11. It seems to indicate this naluFor example, 00 NALU decoder can discard it without affecting image playback.
This attribute.
Type: 5 bits.Nal_unit_type. Type of the NALU unit.
is a sequence parameter set (SPS), image parameter set (PPS), enhanced information (SEI).
b. H. Video RTP payload Format
2.1. Network Abstraction Layer Unit type (NALU)
The Nalu header consists of a single byte, which is in the following format:
Description :
F:1 bit. Forbidden_zero_bit. This one must be 0 and set to 1 to indicate a syntax violation in the H.
Nri:2 bit. NAL_REF_IDC, taking 00 ~ 11, indicates the importance of this nalu, indicating t
Session. begindataaccess (); If (session. gotofirstsource () {do {rtppacket * packet; while (packet = session. getnextpacket ())! = 0) {cout
For the establishment of the jrtplib environment, I can refer to my previous summary. Now I will mainly talk about how to learn example under jrtplib3.71. I. sample is a simple IPv4 column that implements RTP data transmission on the local machine. 1. initialization. We know that
Session. begindataaccess (); If (session. gotofirstsource () {do {rtppacket * packet; while (packet = session. getnextpacket ())! = 0) {cout
For the establishment of the jrtplib environment, I can refer to my previous summary. Now I will mainly talk about how to learn example under jrtplib3.71. I. sample is a simple IPv4 column that implements RTP data transmission on the local machine. 1. initialization. We know that
set (SPS), image parameter set (PPS), and enhancement information (SEI ).
Ii. Detailed explanation of h264 RTP packets --- reprint
H.264 video RTP load format
1. Network abstraction layer unit type (NALU)
The NALU header consists of one byte. Its syntax is as follows:
+ --------------- +| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |+-+| F | NRI | type |+ --------------- +
F: 1 bit.Forbidden_zero_bit. The H.264 specific
the following data information is a sequence parameter set (SPS), image parameter set (PPS), enhanced information (SEI).
Second, H264 RTP package Detailed---reproduced
H. A video RTP payload format
1. Network Abstraction Layer Unit type (NALU)
The Nalu header consists of a byte with the following syntax:
+---------------+|0|1|2|3|4|5|6|7|+-+-+-+-+-+-+-+-+| F| nri| Type |+---------------+
F:1 a bit.Forbidd
Real-time transmission protocol (RTP) provides end-to-end transmission services with Real-Time Characteristics for data, such as interactive video audio or analog data under multicast or Unicast Network Services. Applications usually run RTP on UDP to use its multi-node and verification service. Both protocols provide the transport layer protocol function. However, RTP
RTP
The Protocol is a new protocol proposed by IETF in 1996 for real-time data transmission. The RTP protocol is composed of real-time transport protocol and real-time transport control protocol. RTP provides real-time transmission of continuous media data based on multicast or unicast networks. RTCP
The Protocol is RTP
H. rtppayload format------H. A video RTP payload format1. Network Abstraction Layer Unit type (NALU)The Nalu header consists of a byte with the following syntax:+---------------+|0|1|2|3|4|5|6|7|+-+-+-+-+-+-+-+-+| F| nri| Type |+---------------+F:1 bits (no bit).Forbidden_zero_bit. This one must be 0, as stipulated in the H.Nri:2 a bit.NAL_REF_IDC. taking 00 ~ 11, it seems to indicate the importance of this nalu, such as 00 of the Nalu decoder can dis
Turn from: http://blog.csdn.net/jwybobo2007/article/details/7054140
Network Abstraction Layer Unit type (NALU):
The Nalu header consists of a byte, and its syntax is as follows:
+---------------+|0|1|2|3|4|5|6|7|+-+-+-+-+-+-+-+-+| F| nri| Type |+---------------+
F:1 a bit.Forbidden_zero_bit. The H.264 specification stipulates that this one must be 0.
Nri:2 a bit.NAL_REF_IDC. Taking 00~11 seems to indicate the importance of this nalu, such as a 00 NALU decoder that can discard it without affecti
Last time I talked about the XMPP protocol, this encounters another protocol, RTP. xmpp:http://blog.csdn.net/shinichr/article/details/23832157
Concept:
RTP English name is real-time Stream Protocol, as the name implies a very high real-time protocol. This protocol is similar to the HTTP protocol, which is plain text to send the message, the difference is that RTP
1. Applicable
H.264 Video Transmission Mechanism
RTP is discussed earlier.
Protocol and the basic stream structure of H.264, how can we use RTP to transmit H.264 videos? An effective method is to strip each NALU from the H.264 video, add the corresponding RTP Header before each nalu, and then send packets containing the
Streaming media refers to the continuous time-based media transmitted using stream technology in the network. It features that the entire file does not need to be downloaded before playback, but is played by downloading and playing, it is the technical basis for video conferences, IP phones, and other applications. RTP is a standard protocol and Key Technology for Real-Time Streaming Media transmission. This article describes how to program Real-Time
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.