What is streaming?
Streaming is the process of transferring data via a channel to its destination, where it is decoded and consumed via the user or device in real time, that is, as the data is being delivered. It differs from non-streaming processes because it doesn't require the data to be fully downloaded before it can be seen or used. Streaming is not the property of the data that is being delivered, but is an attribute of the distribution channel. This means, technically, that most media can be streamed.
HTTP and RTSP
HTTP and RTSP are application-level protocols that allow remote retrieval of data. So why can't you use HTTP for streaming media content? The truth is, you can. When you click on a Web page link to play an audio file, in most cases the media data is streamed to your machine. However, streaming content over HTTP is inherently inefficient. This is because HTTP is based on the Transmission Control Protocol (TCP), which makes sure that media packets are delivered to their destination reliably without worrying about when they are delivered. On the other hand, RTSP can be based on both User Datagram Protocol (UDP), which is a connectionless protocol ensuring faster delivery over reliability, and on TCP. Besides, RTSP has control mechanisms built in that allow random access to the media data, allowing you to seek, pause, and play.
Making sense of RTSP, RTP, and RTCP
There is a lot of confusion among newcomers over the acronyms RTSP, RTP, and RTCP. All three represent different protocols related to streaming of media content. An RTSP session initiates both Real-time Transport Protocol (RTP) and RTP Control Protocol (RTCP) sessions. RTSP is only the control protocol, a bit like a remote control for a DVD player, in that it allows you to start, stop, resume, and seek data remotely. The actual data delivery is done via RTP, and RTCP is a partner protocol to RTP providing feedback to both the sender and receiver on the quality of media data that is being transferred.
5 comments:
Hi Lamia
I've some queries about media streaming in j2me. How to do full duplex in j2me using sip server? I've done a VOIP for mobile where i didn't get any way to do full duplex like as JMF so i did it manually create rtp packet and then send and receive but performance isn't good. Have you any idea on it? if you have any update idea on it please kindly mail(javedcse@gmail.com) me.
Hi Md.Anisur,
Actually our system has nothing to do with SIP servers, so I have no idea about what you are asking.
Anyways, check this link
http://discussion.forum.nokia.com/forum/showthread.php?t=135628
a discussion about simillar subject.
I wish you good luck.
Lamiaa
Thanks Lamia for your reply.The url which u gave isn't.....
Best of luck Lamia
BR
Javed
السلام عليكم
لو سمحت يا بشمهندسه انا كنت عايزه اعرف انتوا اشتغلتوا j2me ولا لاء
على فكره انا قابلت الجروب بتاعكوا فى EED 2008
Yes, we used J2ME to develop our application.
If you need any help regarding it, contact me :)
Post a Comment