Mona on Win10 for RTMP

1,497 views
Skip to first unread message

Shanti Stepp

unread,
Jun 24, 2021, 10:29:12 AM6/24/21
to MonaServer

Hello , i have a problem setting up Mona Server :/

i want to use my Tower as the Mona Server to Stream to .

I have an static ipv4 and want to Stream with a GoPro 9 from outside the Home Network . (4g Router)

I can use MonaDerver in my Home Newtwork  without problems .

I opened the port on my router and in Win Defender but i cant connect to it .


Am i missing something ?

MonaServer

unread,
Jun 24, 2021, 1:06:30 PM6/24/21
to MonaServer
Hi Leander!

This problem happens often. I don't think you have an issue with MonaServer but with your network environment. This can come from a wrong port forwarding setup, a security inside your router, or another firewall.
You can try to access to the HTTP port first (just access to the ip of your router from your browser : http://<your ip>) to eliminate a problem with RTMP or the GoPro.

Also which version of MonaServer are you using?

Regards

Thomas

Shanti Stepp

unread,
Jun 24, 2021, 1:52:35 PM6/24/21
to MonaServer
Thank you for your prompt reply :)

Im using MonaServer v2.723 .

So i am able to connect from LocalNetwork but i cant ping the Server by using other Networks . I tried it with http and ofc RTMP . This issue seems like its a port forwarding thingi . I cant imagine why it is not working :)  Il tried everything repeatedly but i cant get it running .

I reset my Router to factory condition and try to set it up again !

I will report later:)

many thanks for the help up to here Thomas !

Shanti Stepp

unread,
Jun 24, 2021, 7:11:04 PM6/24/21
to MonaServer

Iv got the problems solved ! :D Now it is running ! Im So happy !  Thanks again Thomas your doing a very good Job !

MonaServer

unread,
Jun 25, 2021, 1:27:52 AM6/25/21
to MonaServer
Thanks to you Leander :)

The solution was to reset the router?

Shanti Stepp

unread,
Jun 25, 2021, 4:10:34 AM6/25/21
to MonaServer
Yes ,  it was because of the router . I m from germany and normaly u dont get access to static ipv4 . I changed the contract and my ISP adapted it yesterday . The router restarted by itselve i can see in the log but i think it got hung up . Manualy restarting did not Solve the problem .   I checked with two tools for open ports  and they never got opened  
     (  https://www.yougetsignal.com/tools/open-ports/       )        (  PortScan&Stuff 1.83  )  . 

After reset to factory conditions i made my settings and opened the MonaPorts again .    The opened ports started listening so i connected with the Camera to my public ipv4  and i got routed to  myMona .

---------------------------------------------------------------
I remember there was an online Video Player provided by MonaDev´s  ?  Is this service still reachable ?   If so, someone could link it Please :)

Regards

Thomas Jammet

unread,
Jun 25, 2021, 6:14:01 AM6/25/21
to MonaServer
Good job Leander, it was painful I see!
Yes it depends on the ISP, you could use dynamic ip but it's just for testing purpose.

About the player it is here but now Flash is disabled in nearly all browsers : http://raspi.monaserver.ovh/MonaClients/VideoPlayer/VideoPlayer.html
You can try with AIR by running this binary but it's not the best solution : https://github.com/MonaSolutions/MonaClients/blob/master/VideoPlayer/VideoPlayer.swf

Instead try to play directly the stream using HTTP in the browser or with vlc.
For example if you have a publication test123 you can play this stream using the following url :
http://<your ip>/test123.mp4

Regards

Thomas

Shanti Stepp

unread,
Jun 25, 2021, 6:09:50 PM6/25/21
to MonaServer
Hi all,

the HTTP method sonds interesting to me .
i wil try it later on and give you a feedback to this method !
tomorrow me and my friend going for a hike an livestreaming this , so tomorrow is the "fire test " .
i hope everythings running fine :D
I'm excited if everything is going well.   10 hrs livestream on this method should be a great long therm test !
I will give a feedback in any case.

Thanks again Thomas for the good ideas and contributions.
best regards

MonaServer

unread,
Jul 1, 2021, 4:12:28 AM7/1/21
to MonaServer
Hi Leander,

How was the hicking? and the streaming session? I hope well!

Regards

Shanti Stepp

unread,
Jul 5, 2021, 1:55:19 AM7/5/21
to MonaServer
Hello, it was very good ! we were on our feet for 10 hours and the stream survived everything well! The only problem is the 4G network in Germany.
There were some disconnections. for this reason i created an OBS remote control to change the scene while on the go.
if interested, I can create a complete manual. Thanks again for the help and greetings!

MonaServer

unread,
Jul 5, 2021, 2:44:29 AM7/5/21
to MonaServer
Great news :)

Yes it's normal to have disconnections in wireless sometimes.
About the manual, why not? It's a good idea, a lot of users are using a GoPro to stream to MonaServer so it will be really useful for them!

Thanks for the update

Thomas

Shanti Stepp

unread,
Jul 5, 2021, 3:24:55 PM7/5/21
to MonaServer
Brief introduction to my project.
I go hiking with my buddies every weekend. one of them has been on twitch for a long time and it was hard to get him out of the house, so i decided to take his stream outside with me. :)
So I bought a GoPro Hero9 because I can connect to it via RTMP to Twitch. I still have a 4G router from my time as a fitter, as the wifi in most hotels is pretty crappy (actually the internet is crappy in all of Germany)
But since there is no OBS app with which I can connect the Gopro and thus could not integrate an overlay, I looked for options. I came across the MonaServer.
The first time was tough because I had never really dealt with the matter. That's why I try to explain to those who have the same problem :D

