how to create a RTSP streaming server -


so trying create rtsp server streams music.
not understand how server plays music , different requests ever playing @ time.
so, organize questions:
1) how server play music file?
2) how request server whats playing?
3) response music playing in client requested music?

first: read this (rtsp), , then read this (sdp), , read this (rtp). can ask more sensible questions.

1) doesn't, server streams little parts of audio data client, telling when each part played.

2) there no such request. if want, can have url live streaming, , in rtsp describe request, tell client on.

3) read first (rtsp) document, there! answer question this:

rtsp/1.0 200 ok cseq: 3 session: 123456 range: npt=now- rtp-info: url=trackid=1;seq=987654 

but music playing have lot more initiate streaming session.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -