temerity_motorsports
New Member
Hello everyone,
We have been running a livestream from our racecar from various track around the country, some with better cell service than others. The basic archtecture consists of a miniPC onboard the car running OBS on Ubuntu (with a bunch of onboard cameras feeding it). OBS then streams to a VPS I have running NGINX with the RTMP module. The connection from the car is using a PEPWAVE BR1 modem with a Verizon SIM card. It is using a proper mobile MIMO antenna.
I then pull that stream from the NGINX VPS into my laptop in the paddock, add some other things like race stats, and then send that to Youtube.
So in other words..... CAR w/ OBS ----> REMOTE VPS w/ NGINX RTMP ----> LAPTOP in Paddock ---> YouTube/other services.
The problem is that some of these tracks have good connections in some areas of the track, and not-so-good connections in other parts. I am trying to improve the overall stream quality to more closely match the average usable bit rate, so it can catch-up with any buffered data from the car when the connection is better in portions of the track.
Adding more latency to the stream is perfectly fine in this case (and obviously would have to happen). I'm just trying to figure out how to create this larger buffer, and where to put it. Do I need to perhaps run a local NGINX RTMP server on the racecar, and then push to the remote VPS?
Hopefully this all makes sense, and please let me know if I can clarify anything. Thanks!
We have been running a livestream from our racecar from various track around the country, some with better cell service than others. The basic archtecture consists of a miniPC onboard the car running OBS on Ubuntu (with a bunch of onboard cameras feeding it). OBS then streams to a VPS I have running NGINX with the RTMP module. The connection from the car is using a PEPWAVE BR1 modem with a Verizon SIM card. It is using a proper mobile MIMO antenna.
I then pull that stream from the NGINX VPS into my laptop in the paddock, add some other things like race stats, and then send that to Youtube.
So in other words..... CAR w/ OBS ----> REMOTE VPS w/ NGINX RTMP ----> LAPTOP in Paddock ---> YouTube/other services.
The problem is that some of these tracks have good connections in some areas of the track, and not-so-good connections in other parts. I am trying to improve the overall stream quality to more closely match the average usable bit rate, so it can catch-up with any buffered data from the car when the connection is better in portions of the track.
Adding more latency to the stream is perfectly fine in this case (and obviously would have to happen). I'm just trying to figure out how to create this larger buffer, and where to put it. Do I need to perhaps run a local NGINX RTMP server on the racecar, and then push to the remote VPS?
Hopefully this all makes sense, and please let me know if I can clarify anything. Thanks!