Question / Help Need help to get video pushed from phone by RTMP to obs, then instagram!

CrunchyShadow

New Member
I had an idea to live stream my bike rides with a GoPro to instagram. To do this, I have a program that can read footage from a USB camera and can push the feed to RTMP. I also found a method online to stream OBS to instagram.

So right now, I have my cam set up and connected to my RTMP (through Mona Server) and my video source on OBS is set to that server. OBS sees it, great. I am also able to livestream it to instagram.

The one issue I am experiencing is that when my phone disconnects from wifi, and connects to my 4G or 3G the stream stops. Why can I not push my video to my IP RTMP through data?

Sorry, I am a bit of a noob so sorry if I don't make any sense.

Thanks!
 

koala

Active Member
You probably set up your rtmp server on some machine within your home LAN. Your home LAN is operated with some private IP addresses (most likely 192.168.x.y). If you connect your phone with wifi, your phone gets a connection and a ip address in your home LAN as well, so you are able to connect to the rtmp server.

As soon as you disconnect from wifi and connect through mobile network, you lose your connection to your internal LAN. You're on some outside public internet address you get from your mobile provider. From this address it is not possible to connect to some internal machine within your LAN. You may be able to set up a connection with the help of a dynamic dns provider and some port forwarding on your router, but that's not recommended as well as beyond the scope of the OBS forum.

If you only want to stream what your camera records, and you are already able to send to a rtmp server, you don't need OBS. You can stream directly to instagram or wherever you want with your program "that can read footage from a USB camera and can push the feed to RTMP", since OBS does nothing different. OBS sends the stream to RTMP.
 

CrunchyShadow

New Member
You probably set up your rtmp server on some machine within your home LAN. Your home LAN is operated with some private IP addresses (most likely 192.168.x.y). If you connect your phone with wifi, your phone gets a connection and a ip address in your home LAN as well, so you are able to connect to the rtmp server.

As soon as you disconnect from wifi and connect through mobile network, you lose your connection to your internal LAN. You're on some outside public internet address you get from your mobile provider. From this address it is not possible to connect to some internal machine within your LAN. You may be able to set up a connection with the help of a dynamic dns provider and some port forwarding on your router, but that's not recommended as well as beyond the scope of the OBS forum.

If you only want to stream what your camera records, and you are already able to send to a rtmp server, you don't need OBS. You can stream directly to instagram or wherever you want with your program "that can read footage from a USB camera and can push the feed to RTMP", since OBS does nothing different. OBS sends the stream to RTMP.

Alright I understand it is not possible with simple means. The reason I wanted to use a RTMP server is because Instagram live does not support footage from a camera that is connected through USB (and not the phone camera itself). So by sending the footage externally to a RTMP, I could then go live through OBS. I got this to work, just not outside :( The reason I need a USB camera is because on a bike, it is not stable and the phone camera would not function well because of that.

Ah well
 

Pedro Moynier

New Member
I had an idea to live stream my bike rides with a GoPro to instagram. To do this, I have a program that can read footage from a USB camera and can push the feed to RTMP. I also found a method online to stream OBS to instagram.

So right now, I have my cam set up and connected to my RTMP (through Mona Server) and my video source on OBS is set to that server. OBS sees it, great. I am also able to livestream it to instagram.

The one issue I am experiencing is that when my phone disconnects from wifi, and connects to my 4G or 3G the stream stops. Why can I not push my video to my IP RTMP through data?

Sorry, I am a bit of a noob so sorry if I don't make any sense.

Thanks!
 
Top