but not my mpeg-ts live streaming file. The avformat_open_input function return the -2 error code "no such file or directory" and the mount function return 0 (success).
ah , outside nacl env my link works with no problem.
The chrome dev tools network tab show me this result:
HTTP/1.1 404 Not Found
Server: nginx
Date: Tue, 17 May 2016 09:20:04 GMT
Content-Type: text/html
Content-Length: 564
Connection: keep-alive
Request Headersview parsed
HEAD <relative mpeg-ts live streaming path> HTTP/1.1
Host: <host>
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
Allow_cross_origin_requests: true allow_credentials:false: TRUE
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.94 Safari/537.36
Accept: */*
Accept-Encoding: gzip, deflate, sdch
Accept-Language: it-IT,it;q=0.8,en-US;q=0.6,en;q=0.4,es;q=0.2
Name
876.ts
I think the problem is the missing of file size (being a live streaming it have not a file size) in the http response. I try to search a solution on the web with no success.
There is a way, a workaround to access a no fixed file size on the web? i have already spent a lot of time on my project , so please don't say me that this is impossible :-)
Thanks in advance.
Cesare
cesare moschini
unread,
May 18, 2016, 8:50:17 AM5/18/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Native-Client-Discuss
Update :
After a little investigation with curl maybe i understand the problem:
The http response header contains 302 status : 'Moved Temporarily' and a location fieldwith a url generated on the fly by the server , which is what i need.
I don't know how httpfs works in details but i expected that redirection is handled correctly. I'm wrong?