RTP Packaging of multimedia development---same network segment other machine SDP cannot play

Source: Internet
Author: User
Tags socket connect

(1)

(2)

(3)

-------------AUTHOR:PKF

------------------time:2015-1-6

Later discovered is that the server address of the connection is specified so that it can not play, and then with Wireshark capture a lot of UDP data came out, is not a port problem, and RTSP head problem

If it is an RTSP contract, the packet header will have a 4-byte symbol for a specific frame:

Framingheader[0] = ' $ ';
FRAMINGHEADER[1] = Streamchannelid;
FRAMINGHEADER[2] = (u_int8_t) ((packetsize&0xff00) >>8);
FRAMINGHEADER[3] = (u_int8_t) (PACKETSIZE&0XFF);

We're going to use port1234 here.

Haha, the following will solve the SDP session and RTCP and RTSP

A list of packets

1414 packets, please.

haha see 1234agent port data

Http://www.360doc.com/content/13/1021/13/1317564_323014740.shtml

HTTP://BBS.CSDN.NET/TOPICS/390921170 package mode causes Send to fail

http://www.cnblogs.com/MikeZhang/archive/2012/09/09/vlcstreamingserver20120909.html VLC RTP server grab Bag

http://www.cnblogs.com/ymy124/archive/2012/04/09/2438379.html Socket Connect

Http://www.pudn.com/downloads653/sourcecode/multimedia/ip_phone/detail2656674.html onvif

RTP Packaging of multimedia development---same network segment other machine SDP cannot play

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.