-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
srtcore/core.cpp@6491:sendmsg2 14:54:30.657568/Thread-60*E:SRT.as: INVALID: Data size for sending declared with length: 0 #28
Comments
Sometimes when i call send()method it give me: java.net.SocketTimeoutException: Connection setup failure: socket closed during operation. |
Hi, About the second exception, it is explicit: the socket has been closed. |
Hi, when i used srtSocket.getOutputStream(null).write(buffer.array()); it is ok. but in your kotlin project,all is ok. |
when i call send() method,then the socket been closed. Not socket been closed ,then call send() mistake. I test many times,and also see the server. |
So, you don't face the first issue anymore? I believe the only issue you face is that you are trying to use message API with an incorrect size of buffer. Either:
|
i put the aar in my android java project, the connect is correct,but when i call send() method,it give me the error
The text was updated successfully, but these errors were encountered: