SlideShare a Scribd company logo
Internet Multimedia Architecture
Jim Chou and Thinh Nguyen
February 12, 2002
Outline
Overview
Multimedia Applications
Signaling Protocols (SIP/SDP, SAP, H.323,
MGCP)
Streaming Protocols (RTP, RTSP, HTTP, etc.)
QoS (RSVP, Diff-Serv, IntServ)
Conclusions
Multimedia protocol stack
Signaling

Quality of Service

Media Transport

Reservation

H.323

SDP

RSVP

RTSP

Measurement

RTCP

SIP

H.261, MPEG
RTP

TCP

Application daemon

MGCP/Megaco

UDP

network

IPv4, IPv6
kernel

link

PPP

physical

Sonet

AAL3/4

AAL5

ATM

PPP

Ethernet

V.34
Multimedia applications
Audio
– Speech (CELP – type codecs)
– Music (MP3, WAV, WMA, Real)

Video (MPEG –1, 2, 4)
Streaming done using HTTP/TCP (MP3), or
RTP/UDP (Video).
Multimedia applications (cont.)
Wireless network
Gateway
9.6 kbps
Media server
1 Mbps

PSTN
28 kbps
Signaling protocols
VoIP predominantly uses two:
– SIP/SDP
– H.323
Session initiation protocol (SIP)
Developed in mmusic Group in IETF
– Proposed standard RFC2543, February 1999
– Work began 1995
– Part of Internet Multimedia Conferencing Suite (MBONE)

Main Functions
– Invite users to sessions
• Find the user’s current location, match with their capabilities and
preferences in order to deliver invitation
• Carry opaque session descriptions

– Modification of sessions
– Termination of sessions
SIP overview
TRIP
LDAP

PSTN gateway lookup

Address lookup

SIP
SDP

Next-Hop

DNS

SIP
SDP

RSVP
RTP
UDP

RSVP
RTP
UDP

May
trigger

Sets up
SIP components
User Agent Client (UAC)
– End systems
– Send SIP requests

User Agent Server (UAS)
– Listens for call requests
– Prompts user or executes program to determine response

User Agent
– UAC plus UAS
SIP components (cont.)
Redirect Server
– Network server - redirects users to try other server

Proxy Server
– Network server - a proxy request to another server can “fork”
request to multiple servers, creating a search tree

Registrar
– Receives registrations regarding current user locations
SIP architecture
Request
Response
columbia.edu

Media

SIP Redirect
Server

Location Service

2
3

berkeley.edu

sip.com
5

4

sip:alice@eecs.berkeley.edu
1

7

11

12
13

SIP Client

6

SIP Proxy

sales.sip.com

10

SIP Proxy
8

14

9

bob@mypc.sales.sip.com

SIP Client
(User Agent Server)
Sip architecture (cont.)
SIP state-less proxies (near core of network)
– used for re-direction

SIP state-ful proxies (near periphery of network)
– Keeps track of state of call
– Useful for billing/logging, authentication

Routing
– Registration database, external database
– TRIP
SIP architecture (cont.)
DB

On Startup, SIP UA Sends
REGISTER to Registrar

Registration Database Forms a
Dynamic Routing Database of
Users
Centralized Store is Desired for
Scalability

SQL/LDAP/?

RE
GI
ST
ER

Registration Data Provides
Addresses to Reach User

Registrar

Proxy Farm

INVITE
SIP architecture (cont.)
SIP INVITE Can Contain Phone Numbers
– sip:17325551212@domain.com
– tel:17325551212
Do Not Correspond to Users on IP Network, but PSTN Terminals
Call Must Be Routed to Gateway
Gateways Often Arranged
Through Peering
Which One to Use Based on Prefixes
(Domestic = gw1, Europe = gw2)
Route Table is Mapping From Prefixes to Next Hop IP
address/port/transport
Plus URL Rewrite Rules

tel:19735551212

sip:19735551212@
longdistance.com

1-732

regional.com

1

longdistance.com

international.com
SIP architecture (cont.)
Gateways

Inter-domain Protocol for
Gateway Route Exchange
– Completed February 2000

TRIP Supports Various Models
– Bilateral agreements
– Centralized settlements provider

