You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've got it in a state where it should be working, but its not. So far, I'm getting ICE candidates, sending them to connected peers, with ICE trickling enabled. But still works among native or WASM, but not both. I had to pause this last week, but will look into it again on Monday.
Minor changes:
let ice_server_config_list = [ice_server_config];
peer_config.ice_servers(&serde_wasm_bindgen::to_value(&ice_server_config_list).unwrap());
peer_config.ice_transport_policy(RtcIceTransportPolicy::Relay);RtcPeerConnection::new_with_configuration(&peer_config).unwrap();
NOTE: I noticed right before I had to move on, that the signaling server was not properly handling Native and WASM, at least it the minimal demo Im using. So it might be something simple, and things might work after that.
Ok, I got back into this. Made some progress and got WASM communicating to Native but breaks in the other direction. I think I understand the ICE back and forth chatter requirements for trickling now. Should have more info by EOD.
Basically, I'm selecting for receiving ICE candidates and checking if data channel is ready, all while sending ICE candidates to remote peers.
Activity
rozgo commentedon Nov 26, 2022
One of our projects needs this to work. I'll look into this and report back.
johanhelsing commentedon Dec 9, 2022
@rozgo How did it go?
rozgo commentedon Dec 11, 2022
I've got it in a state where it should be working, but its not. So far, I'm getting ICE candidates, sending them to connected peers, with ICE trickling enabled. But still works among native or WASM, but not both. I had to pause this last week, but will look into it again on Monday.
Minor changes:
Listening for OnIceCandidates:
Handling the new candidate with existing message:
NOTE: I noticed right before I had to move on, that the signaling server was not properly handling Native and WASM, at least it the minimal demo Im using. So it might be something simple, and things might work after that.
rozgo commentedon Dec 13, 2022
Ok, I got back into this. Made some progress and got WASM communicating to Native but breaks in the other direction. I think I understand the ICE back and forth chatter requirements for trickling now. Should have more info by EOD.
Basically, I'm selecting for receiving ICE candidates and checking if data channel is ready, all while sending ICE candidates to remote peers.
rozgo commentedon Dec 13, 2022
Ok, it works. will clean up the code and submit a PR tonight.
johanhelsing commentedon Dec 15, 2022
Awesome! I'll have some time today and tomorrow to review it
johanhelsing commentedon Dec 17, 2022
Done in #54 🎉