a1q123456 / Harmonic

A high performance and scalable RTMP live streaming application framework
MIT License
205 stars 70 forks source link

System.TimeoutException:“operation timed out” #2

Open yswenli opened 6 years ago

yswenli commented 6 years ago

Make mistakes according to your example

C# code: Timer timer = new Timer((s) => { cts.Cancel(); throw new TimeoutException(); }, null, ReceiveTimeout, Timeout.Infinite);

a1q123456 commented 6 years ago

I'll check it later

On Wed, Oct 18, 2017 at 11:28 AM, wenli notifications@github.com wrote:

Make mistakes according to your example

C# code: Timer timer = new Timer((s) => { cts.Cancel(); throw new TimeoutException(); }, null, ReceiveTimeout, Timeout.Infinite);

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/a1q123456/rtmp-sharp-server/issues/2, or mute the thread https://github.com/notifications/unsubscribe-auth/ABAq2OM4KJFjS1_HnABibnVQNzTpVXPyks5stXBbgaJpZM4P9HD9 .

yswenli commented 6 years ago

I found the problem because of the ffmpeg version of "ffmpeg-20171016-7480f23-win64-static", and the handshake order of this version is: c01-s012-c2; Thank you all the same

a1q123456 commented 5 years ago

the problem is because ffmpeg changed is handshake logic and now it's solved, you can try it now, thanks for supporting