Restarting stream causes "NetConnection.Connect.Closed" (v2.0.0-rc.0) #1597
Unanswered
abhinandan-chakraborty
asked this question in
Q&A
Replies: 1 comment
-
I haven't encountered that case, so I'm not sure. I'd like to see the log when the connection is cut off for the second time. Please set it as follows and paste the values output in Xcode. import Logboard
LBLogger.with(kHaishinKitIdentifier).level = .trace |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi again, I'm noticing issue with restarting stream after closing the stream. here is an example:
Basic Setup:
Start Stream:
Stop Stream:
When
stopStream
function is called it successfully print connection closed in theinit
methodBut the problem is if now I try to call the
startStream
function again it immediately closes the connection after a second of connection success with the same log:I also tried to stop stream with this inside
stopStream
function :but it still behave similarly as the
connection.close()
. Sometimes it works fine and sometimes it fails to connect during restart. Is there any way to avoid this problem?Beta Was this translation helpful? Give feedback.
All reactions