Harmonic icon indicating copy to clipboard operation
Harmonic copied to clipboard

Error

Open Webcom-tlc opened this issue 6 years ago • 7 comments
trafficstars

Hello, if i try to connect with rtmp camera(android app) i have this error: System.Net.ProtocolViolationException Message: Operation is not valid due to the current state of the object. at Harmonic.Networking.Rtmp.HandshakeContext.ProcessHandshakeC2(ReadOnlySeque nce`1 buffer, Int32& consumed) in C:\Users\Administrator\Desktop\Harmonic-master \Harmonic\Networking\Rtmp\HandshakeContext.cs:line 106 at Harmonic.Networking.Rtmp.IOPipeLine.Consumer(PipeReader reader, Cancellati onToken ct) in C:\Users\Administrator\Desktop\Harmonic-master\Harmonic\Networkin g\Rtmp\IOPipeLine.cs:line 197 at Harmonic.Hosting.RtmpServer.AcceptCallback(IAsyncResult ar, CancellationTo ken ct) in C:\Users\Administrator\Desktop\Harmonic-master\Harmonic\Hosting\RtmpS erver.cs:line 116

Webcom-tlc avatar Aug 21 '19 08:08 Webcom-tlc

can you provide a sample android client code? according to the exception call stack, I guess this is because client didn't send proper handshake data that was sent by server at s1 state.

a1q123456 avatar Aug 23 '19 01:08 a1q123456

I didn't do the app, I used this: https://play.google.com/store/apps/details?id=com.miv.rtmpcamera&hl=it

Webcom-tlc avatar Aug 23 '19 05:08 Webcom-tlc

I tried also with obs studio to transmit a video but it doesn't work, in this case there are no errors but if I open the stream with VLC I don't see anything. With ffmpeg it works, but I don't see the whole video, I tried a 5 minute video and the result is a 4 minute and 20 second video. If you are interested I have created a harmonic desktop application .net core.

Webcom-tlc avatar Aug 23 '19 07:08 Webcom-tlc

anyway congratulations and thanks for the wonderful application you did

Webcom-tlc avatar Aug 27 '19 09:08 Webcom-tlc

Hello, if i publish stream with an encoder i get error 'Operation is not valid due to the current state of the object.'

Here Senza nome

Webcom-tlc avatar Sep 18 '19 12:09 Webcom-tlc

sorry for late, I’ll keep tracking this problem and find out the reason

a1q123456 avatar Sep 19 '19 01:09 a1q123456

ok thank you

Webcom-tlc avatar Sep 19 '19 06:09 Webcom-tlc