-
Notifications
You must be signed in to change notification settings - Fork 39
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
Data loss occurs in the RTCDataChannel #99
Comments
@shepeliev I have review this commit. |
I did this test because I was trying to set up faster communication between WKWebView and native instead of WKScriptMessageHandler based communication. Maybe I should be suspicious of the WKWebView problem? |
Having the same issue with iOS data channel, most of the time the data channel is closed with no events or feedback |
iOS data channel (From Maybe this is related https://groups.google.com/g/discuss-webrtc/c/9NObqxnItCg |
Hello @shepeliev! |
@tamimattafi, I've just published it. |
Thank you! @shepeliev |
webrtc-sdk/Specs/114.5735.08
my demo is simple, open RTCDataChannel by webrtc-kmp and safari.
then 10MB of data is sent, 64kb at one time.
In theory, 157 times need to be sent to complete the transmission, but on the native side, often only 42 to 44 times can be received.
The same DEMO is correct on Android.
I've read the source code for webrtc-kmp and I don't find it problematic. So one can only suspect that something is wrong here.
js code:
I don't think there's anything wrong with this code, and on Android, it works correctly, so I'm just Posting it here for reference.
Can you give me some inspiration?
The text was updated successfully, but these errors were encountered: