R
R
roald_iopi2020-06-11 14:13:58
Nginx
roald_iopi, 2020-06-11 14:13:58

Dash nginx not playing?

Dash files are being created, but I can’t play them! When I go to the player installed on the site, it writes

Playback initiated!
Start loading manifest: http://site/live/manifest.mpd
Doing parse.
Converting from XML.
Ошибка синтаксического анализа XML: ошибка синтаксиса
Адрес: http://site/
Строка 1, символ 50
TypeError: manifest is undefined

NGINX CONFIG:
worker_processes  1;
events {
    worker_connections  1024;
}


rtmp {
    server {
        listen 1935;
        application live {
            live on;
            dash on;
            dash_path /stream/dash;
        }
    }
}

http {
    server {
        listen 8080;
        add_header Access-Control-Allow-Methods "GET, POST, HEAD, OPTIONS";
        add_header Access-Control-Allow-Origin "*";
        # отдача манифеста и фрагментов
        location /dash {
            root /stream;
            add_header Cache-Control no-cache;
        }
    }
}


Cors enabled
For web use apache to stream nginx

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Melekhovets, 2014-07-22
@Gasoid

What's in the docker log?
Ubuntu 32 or 64 bit? Docker does not work on 32bit.
Manually sudo service docker.io startstart the daemon?

A
andymitrich, 2014-07-22
@andymitrich

You have the answer in the description of the question:
- Why is Docker not starting?
- Because "no such file or directory".
Why the file was not found is another question. Perhaps the first thing to do is to see if the file actually exists.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question