zaps166 / QMPlay2

QMPlay2 is a video and audio player which can play most formats and codecs.
GNU Lesser General Public License v3.0
812 stars 170 forks source link

video hangs when reconnect to rtmp server #250

Open lovelypp777 opened 4 years ago

lovelypp777 commented 4 years ago

Use a direct address to play a rtmp stream. when connected and playing the stream, close the rtmp server, and reopen it. QMPlay2 will try to reconnect to the rtmp server and play the stream. but when it reconnect the rtmp server, video is hang(no video stream data) and audio is normal. you need to press the stop and then start play, then it recovered.

zaps166 commented 4 years ago

I need to test it, so I need an rtmp URL.

lovelypp777 commented 4 years ago

try this: rtmp://202.69.69.180:443/webcast/bshdlive-pc

------------------ 原始邮件 ------------------ 发件人: "notifications"notifications@github.com; 发送时间: 2019年9月2日(星期一) 下午5:59 收件人: "zaps166/QMPlay2"QMPlay2@noreply.github.com; 抄送: "alone"2455196031@qq.com; "Author"author@noreply.github.com; 主题: Re: [zaps166/QMPlay2] video hangs when reconnect to rtmp server(#250)

I need to test it, so I need an rtmp URL.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

zaps166 commented 4 years ago

The stream worked, now it doesn't, but I need my own stream to check server stop error. I'll try my server later, but I can't guarantee that I can fix it quickly.