Location
Server
ISP B
TRIP

End
Users
ISP A
Front
End
SIP call flow example
USER A

PROXY

PROXY

USER B

INVITE
407 Proxy Authenticate
ACK
INVITE
100 Trying

180 Ringing
200 OK
ACK

INVITE
100 Trying
180 Ringing
200 OK

ACK

INVITE
180 Ringing
200 OK

ACK

BOTH WAY RTP
BYE
200 OK

BYE
200 OK

BYE

200 OK
Session Description Protocol (SDP)
Used to specify client capabilities
Example (client can support MPEG-1 video
codec, and MP3 codecs)
Session Anouncement Protocol
(SAP)
Originated around same time as SIP
Used to announce multimedia sessions
– Announcement goes to users in a multicast group
– Announcements can contain start time of session,
duration of session, etc.
Multimedia Gateway Control Protocol
(MGCP)
Decompose gateway into a controlling signalling
component and a controlled media component.
Can be used in phones or gateways in
conjunction with SIP
H.323
May 1995 - H.323 work started
June 1996 - Decided by ITU-T
Designed for exchanging multimedia over IP
networks (4 versions of H.323)
H.323 Components
Terminals
Gatekeepers
Gateways (H.323 to H.320/H.324/POTS)
MCUs
– Multipoint Controller (MC)
– Multipoint Processor (MP)
H.323 Gatekeeper
Address Translation
– H.323 Alias to transport (IP) address based on terminal
registration
– “email-like” names possible
– “phone number like” names possible

Admission control
– Permission to complete call
– Can apply bandwidth limits
– Method to control LAN traffic
H.323 Gatekeeper (cont.)
Management of gateway
– H.320, H.324, POTS, etc.

Call Signaling
– May route calls in order to provide supplementary
services or to provide Multipoint Controller
functionality

Call Management/Reporting/Logging
H.323 Gateway
Provide world wide connectivity and
interoperability from LAN
– H.320, H.324, regular POTS telephones

Map Call Signaling (Q.931 to H.225.0)
Map Control (H.242/H.243 to H.245)
Media Mapping (FEC, multiplex, rate matching,
audio transcoding)
H.323 MCU
Media Distribution
– Unicast - send media to one terminal (centralized in
MP; traditional model)
– Multicast - send to each receiver directly
– Hybrid - some of each

Manage Ad Hoc multipoint calls
– Join, invite, control of conference modes

Multiprotocol via Gateways
H.323 protocol stack
Control

Data

Audio

Video

A/V Cntl Control
Gatekeeper

G.7xx H.26x
RTCP

H.225.0 H.245 T.120
RTP

TCP

UDP
IP

Reg,
Adm,
Status
(RAS)
H.323 protocol stack (cont.)
H.323 - System Document
H.225.0 - Call Signaling, Packetization
– Gatekeeper Registration, Admission, and Status

H.245 - Control (also used in H.324, H.310)
T.120 - Data and Conference Control
H.323 example
A Call Setup Example
a point to point call
One Gatekeeper using the Direct Call Model
H.323 example (cont.)
GK

(1) ARQ
Can I call
“Bob”?

PictureTel

PictureTel

Bill

(3) ACF
Yes, use this
IP Address

(2a) GK resolves “Bob”
to IP address through H.323
registration or external
name service
(e.g. DNS, ULS, etc..)
(2b) Admission Policy
Applied
PictureTel

Bob
H.323 example (cont.)
GK

(6) ACF
Yes

(5) ARQ
May I answer?

(4) SETUP (Create)
P
ictureTel

PictureTel

(7) ALERTING
(8) CONNECT (User answers)

Bill

PictureTel

Bob
H.323 example (cont.)

PictureTel
P
ictureTel

PictureTel

(9) H.245 connection established
Bill

- Capability Exchange
- Open Logical Channels
(audio, video)

Bob

More Related Content

PPT
H.323 protocol
PPT
H.323
PPT
H.323
PDF
MGCP Overview
PPTX
Ip telephony through h.323 standard
PDF
H.323 Video Conferencing H.323 Video Conferencing
PPTX
Presentation of H323 protocol
PDF
VoIP and multimedia networking
H.323 protocol
H.323
H.323
MGCP Overview
Ip telephony through h.323 standard
H.323 Video Conferencing H.323 Video Conferencing
Presentation of H323 protocol
VoIP and multimedia networking

