COMP S888 Multimedia Technology (Free Courseware)

Categories:

Recommended

With the success of websites such as YouTube, streaming is no doubt one of the most important multimedia applications. This module explains two very different approaches to building a streaming application. With a streaming server such as Microsoft Windows Media Server, you can put together a streaming application very quickly. For applications with more specific requirements, however, you usually have to resort to programming. Java Media Framework API (JMF) is an application programming interface commonly used for developing multimedia applications in Java.

Streaming servers

The RTSP protocol is designed for providing streaming service. Streaming is a technique for transferring data in such a way that it is not necessary for user to wait for the entire file to arrive before it’s played back. In other words, the client browser starts playing the streamed data while the data is still being sent from the server.

The RTSP protocol

RTSP is an application level protocol designed for the implementation of streaming service over the Internet. It provides VCR-type control over the playback of multimedia data. Similar to HTTP, RTSP is a client-server service involving a media server to provide the data. But unlike HTTP, which is stateless, RTSP has to maintain a session state for a stream such that the correct action can be taken when a command is issued. For example, when a movie is already playing, pressing the play button again should not invoke any action. Furthermore, HTTP requests are always initiated by clients, but in RTSP, both client and server can initiate requests. For example, the server may inform the clients to connect to another server.

Multimedia data requires a continuous data stream, and jitter is unavoidable on the Internet. A small buffer is therefore usually implemented on the client side so that data is played from the buffer while the buffer is being replenished. As long as the buffer is large enough, the effect of jitter can be smoothed out.

Incorporation of audio and video data within a Web document is now a common practice. However, ordinary Web servers are not designed to deliver streaming media. Therefore, a special class of server, called a ‘streaming server’ or ‘media server’, has 2 been designed to do the job.

Category:

Attribution

The source of this flipbook:
COMP S888 Multimedia Technology (Free Courseware). (2016). Open Textbooks for Hong Kong. http://www.opentextbooks.org.hk/tertiary-institutions/39859

“COMP S888 Multimedia Technology” is one of the free open textbooks for Tertiary level. This selection and arrangement of content as a collection is copyrighted by The Open University of Hong Kong. It is licensed under the Creative Commons Attribution ShareAlike 4.0 license (http://creativecommons.org/licenses/by-sa/4.0/).

VP Flipbook Maker

This flipbook is create with Visual Paradigm Online, it is a great e-book publisher that allows to to bring your content to live. Create your own flipbook now, it is simple and free!