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 am learning rust by building a webRTC application and at the same time learning webRTC, to say the learning curve has been steep is an understatement 馃槃
I have a slight issue with the rust application currently using the examples as a base, the session descriptiong being sent both from within a Docker environment and on a Digital Ocean droplet contains the IP address 0.0.0.0, I think this is the reason I am unable to start a webRTC session from my desktop to these environments, of course, running everything locally works beautifully (given a few tweaks and improvements, but it works 馃槃 )
let answer = peer_connection.create_answer(None).await?;
peer_connection.set_local_description(answer).await?;
if let Some(local_desc) = peer_connection.local_description().await {
let json_str = serde_json::to_string(&local_desc)?;
let b64 = encode(&json_str);
let _out = socket.send(Message::Text(format!(
r#"{{"type": "host", "session": "{}"}}"#,
b64
)));
} else {
println!("generate local_description failed!");
}
'''
I am not sure what else I can do to debug this as kinda hit a brick wall, I am so close to getting to the next stage of this project, but need it working within Docker to continue 馃槃
Any help would be appreciated
The text was updated successfully, but these errors were encountered:
Hello WebRTC-RS
I am learning rust by building a webRTC application and at the same time learning webRTC, to say the learning curve has been steep is an understatement 馃槃
I have a slight issue with the rust application currently using the examples as a base, the session descriptiong being sent both from within a Docker environment and on a Digital Ocean droplet contains the IP address 0.0.0.0, I think this is the reason I am unable to start a webRTC session from my desktop to these environments, of course, running everything locally works beautifully (given a few tweaks and improvements, but it works 馃槃 )
The bit I am looking at is the following:
'''
peer_connection.set_remote_description(offer).await?;
'''
I am not sure what else I can do to debug this as kinda hit a brick wall, I am so close to getting to the next stage of this project, but need it working within Docker to continue 馃槃
Any help would be appreciated
The text was updated successfully, but these errors were encountered: