RTP and the Datagram Congestion Control Protocol DCCP

  • Slides: 15
Download presentation
RTP and the Datagram Congestion Control Protocol (DCCP) Speaker: Jia-Yu Wang Adviser: Quincy Wu

RTP and the Datagram Congestion Control Protocol (DCCP) Speaker: Jia-Yu Wang Adviser: Quincy Wu Date: 2007/12/20 1

Outline l l l l Introduction DCCP Packets Packet Formats Demo RTP over DCCP

Outline l l l l Introduction DCCP Packets Packet Formats Demo RTP over DCCP Service Codes References 2

Introduction(1/2) l l l Datagram Congestion Control Protocol (RFC 4340) CCID 2 -TCP-like Congestion

Introduction(1/2) l l l Datagram Congestion Control Protocol (RFC 4340) CCID 2 -TCP-like Congestion Control (RFC 4341) CCID 3 -TCP-Friendly Rate Control (TFRC) (RFC 4342) 3

Introduction (2/2) l l l Packet stream (TCP : a byte stream protocol) Unreliability

Introduction (2/2) l l l Packet stream (TCP : a byte stream protocol) Unreliability l DCCP will never retransmit a datagram. Packet sequence numbers Copious space for options (up to 1020 bytes) Choice of congestion control l A<->B connection l data packets sent from A->B can use CCID 2 l data packets sent from B->A can use CCID 3 4

DCCP Packets 5

DCCP Packets 5

Packet Formats(1/3) 6

Packet Formats(1/3) 6

Packet Formats(2/3) l Generic Packet Header l 12 byte->16 byte 7

Packet Formats(2/3) l Generic Packet Header l 12 byte->16 byte 7

Packet Formats(3/3) 8

Packet Formats(3/3) 8

Demo l l Linux 2. 6. 14 and later include a DCCP stack Demo

Demo l l Linux 2. 6. 14 and later include a DCCP stack Demo OS: Fedora Core 7(2. 6. 211. 3194. FC 7) Run Server program: . /server –p DCCP Run Client program: . /client –p DCCP 127. 0. 0. 1 9

RTP over DCCP(1/4) l RTP and the Datagram Congestion Control Protocol (DCCP) (draft-ietf-dccp-rtp-07. txt

RTP over DCCP(1/4) l RTP and the Datagram Congestion Control Protocol (DCCP) (draft-ietf-dccp-rtp-07. txt ) l l l Internet-Draft June 20, 2007 RTP over DCCP: Signalling using SDP 10

RTP over DCCP(2/4) l Session Description Protocol (SDP) 11

RTP over DCCP(2/4) l Session Description Protocol (SDP) 11

RTP over DCCP(3/4) l Signalling using SDP(INVITE) v=0 o=alice 1129377363 1 IN IP 4

RTP over DCCP(3/4) l Signalling using SDP(INVITE) v=0 o=alice 1129377363 1 IN IP 4 192. 0. 2. 47 s=c=IN IP 4 192. 0. 2. 47 t=0 0 m=video 5004 DCCP/RTP/AVP 99 a=rtcp-mux a=rtpmap: 99 h 261/90000 a=dccp-service-code: SC=x 52545056 a=setup: passive a=connection: new 12

RTP over DCCP(4/4) l Signalling using SDP(200 ok) v=0 o=bob 1129377364 1 IN IP

RTP over DCCP(4/4) l Signalling using SDP(200 ok) v=0 o=bob 1129377364 1 IN IP 4 192. 0. 2. 128 s=c=IN IP 4 192. 0. 2. 128 t=0 0 m=video 9 DCCP/RTP/AVP 99 a=rtcp-mux a=rtpmap: 99 h 261/90000 a=dccp-service-code: SC: RTPV a=setup: active a=connection: new 13

Service Codes l l l SC=x 52545041 SC=x 52545056 SC=x 52545054 SC=x 5254504 f

Service Codes l l l SC=x 52545041 SC=x 52545056 SC=x 52545054 SC=x 5254504 f media type) SC=x 52544350 (RTCP) RTPA RTP audio RTPV RTP video RTPT RTP text RTPO RTP (unspecified RTCP RTP control protocol 14

References l Datagram Congestion Control Protocol (DCCP) l RFC 4340 l RTP and the

References l Datagram Congestion Control Protocol (DCCP) l RFC 4340 l RTP and the Datagram Congestion Control Protocol (DCCP) l draft-ietf-dccp-rtp-07. txt 15