Thanks Bruce for his suggestions and here is a guide of how to set up live streaming using GL-AXT1800 and a Gopro cam.
You need:
- Gopro Heros 7/8/9/10/11 which support live streaming
- GL-AXT1800 router with firmware 4.1
- A player which can play rtmp streams on your phone or pc
Step 1: Set up AXT1800 nginx server
AXT1800 comes with nginx server but no rtmp protocol compile. Pls upload this ipk to your router and install it.
nginx-ssl_1.17.7-2_arm_cortex-a7.ipk.zip (420.7 KB)
opkg update
opkg install nginx-ssl_1.17.7-2_arm_cortext-a7.ipk --force-reinstall
Then add the rtmp config to the end of /etc/nginx/nginx.conf
rtmp {
server {
listen 1935;
chunk_size 4096;
application live {
live on;
record off;
}
}
}
Then use nginx -t
to check if the config is valid and restart nginx.
root@GL-AXT1800:~# nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
root@GL-AXT1800:~# /etc/init.d/nginx restart
#Step 2: Config Gopro
You need to connect Gopro to AXT1800’s wifi.
Click Live Stream
Then choose RTMP
Then input the RTMP URL
The live
is what we configured previous in the router and the me
is a key that can be anything
Then in the app you can click “Set Up Live Stream”
#Step 3: View the stream
In the app the next screen you have “Go Live” button. Click it to start live streaming
Now you can view the video stream using a player e.g. vlcplayer
rtmp://192.168.8.1:1935/live/me