Go rtp-h264 Packet Analysis

Source: Internet
Author: User

RTP (H264) First package (single NAL unit mode) ————-SPS

    80{v=10,p=0,x=0,cc=0000}60{m=0,pt=110 0000}5370{Sequence Number}9A FC AF27{timestamp}69 25 77  {ssrc} 67 4 d 40 33  54 0c 04 B4 20 00 00 03 00  00 00 0 c D1 E3 06 54 (SPS H264)   

RTP (H264) second package (single NAL unit mode) ——— PPS

    80 {V=10,p=0,x=0,cc=0000}    60 {m=0,pt=110 0000}    53 71{sequence number} 9A FC AF 27 {timestamp} 69 25 77 65 {ssrc} 68 EE 3C 80 {pps H264}

RTP (H264) 3rd packet (fu-a) ———— data

    80 {v=10,p=0,x=0,Cc=0000}60 {m=0,pt=1100000 ((H264 RTP TYPE) &0x7f)}53Sequence {Number}9A FC AF{timestamp}692577$ {SSRC} {H264 RTP TYPE:60 (decimal:)-----01100000} {H264 FRAME TYPE:-----01000001}5C {f=0,Nri=10,type=1 1100 (decimal: 28)}---RTP shard 81 {s= 1 (First shard), e=0,r=0,type=0 0001 ( Span class= "Hljs-number" >0x41&0x1f)} 9A A5 4b 24 FF ... F3 6b B5 0c DF 48 24 92 A6 CE 0a       

RTP (H264) 4th packet (FU-A) ———— data

    80 {v=10,p=0,x=0,Cc=0000}60 {m=0,pt=1100000}53Sequence Number}9A FC AF{timestamp}692577$ {SSRC}5C {f=0,NRI= 10,type=1 1100 (decimal: 28)}---RTP shard 01 {s=0 (non-start shard), e= 0,r=0, type=0 0001 ( 0x41&0x1f)} 80 29 2f  15 ... F5 4f 46         

RTP (H264) 4th packet (FU-A) ———— data

    80 {v=10,p=0,x=0,Cc=0000} E0 {m=1 (Mark stream important events),pt=1100000} (The last piece of data after the Shardm=1)53Sequence {Number}9A FC AF{timestamp}692577 65 {ssrc} 5c {f=0,nri=10,< Span class= "hljs-variable" >type=1 1100 (decimal: 28)} ---RTP shard 41 {s=0,e=1 (Last Shard), r=0,< Span class= "hljs-variable" >type=0 0001 ( 0x41&0x1f)} BF 8d EA 77 ... Be                 

RTP (H264) nth packet (FU-A) ———— data

    80 {v=10,p=0,x=0,Cc=0000}60 {m=0,pt=1100000}538C {Sequence Number}9A FD2 b3 B {Timestamp}692577$ {SSRC}7C {(f=0,Nri=11) (0x65&0xe0), type=1 1100 (decimal: 28)}---RTP shards 85 {s=1, e=0,r= 0,type=0 0001 (0x65&0x1f)} 88 80 00 18 18 00 ... 4b 28           

RTP (H264) M-Pack ((single NAL unit mode)-) ———— data

    80{v=10,p=0,x=0,cc=0000} E0{M=1 (Tag stream important event), pt=110 0000} (The last piece of data after the Shard m=1) 54 8f { Sequence number} 9b 01 B1 4d {timestamp} 69 25 Span class= "Hljs-number" >77 65 {ssrc}  9a 89 13 25 FF 00 06 ... 8e 56 3B 60              

(GO) rtp-h264 packet analysis

Related Article

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.