Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't have Websocket player to play video and video #71

Open
cphuoc91 opened this issue Jan 30, 2018 · 1 comment
Open

Doesn't have Websocket player to play video and video #71

cphuoc91 opened this issue Jan 30, 2018 · 1 comment

Comments

@cphuoc91
Copy link

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

@thomasjammet
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants