gwuhaolin / livego

live video streaming server in golang
MIT License
9.7k stars 2k forks source link

failed to upstream a video #134

Open mteodor opened 3 years ago

mteodor commented 3 years ago

I tried to upstream a demo video but getting this error

Press [q] to stop, [?] for help
av_interleaved_write_frame(): End of file
[flv @ 0x55fdef9e5240] Failed to update header with correct duration.
[flv @ 0x55fdef9e5240] Failed to update header with correct filesize.
Error writing trailer of rtmp://some-host:1935/live/fBd56ti2SMtYvSgD5xAV0YU99zampta7Z7S575KLkIZ9PY: End of file
frame=    5 fps=0.0 q=-1.0 Lsize=      42kB time=00:00:00.07 bitrate=4880.6kbits/s speed=0.963x    
video:41kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.750230%

I started service with docker

docker run -p 1935:1935 -p 7001:7001 -p 7002:7002 -p 8090:8090 -d gwuhaolin/livego --level debug

Update I've tried to run service on the local machine and it worked, so I guess it is something with my server I've deployed it on Digital Ocean droplet, if you know what can be a problem. thank you.

matthewgao commented 3 years ago

Is there any firewall between you client side and the server side, It looks like the connection was reset by firewall, did you see any logs or a connection at the server side?