What's hot (20)

PPTX
Tlc 004 - take a sip of sip
DOCX
PPT
Sip Detailed , Call flows , Architecture descriptions , SIP services , sip se...
PDF
Sip call flows all cases ccmigration
PPT
Sip technology overview
PPTX
Session Initiation Protocol
PPT
SIP for geeks
PPTX
SIP security in IP telephony
PPT
Download
DOCX
Ports and protocols
PPTX
SIP - Introduction to SIP Protocol
PPT
MM2001-Presentation.ppt
PPTX
IMS ENUM and DNS Mechanism
ODP
Function Of The Epabx System
PPTX
Session Initiation Protocol (SIP)– Via Header Detailed Coverage
PPTX
Electronics private automatic branch exchange
PDF
SIP (Session Initiation Protocol)
PDF
Demystifying Multimedia Conferencing Over the Internet Using ...
PDF
Indroduction to SIP
PDF
volte call flow - SIP IMS Call Flow - MO and MT Call - Volte Mobile originati...
Tlc 004 - take a sip of sip
Sip Detailed , Call flows , Architecture descriptions , SIP services , sip se...
Sip call flows all cases ccmigration
Sip technology overview
Session Initiation Protocol
SIP for geeks
SIP security in IP telephony
Download
Ports and protocols
SIP - Introduction to SIP Protocol
MM2001-Presentation.ppt
IMS ENUM and DNS Mechanism
Function Of The Epabx System
Session Initiation Protocol (SIP)– Via Header Detailed Coverage
Electronics private automatic branch exchange
SIP (Session Initiation Protocol)
Demystifying Multimedia Conferencing Over the Internet Using ...
Indroduction to SIP
volte call flow - SIP IMS Call Flow - MO and MT Call - Volte Mobile originati...
Ad

Similar to Internet multimedia (20)

PDF
VoIP
PPT
Packet-to-Packet Applications
PPT
Surf Communication Solutions - Packet To Packet Apps
PPT
Building Voice
PPT
Surf Communication Solutions - Voice Video Gw
PPTX
Voip basics
PPT
1 VoIP Overview[1]
PPT
1 Vo Ip Overview
PPT
Sinnreich Henry Johnston Alan Pt 2
PPT
architecture.ppt
PPSX
Certified Hospitality Technology Professional
PPS
A glance-at-voip
PDF
2014 innovaphone different protocols for different things
PPT
Voice over IP: Issues and Protocols
PPT
Download
PDF
voip elements by Karan singh cypher
PPT
Voice over internet_protocol
PPT
PPT
Retail and Transit Unit (RTU)
VoIP
Packet-to-Packet Applications
Surf Communication Solutions - Packet To Packet Apps
Building Voice
Surf Communication Solutions - Voice Video Gw
Voip basics
1 VoIP Overview[1]
1 Vo Ip Overview
Sinnreich Henry Johnston Alan Pt 2
architecture.ppt
Certified Hospitality Technology Professional
A glance-at-voip
2014 innovaphone different protocols for different things
Voice over IP: Issues and Protocols
Download
voip elements by Karan singh cypher
Voice over internet_protocol
Retail and Transit Unit (RTU)
Ad

More from Saleem Almaqashi (7)

PPT
acceptance testing
PPT
Ai software in everyday life
PPT
Medical center using Data warehousing
PPT
Simulation in terminated system
PPT
acceptance testing
Ai software in everyday life
Medical center using Data warehousing
Simulation in terminated system

Recently uploaded (20)

PDF
Basic Mud Logging Guide for educational purpose
PPTX
Cell Structure & Organelles in detailed.
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
Classroom Observation Tools for Teachers
PDF
Pre independence Education in Inndia.pdf
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
RMMM.pdf make it easy to upload and study
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
Sports Quiz easy sports quiz sports quiz
PPTX
Pharma ospi slides which help in ospi learning
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
Computing-Curriculum for Schools in Ghana
Basic Mud Logging Guide for educational purpose
Cell Structure & Organelles in detailed.
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Classroom Observation Tools for Teachers
Pre independence Education in Inndia.pdf
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Final Presentation General Medicine 03-08-2024.pptx
RMMM.pdf make it easy to upload and study
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Module 4: Burden of Disease Tutorial Slides S2 2025
VCE English Exam - Section C Student Revision Booklet
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Sports Quiz easy sports quiz sports quiz
Pharma ospi slides which help in ospi learning
Anesthesia in Laparoscopic Surgery in India
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
human mycosis Human fungal infections are called human mycosis..pptx
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Computing-Curriculum for Schools in Ghana

Internet multimedia

  • 1. Internet Multimedia Architecture Jim Chou and Thinh Nguyen February 12, 2002
  • 2. Outline Overview Multimedia Applications Signaling Protocols (SIP/SDP, SAP, H.323, MGCP) Streaming Protocols (RTP, RTSP, HTTP, etc.) QoS (RSVP, Diff-Serv, IntServ) Conclusions
  • 3. Multimedia protocol stack Signaling Quality of Service Media Transport Reservation H.323 SDP RSVP RTSP Measurement RTCP SIP H.261, MPEG RTP TCP Application daemon MGCP/Megaco UDP network IPv4, IPv6 kernel link PPP physical Sonet AAL3/4 AAL5 ATM PPP Ethernet V.34
  • 4. Multimedia applications Audio – Speech (CELP – type codecs) – Music (MP3, WAV, WMA, Real) Video (MPEG –1, 2, 4) Streaming done using HTTP/TCP (MP3), or RTP/UDP (Video).
  • 5. Multimedia applications (cont.) Wireless network Gateway 9.6 kbps Media server 1 Mbps PSTN 28 kbps
  • 6. Signaling protocols VoIP predominantly uses two: – SIP/SDP – H.323
  • 7. Session initiation protocol (SIP) Developed in mmusic Group in IETF – Proposed standard RFC2543, February 1999 – Work began 1995 – Part of Internet Multimedia Conferencing Suite (MBONE) Main Functions – Invite users to sessions • Find the user’s current location, match with their capabilities and preferences in order to deliver invitation • Carry opaque session descriptions – Modification of sessions – Termination of sessions
  • 8. SIP overview TRIP LDAP PSTN gateway lookup Address lookup SIP SDP Next-Hop DNS SIP SDP RSVP RTP UDP RSVP RTP UDP May trigger Sets up
  • 9. SIP components User Agent Client (UAC) – End systems – Send SIP requests User Agent Server (UAS) – Listens for call requests – Prompts user or executes program to determine response User Agent – UAC plus UAS
  • 10. SIP components (cont.) Redirect Server – Network server - redirects users to try other server Proxy Server – Network server - a proxy request to another server can “fork” request to multiple servers, creating a search tree Registrar – Receives registrations regarding current user locations
  • 11. SIP architecture Request Response columbia.edu Media SIP Redirect Server Location Service 2 3 berkeley.edu sip.com 5 4 sip:alice@eecs.berkeley.edu 1 7 11 12 13 SIP Client 6 SIP Proxy sales.sip.com 10 SIP Proxy 8 14 9 bob@mypc.sales.sip.com SIP Client (User Agent Server)
  • 12. Sip architecture (cont.) SIP state-less proxies (near core of network) – used for re-direction SIP state-ful proxies (near periphery of network) – Keeps track of state of call – Useful for billing/logging, authentication Routing – Registration database, external database – TRIP
  • 13. SIP architecture (cont.) DB On Startup, SIP UA Sends REGISTER to Registrar Registration Database Forms a Dynamic Routing Database of Users Centralized Store is Desired for Scalability SQL/LDAP/? RE GI ST ER Registration Data Provides Addresses to Reach User Registrar Proxy Farm INVITE
  • 14. SIP architecture (cont.) SIP INVITE Can Contain Phone Numbers – sip:17325551212@domain.com – tel:17325551212 Do Not Correspond to Users on IP Network, but PSTN Terminals Call Must Be Routed to Gateway Gateways Often Arranged Through Peering Which One to Use Based on Prefixes (Domestic = gw1, Europe = gw2) Route Table is Mapping From Prefixes to Next Hop IP address/port/transport Plus URL Rewrite Rules tel:19735551212 sip:19735551212@ longdistance.com 1-732 regional.com 1 longdistance.com international.com
  • 15. SIP architecture (cont.) Gateways Inter-domain Protocol for Gateway Route Exchange – Completed February 2000 TRIP Supports Various Models – Bilateral agreements – Centralized settlements provider Location Server ISP B TRIP End Users ISP A Front End
  • 16. SIP call flow example USER A PROXY PROXY USER B INVITE 407 Proxy Authenticate ACK INVITE 100 Trying 180 Ringing 200 OK ACK INVITE 100 Trying 180 Ringing 200 OK ACK INVITE 180 Ringing 200 OK ACK BOTH WAY RTP BYE 200 OK BYE 200 OK BYE 200 OK
  • 17. Session Description Protocol (SDP) Used to specify client capabilities Example (client can support MPEG-1 video codec, and MP3 codecs)
  • 18. Session Anouncement Protocol (SAP) Originated around same time as SIP Used to announce multimedia sessions – Announcement goes to users in a multicast group – Announcements can contain start time of session, duration of session, etc.
  • 19. Multimedia Gateway Control Protocol (MGCP) Decompose gateway into a controlling signalling component and a controlled media component. Can be used in phones or gateways in conjunction with SIP
  • 20. H.323 May 1995 - H.323 work started June 1996 - Decided by ITU-T Designed for exchanging multimedia over IP networks (4 versions of H.323)
  • 21. H.323 Components Terminals Gatekeepers Gateways (H.323 to H.320/H.324/POTS) MCUs – Multipoint Controller (MC) – Multipoint Processor (MP)
  • 22. H.323 Gatekeeper Address Translation – H.323 Alias to transport (IP) address based on terminal registration – “email-like” names possible – “phone number like” names possible Admission control – Permission to complete call – Can apply bandwidth limits – Method to control LAN traffic
  • 23. H.323 Gatekeeper (cont.) Management of gateway – H.320, H.324, POTS, etc. Call Signaling – May route calls in order to provide supplementary services or to provide Multipoint Controller functionality Call Management/Reporting/Logging
  • 24. H.323 Gateway Provide world wide connectivity and interoperability from LAN – H.320, H.324, regular POTS telephones Map Call Signaling (Q.931 to H.225.0) Map Control (H.242/H.243 to H.245) Media Mapping (FEC, multiplex, rate matching, audio transcoding)
  • 25. H.323 MCU Media Distribution – Unicast - send media to one terminal (centralized in MP; traditional model) – Multicast - send to each receiver directly – Hybrid - some of each Manage Ad Hoc multipoint calls – Join, invite, control of conference modes Multiprotocol via Gateways
  • 26. H.323 protocol stack Control Data Audio Video A/V Cntl Control Gatekeeper G.7xx H.26x RTCP H.225.0 H.245 T.120 RTP TCP UDP IP Reg, Adm, Status (RAS)
  • 27. H.323 protocol stack (cont.) H.323 - System Document H.225.0 - Call Signaling, Packetization – Gatekeeper Registration, Admission, and Status H.245 - Control (also used in H.324, H.310) T.120 - Data and Conference Control
  • 28. H.323 example A Call Setup Example a point to point call One Gatekeeper using the Direct Call Model
  • 29. H.323 example (cont.) GK (1) ARQ Can I call “Bob”? PictureTel PictureTel Bill (3) ACF Yes, use this IP Address (2a) GK resolves “Bob” to IP address through H.323 registration or external name service (e.g. DNS, ULS, etc..) (2b) Admission Policy Applied PictureTel Bob
  • 30. H.323 example (cont.) GK (6) ACF Yes (5) ARQ May I answer? (4) SETUP (Create) P ictureTel PictureTel (7) ALERTING (8) CONNECT (User answers) Bill PictureTel Bob
  • 31. H.323 example (cont.) PictureTel P ictureTel PictureTel (9) H.245 connection established Bill - Capability Exchange - Open Logical Channels (audio, video) Bob