!!!!!     At the bottom I also explain how you can access OBS on the go to change scenes , Start and Stop Stream   !!!!!

________________

What you need: a fixed / public ip v4 .
4G router to create a WiFi hotspot.
Your smartphone and of course the Gopro (or another RTMP capable camera)
A Computer.
MonaServer and the latest OBS.
VLC plugin for OBS.
________________
if you don't have a fixed ipv4, ask your internet provider if you can get one (could entail extra costs / i pay 5 euros extra per month) If you have a public / fixed ipv4, you can open the ports in your router. (port forwarding)
________________
Now you install MonaServer on your system. I still use the old version which I found as a zip. You open the configuration file and look for the RTMP server.
port = (your request port-> standard is 1935) host = is the ip of your computer which is assigned by the router.
publicPort = (your request port-> standard is 1935) (Released in the router) (Port forwarding) publicHost = Your public IPv4 address (https://www.whatismyip.com)
With these settings, the MonaServer should be ready to receive data. Now it's time to start the server. Allow your firewall to allow MonaServer to establish a connection and not be blocked.
________________
Now take the Gopro and connect it to the cell phone. Find the Livestream menu and select Connect via RTMP!
There you enter the public ip and the selected port! (publicHost = your public IPv4 address + publicPort = (your desired port-> standard is 1935) IP and port are separated with a: (9.20.0.1:1935)
Let the camera connect to your 4G router. Now go live. The camera should now transfer to your computer! In the MonaServer application there should be a device connected.
Now you can choose a VLC source in OBS and enter it into the VLC playlist (replaces the random ip with your public IP and enter the correct port): " rtmp: //9.20.0.1: 1935 / live.
Now your stream should run in OBS and you can now use OBS to stream on all platforms where you are registered and have access data.
________________


!!!!!!Change of scene at OBS from everywhere.!!!!!

You need: obs-websocket - Remote-control OBS Studio from WebSockets 4.9.1 (https://obsproject.com/forum/resources/obs-websocket-remote-control-obs-studio-from-websockets.466/)
A second cell phone (not connected to the GoPro)
The Touch Portal app and the program for the PC.
A VPN such as https://tailscale.com/

Install Tailscale on your computer and create an account. Install the app on your mobile phone and connect it to your account.
Now you can connect to your computer with your mobile phone.

Install Touch Portal on the computer and select the Tailscale IP at the bottom left. Install and start the Touch Portal on the Handy. now you can also enter the VPN IP here.
You can now configure Touch Portal on your computer and should see the changes on your mobile phone!

If something is not explained clearly enough, please ask! I will reply as soon as possible !
best regards Leander

Shanti Stepp

unread,
Jul 5, 2021, 3:32:56 PM7/5/21
to MonaServer
!!!!!!!!!!!!!!!!!!!!!!!!

I forgot : You have to check the Repeat playlist in OBS at Vlc video source, because if your internet dies you will be reconnected.

!!!!!!!!!!!!!!!!!!!!!!!

MonaServer

unread,
Jul 6, 2021, 1:51:52 AM7/6/21
to MonaServer
Hi Leander,

Thanks for your great work, it is well detailed and I see that you've investigated a lot!

Regards

Thomas

Kody Ng

unread,
Nov 5, 2021, 6:08:51 PM11/5/21
to MonaServer
Regarding your port forward instructions, where it says "your request port -> standard is 1935", can I just leave it at 1935? If not, where do I find this info?
For host, is that the ipv4 address when you use 'ipconfig' in the cmd window?

MonaServer

unread,
Nov 8, 2021, 2:10:33 AM11/8/21
to MonaServer
Hi Kody,

You can let default "port" and "host" in your configuration file, the important part if you want to give access to your Monaserver instance to the internet is to setup port forwarding on the router.

Regards

Coldcart cold

unread,
Nov 13, 2021, 6:27:55 AM11/13/21
to MonaServer
Sorry for the silly question:
What does the VPN do here? The port is open to the www, the connection to the cam comes and goes, but there isn't a password involved in the connection, right? Maybe it's the password to the touch portal, but if he didn't have that, it wouldn't be needed no?

Thomas Jammet

unread,
Nov 17, 2021, 1:42:57 AM11/17/21
to MonaServer
Hi!

I think that the VPN here is only used to control OBS from a remote device, this has nothing to do with MonaServer or streaming.

Bongabox France

unread,
Feb 25, 2022, 3:29:19 PM2/25/22
to MonaServer
Hello Leander ! Thank you for your tutorial about RTMP Gopro, it helped me a lot
I'm trying your tutorial on Touch Portal but I have difficulties

- I registered my PC and my phone connected in 4G on Tailscale.

- On TouchPortal PC I choose on the bottom left the IP corresponding to my Tailscale PC.

- On Tailscale mobile, I find my devices, I am connected in VPN.

- But on TouchPortal mobile, what should I do? When I do the mini tutorial, it tells me that I am not on the same network. So I click on "settings" then "Ip address desktop application" and I enter the same IP as TouchPortal PC.

On TouchPortal PC, the light on the bottom right corner changes to orange "partially (incoming only) connected to IOS"; I don't see what else I have to do. Maybe I made a mistake? What do you call "IP VPN"?

Thanks a lot

MonaServer

unread,
Mar 8, 2022, 2:16:51 AM3/8/22
to MonaServer
Hi!

Can you type "what's my ip" in a google  search? This should give you the IP given by the VPN, I think you must enter this one in TouchPortal mobile.

I hope this will resolve your problem, I don't know TouchPortal or Tailscale at all.

Thomas
Reply all
Reply to author
Forward
0 new messages