Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

http-flv pull failed #1

Closed
peterjerry opened this issue Jul 18, 2017 · 6 comments
Closed

http-flv pull failed #1

peterjerry opened this issue Jul 18, 2017 · 6 comments

Comments

@peterjerry
Copy link

http-flv pull failed. config as follows:

_http {
include mime.types;
default_type application/octet-stream;

sendfile        on;

keepalive_timeout  65;

server {
    listen       80;

    location / { 
        root   /var/www;
        index  index.html index.htm;
    } 
     
    error_page   500 502 503 504  /50x.html;
    location = /50x.html {
        root   html;
    }
    
    location /live {
        flv_live on;
        chunked  on;
    }
}

}

rtmp_auto_push on;
rtmp_auto_push_reconnect 1s;
rtmp_socket_dir /tmp;

rtmp {
out_queue 4096;
out_cork 8;
max_streams 64;

server {
    listen 1935;

    application myapp {
        live on;
        gop_cache on;

        pull rtmp://live.hkstv.hk.lxdns.com/live/hks;

        on_play http://127.0.0.1:8080/on_play;
        #record all;
        #record_path /tmp;
        #record_suffix -%d-%b-%y-%T.flv;
    }
}

}_

@winshining
Copy link
Owner

@peterjerry Well done! I will check it.

@winshining
Copy link
Owner

@peterjerry Hello, the bug was fixed, you can update to the latest code on the master branch. Thanks for your testing.

@peterjerry
Copy link
Author

OK, thanks

@peterjerry
Copy link
Author

peterjerry commented Jul 19, 2017

http-flv pull is efficient, but video decode failed, audio decoded normally. rtmp://live.hkstv.hk.lxdns.com/live/hks is ok , my player is flash player, config as follows:

server {

listen 1935;

application myapp {
    live on;
    gop_cache on;

    pull rtmp://live.hkstv.hk.lxdns.com/live/hks;
}

}


@winshining
Copy link
Owner

@peterjerry OK. I've found the problem. There is something wrong with video analysis but I have no idea to fix it now.

@winshining
Copy link
Owner

@peterjerry Video decoding done!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants