We know http run over tcp.
And 2nd fact that online video streaming use udp.
I am little bit confused that youtube contains videos.
And when we watch video they come to us as http.
I wanna know how does youtube manage the server ?
Which protocol it uses?😛
For streaming media to flash player Real Time Streaming Protocol(RTSP) is used. The play button on flash player acts as RTSP invoker for media being called and media is streamed via UDP packets. In fact you don't need to migrate anywhere from page because the embedded object calls for video not the http page but as the object is embedded on http page once you close it, object also get closed.
Convey if that information is useful or not.
Very nice explanation...I will study RTSP and will get clarified more.
Your explanation helps.
I have just one more doubt....
Since those videos use UDP.
So now suppose i have clicked on play button to play a video.
Since it is using UDP transmission, server does not bother whether i am getting video file or not
Hence i just close my browser. Still then packets will come to me or not ?
May be i am over questioning...But thats the only way to learn...
May be i am over questioning...But thats the only way to learn...Never say something like that, questioning doesn't make you look fool, people who ask questions are more smarter than people who don't question or answers questions, don't ever feel awkward to ask questions no matter what others think. Let them go in hell because the person who knows to ask one day becomes master of his own game. So feel free to ask, if i can't answer there'll be someone who will answer,
Your words are of great help...
I have got the point now...
Thanks a lot...😀
Youtube uses Real time Server Protocol.It is the real time network application protocol that transfers multimedia from server to the end-users or endpoints, by using data streaming servers.
The components or objects that invokes http request from enduser to the server are play,pause,teardown,Redirect,Setup etc.
Based on RTSP RFC 2326 :