TITRE Adaptive Packet Video Streaming Over IP Networks - LaBRI
TITRE Adaptive Packet Video Streaming Over IP Networks - LaBRI
TITRE Adaptive Packet Video Streaming Over IP Networks - LaBRI
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
TCP/UDP port, our implementation uses TCP protocol because it is more suitable for signaling.<br />
Whenever a new channel is requested, a new TCP, UDP socket is created. In our case, we use RTP<br />
socket based on UDP for media transporting.<br />
As example, the session establishment functionality is obtained through the setup of a DMIF<br />
Signaling channel, and the exchange of DS_SessionSetup messages. This procedure works as<br />
follows in case when DMIF initiates the communication:<br />
1. The target peer is supposed to listen on a well known TCP port number (DMIF_PORT).<br />
2. The originating peer (MPEG-4 DMIF Terminal) creates a TCP socket and connects to the<br />
target peer, using the DMIF_PORT port number and TCP protocol.<br />
3. The target peer accepts the connection: this connection carries the DMIF signaling channel.<br />
4. The originating peer sends a DS_SessionSetupRequest message on the just established<br />
connection.<br />
5. The target peer replies with a DS_SessionSetupConfirm message.<br />
More details on DMIF implementation in Java can be found in [178].<br />
The MPEG-4 terminal is based on JMF 2.1 API (The Java Media Framework API) 1 [179]. JMF<br />
API enables audio, video and other time-based media to be added to Java applications and applets.<br />
This package, can capture, playback, stream and transcode multiple media formats.<br />
The JMF 2.1 reference implementation can receive and transmit many RTP formats such as<br />
(G.711, GSM mono, G.723, MPEG Layer I, II, III, H.261, H.263, etc.). Other formats can be<br />
added via plug-ins.<br />
6.3.3 S<strong>IP</strong> Terminal<br />
We’ve implemented a simple S<strong>IP</strong> terminal (see Figure 6-12) which communicates using S<strong>IP</strong><br />
specification (INVITE, TRYING, RINGING, ACK, CANCEL, BYE) with other terminals.<br />
1 The JMF 2.0 API was developed by Sun Microsystems, Inc. and IBM. The JMF 1.0 API was<br />
developed by Sun Microsystems, Inc., Silicon Graphics Inc., and Intel Corporation.<br />
153