This message was deleted.
# helpdesk
s
This message was deleted.
m
Hey there, these are asynchronous calls. You probably need to async/await them or chain them in promise callbacks. For network requests, you can’t be 100% sure of the order these operations arrive and execute on the server.
b
In desktop livekit client it works as expected
I mean the js client
m
Are you running locally?
b
Yes
m
Try awaiting and see what happens?
b
Okay
Will try
m
I’m not familiar with RN, so maybe there’s something about it I don’t understand. cc @eager-raincoat-52616 just in case.
e
Hmm dont know of any differences here that would cause a behavior change here on RN.
d
what is
desktop livekit client
?
b
I mean the js client
d
that's interesting.. could you file an issue on GH for this? we'll take a deeper look as to what the issue may be.
b
okay
i guess the problem is with react-native-webrtc or the way I am using it, it doesnt stop the previous negotiation when I start another in between the first negotiation, or doesnt synchronize the 2 negotiations.
cc @dry-elephant-14928
d
Our SDK should manage that. If it's in the middle of a negotiation, it would wait for it to be complete before starting another one.