Summary: | 碩士 === 元智大學 === 資訊工程學系 === 102 === With the growing of network transmission bandwidth, live video broadcast services are becoming more popular. Although a number of related research which make the playback of live video be more smooth and convenient are proposed in the past, but there are some unsolved problems for the live video streaming on the internet. (1) The web browsers are not supported for Real Time Streaming Protocol(RTSP). (2) Need to install a specific browser plugins to support live video streaming. (3) There is a problem for NAT traversal of media flow for RTSP. To solve above problems, we propose a method to play and playback live video on HTML5 platform. This method is divided into two parts. One is server side and the other is client side. In the server side, the live videos streamed by the network camera using RTSP will be received and transformed into Segmented MP4 video files. Then the Segmented video files are transferred to web browser using WebSocket which is a technique to implement server push technology. In the client side, the browser can correctly parse and play live video through HTML5 and Media Source API. In the experiment results, we present a measurement method to measure the time for each process when video files are transferred from service side to client side. The experiment shows that our method can play live video smoothly and stably for a long time.
|