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

HTTP live streaming #18

Closed
maffbm opened this issue Oct 8, 2018 · 8 comments
Closed

HTTP live streaming #18

maffbm opened this issue Oct 8, 2018 · 8 comments
Labels

Comments

@maffbm
Copy link

maffbm commented Oct 8, 2018

Hi, current MonaServer user, looking into moving to MonaServer2 and I'm especially interested in http streaming. I've seen this post: MonaSolutions/MonaServer#71

Can anyone expand on that?
I'm using OBS for the video stream.
Where would the html page sit? in the www folder?
I have port 80, 8080 and some others in use on my PC, so looking to use 8084

Any help appreciated with this, thank you v much

@thomasjammet
Copy link
Contributor

Yes exactly, you put directly the page in www.

To set the port 8084 for HTTP you have to create a MonaTiny.ini file at the same level as MonaTiny.exe with this content :

[HTTP]
port=8084

Then restart MonaTiny and you can go to http://localhost/yourpage.html to test your page.
Notice that you can also play your stream without a web page with http://localhost/yourstream.mp4

@maffbm
Copy link
Author

maffbm commented Oct 8, 2018

Brilliant, thank you!

@maffbm
Copy link
Author

maffbm commented Oct 8, 2018

hmm, OK, the page loads fine, however, I cannot get the video to play, I've tried:
localhost/test.mp4
localhost/live/test.mp4
localhost:8084/test.mp4
localhost:8084/live/test.mp4

OBS is set with URL of: rtmp://127.0.0.1 & stream key is "test", Mona see it as a connection when I start streaming

@thomasjammet thomasjammet reopened this Oct 8, 2018
@MathieuPOUX
Copy link
Contributor

In old OBS version "live" application was indispensable I think, try to publish with "rtmp://localhost/live" + "test" as key stream:
image

@maffbm
Copy link
Author

maffbm commented Oct 8, 2018

Still getting the same Mathieu, OBS 22.0.1

@MathieuPOUX
Copy link
Contributor

Can you please come in on hangout? (mathieu.poux[a]gmail.com)

@maffbm
Copy link
Author

maffbm commented Oct 8, 2018

invitation sent

@MathieuPOUX
Copy link
Contributor

Was a problem with binaries version not updated, we have just updated if and maffbm confirms it works.

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

No branches or pull requests

3 participants