Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error #9

Open
Webcom-tlc opened this issue Aug 21, 2019 · 7 comments
Open

Error #9

Webcom-tlc opened this issue Aug 21, 2019 · 7 comments

Comments

@Webcom-tlc
Copy link

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

@a1q123456
Copy link
Owner

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.

@Webcom-tlc
Copy link
Author

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

@Webcom-tlc
Copy link
Author

Webcom-tlc commented Aug 23, 2019

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
Copy link
Author

anyway congratulations and thanks for the wonderful application you did

@Webcom-tlc
Copy link
Author

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

@a1q123456
Copy link
Owner

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

@Webcom-tlc
Copy link
Author

ok thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants