Open cphuoc91 opened 6 years ago
Hi,
There is no official websocket player for now though you can use the http mp4 feature of MonaServer2, for this just publish an h264/aac with whatever publisher you want (for example OBS) and you can play it using the video tag. Here is an example of html for this purpose, just change "test123" to your publication name :
<html>
<head>
</head>
<body>
<h1>MP4 Sample</h1>
<video src="http://localhost/test123.mp4" type="video/mp4" controls=true>Error loading the stream</video>
</body>
</html>
Now if you really need a WebSocket client contact us by mail and let's discuss this.
I have tried to in the documentation but couldn't find the mention about websocket video player. Can help me? I wanna to tried the demo of html5 streaming player