I want to develop a java client server application using java servlets and java socket programming, where server can host a video and client should be able to browse the video hosted by server. I would like to use Real-time Transfer Protocol (RTP) and Real-Time Streaming Protocol (RTSP) to share video between server and client. To use this RTP and RTSP I would suggest you to go through the below github link.
[url removed, login to view]
All you need to change is remove the applet and add java servlets so that client and server can communicate thorough browser.
Server [url removed, login to view]
Client [url removed, login to view]
On server ([url removed, login to view]) side if you run program then it should prompt you what video you want to play. So that we can enter the name of the video. Once the video started playing, client ([url removed, login to view]) can request it through web browser. While streaming is going on I need transfer rate should be written to log file.