-
Notifications
You must be signed in to change notification settings - Fork 318
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
can't transfer data when not in a lan #330
Comments
It looks like the viewer is encountering |
@377517827 This commit(4d76c92) may be helpful, since you can not receive the stun packets under wp2-enterprise network when you want to use turn. |
@chehefen Could you check this log? 2020-04-13 07:06:48 VERBOSE lwsHttpCallbackRoutine(): HTTPS callback with reason 71 log_master-with-new-commit.txt |
@chehefen another strange behavior. |
These logs came after updating to the newest commit. |
It seems that TCP connection cannot be established. Can you check your firewall setting? |
Yes, the same problem is currently encountered, a little Low Turn Success Rate in Devices
|
@juno52wendy, for issue 1, can you tell us what are you using as viewer? if it is the js sample, can you tell us which browser you are using? Also can you show us the log when it fails? |
|
Summarize the result of experiments from the beginning. #2: one device connects to one wifi access point(wpa2-personal), and another device connects to another wifi acccess point(wpa2-enterprise). Failed. #3: updated codebase to the commit(4d76c92). one device connects to one wifi access point(wpa2-personal), and another device connects to another wifi acccess point(wpa2-enterprise). Failed. #4: change the protocol of turn from tcp to udp. one device connects to one wifi access point(wpa2-personal), and another device connects to another wifi acccess point(wpa2-enterprise). Failed. #5: using two web test pages on different laptops and connect to the same wifi access point(wpa2-enterprise). Success #6: two devices connect to the same wifi access point(wpa2-enterprise) after exp#5. Failed Confirmed with IT guy, and no block operation is used. Based on the result of #5, it can work when using web test pages, but c sdk can not work well. |
The process of turn seems not to be normal. Before updating the specific commit(4d76c92) , logs usually show socket in use, sendto error.. etc. After updating the specific commit, the error of logs became less. |
At present, it is true that c sdk is immature and there is still a certain distance from productization. When docking with its own product echoshow, it not only has high requirements for network delay, but also has a very low success rate. Especially for the turn server, the analysis of Allocate request, create permission, channelbind, channeldata, send indication is often unsuccessful. The turn server of the package capture kvs is also based on the modification of the open source coturn server source code. Perfect, still waiting for more mature and docking products. |
Hi @377517827, your issue should be fixed as of d273359. Can you try it out? Thanks. |
version: commit 4e13ff8
issue: when master and viewer connect the same network, transfer video data ok. But when master and viewer not in the same network, viewer can't get any video data.
master log:master.txt
viewer log:viewer.txt
The text was updated successfully, but these errors were encountered: