Using RTP and RTSP for audio/video transfer

I have to use RTP and RTSP for transferring the audio/video streams in real time.

How I can sen and receive RTP packets.

How can I make the RTP Player.

What is the role of JMF in it.

Please suggest me and provide me the codes if possible.

Thanks alot

shobhit verma

[314 byte] By [shobhit_raa] at [2007-11-27 0:19:02]
# 1

> I have to use RTP and RTSP for transferring the

> audio/video streams in real time.

>

> How I can sen and receive RTP packets.

>

> How can I make the RTP Player.

>

> What is the role of JMF in it.

>

> Please suggest me and provide me the codes if

> possible.

>

> Thanks alot

> shobhit verma

There are two ways using which you can send and recieve packets using rtp. One without using the SessionManager and the other with.

1.) Not using the SessionManager makes things easy for you but it offers very little flexibility to you. You can do this by just specifying a medialocator pointing to the specific url

2.) Using the SessionManager is what is usually suggested. This process is more complex. First you have to instantiate a RTPSessionMgr to a SessionManager reference using which you can send and receive streams to and from the network. The process is more involved than this and is suggest you read some tutorials to get a better understanding, than me explaining to you the entire process.

Message was edited by:

qUesT_foR_knOwLeDge

qUesT_foR_knOwLeDgea at 2007-7-11 22:10:06 > top of Java-index,Java Essentials,Java Programming...
# 2
Have you looked at: http://java.sun.com/products/java-media/jmf/2.1.1/solutions/Bye
puntinoa at 2007-7-11 22:10:06 > top of Java-index,Java Essentials,Java Programming...