FMUSER Wirless Transmit Video And Audio More Easier !

[email protected] WhatsApp +8618078869184
Language

    RTP/RTCP、TCP、UDP、RTMP、RTSP(2)

     

    5, RTSP protocol

    Reference document RFC2326
    The Real Time Streaming Protocol (Real Time Streaming Protocol) is a multimedia streaming protocol used to control sound or video, and allows simultaneous multiple streaming demand control. The network communication protocol used during transmission is not within its defined range. The server side You can choose to use TCP or UDP to transmit streaming content. Its syntax and operation are similar to HTTP 1.1, but time synchronization is not particularly emphasized, so it can tolerate network delays. The aforementioned multi-streaming demand control (Multicast) mentioned earlier can not only reduce the network usage on the server side, but also support multi-party video conferences (Video Conference). Because it works similarly to HTTP1.1, the cache function "Cache" of the proxy server "Proxy" is also applicable to RTSP, and because RTSP has a redirection function, the server that provides the service can be switched according to the actual load situation to Avoid excessive load concentrated on the same server and cause delay.

       was jointly proposed by Real Networks and Netscape. The protocol defines how one-to-many applications can effectively transmit multimedia data through an IP network. RTSP provides an extensible framework that makes it possible to control and on-demand real-time data, such as audio and video. Data sources include live data and data stored in clips.
    The purpose of this protocol is to control multiple data transmission connections, to provide a way to select transmission channels, such as UDP, multicast UDP and TCP, and to provide methods for selecting a transmission mechanism based on RTP.

     

     

    The relationship between RTSP and RTP

     

    RTP: Real-time Transport Protocol

      RTP/RTCP is the actual data transmission protocol;

    RTP transmits audio/video data. If it is PLAY, the server sends it to the client. If it is RECORD, it can be sent to the server by the client. The entire RTP protocol consists of two closely related parts: RTP data protocol and RTP control protocol (ie RTCP) ;

       RTCP: RTCP includes Sender Report and Receiver Report, used for audio/video synchronization and other purposes, and is a control protocol;

     

    RTSP: Real Time Streaming Protocol (RTSP)

      RTSP requests mainly include DESCRIBE, SETUP, PLAY, PAUSE, TEARDOWN, OPTIONS, etc., as the name implies, it can be known as a dialogue and control function;

       During the RTSP conversation, SETUP can determine the port used by RTP/RTCP, PLAY/PAUSE/TEARDOWN can start or stop the sending of RTP, etc.;

     

     

    6. TCP and UDP protocol

     

    TCP protocol

     

       TCP, the full name is Transfer Control Protocol, and the Chinese name is Transmission Control Protocol. It works on the OSI transport layer and provides connection-oriented reliable transmission services.

       TCP's work is mainly to establish a connection, and then receive data from the application layer program and transmit. TCP uses virtual circuit connection to work. Before sending data, it needs to establish a connection between the sender and the receiver. After the data is sent, the sender will wait for the receiver to give a confirmatory response, otherwise the sender will think This data is lost, and resend this data.

    RTP is not like http and ftp that can download the entire movie file completely. It sends data on the network at a fixed data rate. The client also watches the movie file at this speed. After the movie screen is played, it cannot be played repeatedly. , Unless you request data from the server again.

       The biggest difference between RTSP and RTP is that: RTSP is a two-way real-time data transmission protocol, which allows the client to send requests to the server, such as playback, fast forward, and reverse operations.

       Of course, RTSP can transmit data based on RTP, and can also choose TCP, UDP, multicast UDP and other channels to send data, which has good scalability.
    It is a network application layer protocol similar to the http protocol.

     

    Source port: the port of the sender is specified

    Destination port: the port number of the receiving end is specified

    Sequence number: indicates the position of the segment in the sequence of segments to be transmitted

    Confirmation number: specifies the sequence number of the successfully received segment, the confirmation sequence number contains the next sequence number that the end sending the confirmation expects to receive

    TCP offset: specifies the length of the segment header. The length of the section header depends on the option set in the section header option field

    Reserved: A reserved field is designated for future use

    Signs: SYN, ACK, PSH, RST, URG, FIN

          SYN: means synchronization

          ACK: means confirmation

          PSH: Indicates that the data will be sent to the receiving process as soon as possible

          RST: Indicates reset connection

          URG: Indicates emergency pointer

          FIN: Indicates that the sender has completed the data transmission

    Window: Specify the command about the size of the next segment that the sender can transmit

    Checksum: The checksum contains the TCP segment header and data part, used to verify the reliability of the segment header and data part

    Emergency: indicates that the segment contains emergency information, and the emergency pointer is valid only when the U R G flag is set to 1.

    Options: The recognized segment size, timestamp, the end of the option field are specified, and the boundary option of the option field is specified

     

     

    How TCP works

    TCP connection establishment: The TCP connection establishment process is also called TCP three-way handshake. First, the sender host initiates a synchronization (SYN) request to establish a connection to the receiver host; the receiver host replies with a synchronization/acknowledgement (SYN/ACK) response to the sender host after receiving this request; the sender host receives this After the packet is sent an acknowledgment (ACK) to the receiver host, at this time the TCP connection is successfully established;

     

    TCP connection closure: After the sender host and the destination host establish a TCP connection and complete the data transmission, a data packet with the end flag set to 1 will be sent to close the TCP connection and release the buffer space occupied by the connection at the same time; TCP reset Setting: TCP allows the connection to be interrupted suddenly during transmission, which is called TCP reset;

     

    TCP data sorting and confirmation: TCP is a reliable transmission protocol. It uses sequence numbers and confirmation numbers to track the data reception during transmission;

     

    TCP retransmission: In the process of TCP transmission, if the receiver host does not receive an acknowledgement response to a data packet within the retransmission timeout period, the sender host considers the data packet lost and sends the data packet to the receiver again Side, this is called TCP retransmission;

     

    TCP delay confirmation: TCP does not always confirm the data immediately after receiving it. It allows the host to send its own confirmation message to the other party while receiving the data.

     

    TCP data protection (checksum): TCP is a reliable transmission protocol, which provides checksum calculation to realize the integrity of data during transmission.

     

     

    UDP protocol

       UDP protocol is the abbreviation of English UserDatagramProtocol, that is, user datagram protocol, which is mainly used to support network applications that need to transmit data between computers. Numerous client/server network applications including network video conferencing systems need to use the UDP protocol. The UDP protocol has been used for many years since its inception. Although its initial brilliance has been obscured by some similar protocols, even today, UDP is still a very practical and feasible network transport layer protocol.


       Like the well-known TCP (Transmission Control Protocol) protocol, the UDP protocol is located directly on top of the IP (Internet Protocol) protocol. According to the OSI (Open System Interconnection) reference model, UDP and TCP are both transport layer protocols.


       The main function of the UDP protocol is to compress network data traffic into the form of datagrams. A typical datagram is a transmission unit of binary data. The first 8 bytes of each datagram are used to contain header information, and the remaining bytes are used to contain specific transmission data.

     

     

    7. RTP/RTCP, RTMP, TCP, UDP protocol comparison

       TCP is a point-to-point protocol, which means that each client needs to separate the client/server link, so data broadcasting to multiple clients cannot be realized at the network level. If a data stream must be transmitted to multiple clients at the same time, the server must transmit a copy of the data stream to each client. TCP can dynamically adjust the transmission speed according to the network bandwidth and the degree of congestion and resend the lost data packets. The reliability of data transmission is ensured, but server resources are expensive, and it is difficult to ensure the real-time performance of data stream transmission when the data stream is large.

     

            UDP is an unreliable transmission protocol. At the sending end, the speed at which UDP transmits data is only limited by the speed at which the application generates data, the computer's capacity and transmission bandwidth; at the receiving end, UDP puts each message segment in a queue. The application reads a message segment from the queue each time; the UDP protocol does not need to maintain the connection state, and does not think that every data packet must reach the receiving end, so the network load is smaller than TCP, and the transmission speed is faster than TCP; The more congested the network, the more data packets are lost.

     

       The main difference between UDP and TCP protocol is how to achieve reliable transmission of information. The TCP protocol contains a special delivery guarantee mechanism. When the data receiver receives the information from the sender, it will automatically send a confirmation message to the sender; the sender will continue to transmit other information only after receiving the confirmation message. Otherwise, it will wait until the confirmation message is received.

     

       So TCP has more time to establish a connection than UDP. Compared with UDP, TCP has higher security and reliability. The size of TCP protocol transmission is not limited. Once the connection is established, both parties can transmit a large amount of data in a certain format, while UDP is an unreliable protocol with a size limit, which cannot exceed 64K each time.

     

       Compared with the TCP protocol, another difference of the UDP protocol is how to receive multiple datagrams that are unexpected. Unlike TCP, UDP does not guarantee the order of sending and receiving data.

     

    RTP is above UDP. Although UDP is not as reliable as TCP and cannot guarantee the service quality of real-time services, RTCP needs to monitor data transmission and service quality in real time. However, because the transmission delay of UDP is lower than that of TCP, it can be very compatible with video and audio. Good match. Therefore, in practical applications, RTP/RTCP/UDP is used for audio/video media, and TCP is used for the transmission of data and control signaling.

     

    The RTMP protocol is a protocol designed specifically for the efficient transmission of video, audio and data. It realizes real-time video and sound transmission by establishing a binary TCP connection or connecting an HTTP tunnel.

     

      RTMP supports more media protocols than traditional media servers. It supports the dynamic transmission of multiple lines that may contain audio, video, and script data from the server to the client and from the client to the server. RTMP processes audio, video, and script data separately.

     

      Sound and video data are buffered separately in the server. If the sound data reaches a certain limit in the sound buffer, all data in the buffer will be discarded, and the most recently arrived data will be allowed to start collecting in the buffer and sent to each client. Video data is processed in a similar way, the difference is that when a new key frame arrives, the data in the buffer is cleared. When discarding the old frame data, if it is found that the data of the client is wrong, the new and old frames are fitted.

     

      RTMP gives different priority levels to data. In real-time conversation, sound is the most important, video is given low priority, and script data is given a priority between sound and video.

     

       The RTMP protocol can create multiple data streams, but each data stream can only have one direction. Using RTMP can build such a system, the client can interact with the RTMP server and the application server at the same time, so that the load on the server can be dispersed, although in this improved system structure, the performance requirements of the RTMP server are relatively high.

     

     

    8. Other agreements

       HTTP protocol, the full name is HyperText Transfer Protocol, and the Chinese name is HyperText Transfer Protocol;

      MMS protocol, the full name is Microsoft Media Server Protocol, and the Chinese name is Microsoft Media Server Protocol;

       HLS protocol, full name HTTP Live Streaming, is a streaming media transmission protocol based on HTTP implemented by Apple Inc.;

     

     

     

     

     

     

    How far(long) the transmitter cover?

    The transmission range depends on many factors. The true distance is based on the antenna installing height , antenna gain, using environment like building and other obstructions , sensitivity of the receiver, antenna of the receiver . Installing antenna more high and using in the countryside , the distance will much more far.

    EXAMPLE 5W FM Transmitter use in the city and hometown:

    I have a USA customer use 5W fm transmitter with GP antenna in his hometown ,and he test it with a car, it cover 10km(6.21mile).

    I test the 5W fm transmitter with GP antenna in my hometown ,it cover about 2km(1.24mile).

    I test the 5W fm transmitter with GP antenna in Guangzhou city ,it cover about only 300meter(984ft).

    Below are the approximate range of different power FM Transmitters. ( The range is diameter )

    0.1W ~ 5W FM Transmitter :100M ~1KM

    5W ~15W FM Ttransmitter : 1KM ~ 3KM

    15W ~ 80W FM Transmitter : 3KM ~10KM

    80W ~500W FM Transmitter : 10KM ~30KM

    500W ~1000W FM Transmitter : 30KM ~ 50KM

    1KW ~ 2KW FM Transmitter : 50KM ~100KM

    2KW ~5KW FM Transmitter : 100KM ~150KM

    5KW ~10KW FM Transmitter : 150KM ~200KM

    How to contact us for the transmitter?

    Call me +8618078869184 OR
    Email me [email protected]
    1.How far you want to cover in diameter ?
    2.How tall of you tower ?
    3.Where are you from ?
    And we will give you more professional advice.

    About Us

    FMUSER.ORG is a system integration company focusing on RF wireless transmission / studio video audio equipment / streaming and data processing .We are providing everything from advice and consultancy through rack integration to installation, commissioning and training.
     
    We offer FM Transmitter, Analog TV Transmitter, Digital TV transmitter, VHF UHF Transmitter, Antennas, Coaxial Cable Connectors, STL, On Air Processing, Broadcast Products for the Studio, RF Signal Monitoring, RDS Encoders, Audio Processors and Remote Site Control Units, IPTV Products, Video / Audio Encoder / Decoder, designed to meet the needs of both large international broadcast networks and small private stations alike.
     
    Our solution has FM Radio Station / Analog TV Station / Digital TV Station / Audio Video Studio Equipment / Studio Transmitter Link / Transmitter Telemetry System / Hotel TV System / IPTV Live Broadcasting / Streaming Live Broadcast / Video Conference / CATV Broadcasting system.
     
    We are using advanced technology products for all the systems, because we know the high reliability and high performance are so important for the system and solution . At the same time we also have to make sure our products system with a very reasonable price.
     
    We have customers of public and commercial broadcasters, telecom operators and regulation authorities , and we also offer solution and products to many hundreds of smaller, local and community broadcasters .
     
    FMUSER.ORG has been exporting more than 15 years and have clients all over the world. With 13 years experience in this field ,we have a professional team to solve customer's all kinds of problems. We dedicated in supplying the extremely reasonable pricing of professional products & services.
    Contact email : [email protected]

    Our Factory

    We have modernization of the factory . You are welcome to visit our factory when you come to China.

    At present , there are already 1095 customers around the world visited our Guangzhou Tianhe office . If you come to China , you are welcome to visit us .

    At Fair

    This is our participation in 2012 Global Sources Hong Kong Electronics Fair . Customers from all over the world finally have a chance to get together.

    Where is Fmuser ?

    You can search this numbers " 23.127460034623816,113.33224654197693 " in google map , then you can find our fmuser office .

    FMUSER Guangzhou office is in Tianhe District which is the center of the Canton . Very near to the Canton Fair , guangzhou railway station, xiaobei road and dashatou , only need 10 minutes if take TAXI . Welcome friends around the world to visit and negotiate .

    Contact: Sky Blue
    Cellphone: +8618078869184
    WhatsApp: +8618078869184
    Wechat: +8618078869184
    E-mail: [email protected]
    QQ: 727926717
    Skype: sky198710021
    Address: No.305 Room HuiLan Building No.273 Huanpu Road Guangzhou China Zip:510620

    English: We accept all payments , such as PayPal, Credit Card, Western Union, Alipay, Money Bookers, T/T, LC, DP, DA, OA, Payoneer, If you have any question , please contact me [email protected] or WhatsApp +8618078869184

    • PayPal.  www.paypal.com

      We recommend you use Paypal to buy our items ,The Paypal is a secure way to buy on internet .

      Every of our item list page bottom on top have a paypal logo to pay.

      Credit Card.If you do not have paypal,but you have credit card,you also can click the Yellow PayPal button to pay with your credit card.

      ---------------------------------------------------------------------

      But if you have not a credit card and not have a paypal account or difficult to got a paypal accout ,You can use the following:

      Western Union.  www.westernunion.com

       

      Pay by Western Union to me :

      First name/Given name: Yingfeng
      Last name/Surname/ Family name: Zhang
      Full name: Yingfeng Zhang
      Country: China
      City: Guangzhou 

      ---------------------------------------------------------------------

      T/T .  Pay by T/T (wire transfer/ Telegraphic Transfer/ Bank Transfer)
       
      First BANK INFORMATION (COMPANY ACCOUNT):
      SWIFT BIC: BKCHHKHHXXX
      Bank name: BANK OF CHINA (HONG KONG) LIMITED, HONG KONG
      Bank Address: BANK OF CHINA TOWER, 1 GARDEN ROAD, CENTRAL, HONG KONG
      BANK CODE: 012
      Account Name : FMUSER INTERNATIONAL GROUP LIMITED
      Account NO. : 012-676-2-007855-0
      ---------------------------------------------------------------------
      Second BANK INFORMATION (COMPANY ACCOUNT):
      Beneficiary: Fmuser International Group Inc
      Account Number: 44050158090900000337
      Beneficiary's Bank: China Construction Bank Guangdong Branch
      SWIFT Code: PCBCCNBJGDX
      Address: NO.553 Tianhe Road, Guangzhou, Guangdong,Tianhe District, China
      **Note: When you transfer money to our bank account, please DO NOT write anything in the remark area, otherwise we won't be able to receive the payment due to government policy on international trade business.

    * It will be sent in 1-2 working days when payment clear.

    * We will send it to your paypal address. If you want to change address, please send your correct address and phone number to my email [email protected]

    * If the packages is below 2kg,we will be shipped via post airmail, it will take about 15-25days to your hand.

    If the package is more than 2kg,we will ship via EMS , DHL , UPS, Fedex fast express delivery,it will take about 7~15days to your hand.

    If the package more than 100kg , we will send via DHL or air freight. It will take about 3~7days to your hand.

    All the packages are form China guangzhou.

    * Package will be sent as a "gift" and declear as less as possible,buyer don't need to pay for "TAX".

    * After ship, we will send you an E-mail and give you the tracking number.

    For Warranty .
    Contact US--->>Return the item to us--->>Receive and send another replace .

    Name: Liu xiaoxia
    Address: 305Fang HuiLanGe HuangPuDaDaoXi 273Hao TianHeQu Guangzhou China.
    ZIP:510620
    Phone: +8618078869184

    Please return to this address and write your paypal address,name,problem on note:

    List all Question

    Nickname

    Email

    Questions

      Enter email  to get a surprise

      fmuser.org

      es.fmuser.org
      it.fmuser.org
      fr.fmuser.org
      de.fmuser.org
      af.fmuser.org ->Afrikaans
      sq.fmuser.org ->Albanian
      ar.fmuser.org ->Arabic
      hy.fmuser.org ->Armenian
      az.fmuser.org ->Azerbaijani
      eu.fmuser.org ->Basque
      be.fmuser.org ->Belarusian
      bg.fmuser.org ->Bulgarian
      ca.fmuser.org ->Catalan
      zh-CN.fmuser.org ->Chinese (Simplified)
      zh-TW.fmuser.org ->Chinese (Traditional)
      hr.fmuser.org ->Croatian
      cs.fmuser.org ->Czech
      da.fmuser.org ->Danish
      nl.fmuser.org ->Dutch
      et.fmuser.org ->Estonian
      tl.fmuser.org ->Filipino
      fi.fmuser.org ->Finnish
      fr.fmuser.org ->French
      gl.fmuser.org ->Galician
      ka.fmuser.org ->Georgian
      de.fmuser.org ->German
      el.fmuser.org ->Greek
      ht.fmuser.org ->Haitian Creole
      iw.fmuser.org ->Hebrew
      hi.fmuser.org ->Hindi
      hu.fmuser.org ->Hungarian
      is.fmuser.org ->Icelandic
      id.fmuser.org ->Indonesian
      ga.fmuser.org ->Irish
      it.fmuser.org ->Italian
      ja.fmuser.org ->Japanese
      ko.fmuser.org ->Korean
      lv.fmuser.org ->Latvian
      lt.fmuser.org ->Lithuanian
      mk.fmuser.org ->Macedonian
      ms.fmuser.org ->Malay
      mt.fmuser.org ->Maltese
      no.fmuser.org ->Norwegian
      fa.fmuser.org ->Persian
      pl.fmuser.org ->Polish
      pt.fmuser.org ->Portuguese
      ro.fmuser.org ->Romanian
      ru.fmuser.org ->Russian
      sr.fmuser.org ->Serbian
      sk.fmuser.org ->Slovak
      sl.fmuser.org ->Slovenian
      es.fmuser.org ->Spanish
      sw.fmuser.org ->Swahili
      sv.fmuser.org ->Swedish
      th.fmuser.org ->Thai
      tr.fmuser.org ->Turkish
      uk.fmuser.org ->Ukrainian
      ur.fmuser.org ->Urdu
      vi.fmuser.org ->Vietnamese
      cy.fmuser.org ->Welsh
      yi.fmuser.org ->Yiddish

       
  •  

    FMUSER Wirless Transmit Video And Audio More Easier !

  • Contact

    Address:
    No.305 Room HuiLan Building No.273 Huanpu Road Guangzhou China 510620

    E-mail:
    [email protected]

    Tel / WhatApps:
    +8618078869184

  • Categories

  • Newsletter

    FIRST OR FULL NAME

    E-mail

  • paypal solution  Western UnionBank OF China
    E-mail:[email protected]   WhatsApp:+8618078869184   Skype:sky198710021 Chat with me
    Copyright 2006-2020 Powered By www.fmuser.org

    Contact Us