http-flv pull failed
Closed this issue · 6 comments
peterjerry commented
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 commented
@peterjerry Well done! I will check it.
winshining commented
@peterjerry Hello, the bug was fixed, you can update to the latest code on the master branch. Thanks for your testing.
peterjerry commented
OK, thanks
peterjerry commented
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 commented
@peterjerry OK. I've found the problem. There is something wrong with video analysis but I have no idea to fix it now.
winshining commented
@peterjerry Video decoding done!