Skip to content

including docker volume = "Specified “type” attribute of “application/x-mpegURL” is not supported in browser?" #4

@laurencefass

Description

@laurencefass

update:

to make this work as advertised I have commented out the server volume from the compose file as it appears to be the cause of everything that follows. any insight into the problem would be very much appreciated.

#    volumes:
#      - ../../mounts/var/lib/streaming:/var/lib/streaming

IF I LEAVE VOLUMES MOUNTED....

i cant run the live video.js stream in the browser i dont know if its a video.js or docker-streaming-server issue yet.

request URL: http://192.168.99.100/hls/test.m3u8

server response:

<html>
<head><title>404 Not Found</title></head>
<body bgcolor="white">
<center><h1>404 Not Found</h1></center>
<hr><center>nginx/1.13.8</center>
</body>
</html>

the server is definitely not replying to request for file...

$curl 192.168.99.100:8080/hls/test.m3u8
curl: (52) Empty reply from server

starting the server with

cd documents/examples
docker-compose up -d

error reported in firefox and chrome.

Specified “type” attribute of “application/x-mpegURL” is not supported. Load of media resource http://192.168.99.100:8080/hls/test.m3u8 failed.
192.168.99.100:9999
VIDEOJS: ERROR: (CODE:4 MEDIA_ERR_SRC_NOT_SUPPORTED) The media could not be loaded, either because the server or network failed or because the format is not supported. 
Object { code: 4, message: "The media could not be loaded, either because the server or network failed or because the format is not supported." }
video.min.js:1:29532

output of the streaming-server each time i load the browser.


2018/04/10 11:27:11 [alert] 12#12: *139 fcntl(O_DIRECT) "/var/lib/streaming/hls/test.m3u8" failed (22: Invalid argument), client: 192.168.99.1, server: , request: "GET /hls/test.m3u8 HTTP/1.1", host: "192.168.99.100:8080", referrer: "http://192.168.99.100:9999/"
2018/04/10 11:27:11 [crit] 12#12: *139 io_submit("/var/lib/streaming/hls/test.m3u8") failed (22: Invalid argument) while sending response
to client, client: 192.168.99.1, server: , request: "GET /hls/test.m3u8 HTTP/1.1", host: "192.168.99.100:8080", referrer: "http://192.168.99.100:9999/"

any help appreciated. thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions