mirror of
https://github.com/horgh/videostreamer.git
synced 2025-09-26 20:41:31 +08:00

This works for streaming mp4 from rtsp. But only to the first client as it is unable to recognize discrete frames correctly. It needs further work.
22 lines
348 B
HTML
22 lines
348 B
HTML
<!DOCTYPE html>
|
|
<meta charset="utf-8">
|
|
<title>Now playing</title>
|
|
|
|
<meta name="viewport" content="width=device-width, user-scalable=no">
|
|
|
|
<style>
|
|
video {
|
|
max-width: 100%;
|
|
}
|
|
</style>
|
|
|
|
<h1>Now playing</h1>
|
|
|
|
<!--src="http://127.0.0.1:8081/stream" -->
|
|
<!-- src="out.mp4" -->
|
|
<video
|
|
src="http://127.0.0.1:8081/stream"
|
|
autoplay
|
|
controls
|
|
></video>
|