0

I created an Nginx RTMP Vod plackback from a server, the Nginx config file is

rtmp { 
server {
            listen 1935;

             allow play all;
        application vod {
                        play /root/play/;
                }
    }
}

When i try opening from VLC through Network strem, i am getting this error

VLC is unable to open the MRL 'rtmp://link:1935/vod/lt.mp4'. Check the log for details. and when i check the message logs its showing

avcodec error: Failed to open rtmp://link:1935/vod/lt.mp4: Operation not permitted

also in server under access log of Nginx, i am getting,

  • [05/Oct/2020:13:17:03 +0000] PLAY "vod" "mp4:lt.mp4" "" - 382 430 "" "LNX 9,0,124,2" (1s)*

Does anyone know a fix for this?

Geo Antony
  • 15
  • 1
  • 8
  • Try to chmod /root and /root/play directories with 755 More info: https://stackoverflow.com/a/6796648/557432 – TomoMiha May 28 '21 at 11:50
  • Hi @tomomiha , thanks. I got it to work, it was an issue with both permission and the path it's trying to fetch from Nginx. – Geo Antony Aug 12 '21 at 05:51

0 Answers0