pub(crate) async fn new_pair(api: &API) -> Result<(RTCPeerConnection, RTCPeerConnection)> {
    let pca = api.new_peer_connection(RTCConfiguration::default()).await?;
    let pcb = api.new_peer_connection(RTCConfiguration::default()).await?;

    Ok((pca, pcb))
}
/// new_pair creates two new peer connections (an offerer and an answerer)
/// *without* using an api (i.e. using the default settings).
new_pair creates two new peer connections (an offerer and an answerer)
without* using an api .
new_pair creates two new peer connections ( an offerer and an answerer ) without * using an api .
pub(crate) async fn new_pair(api: &API) -> Result<(RTCPeerConnection, RTCPeerConnection)> {
    let pca = api.new_peer_connection(RTCConfiguration::default()).await?;
    let pcb = api.new_peer_connection(RTCConfiguration::default()).await?;
    Ok((pca, pcb))
}
pub ( crate ) async fn new_pair ( api : & API ) -> Result < ( RTCPeerConnection , RTCPeerConnection ) > { let pca = api . new_peer_connection ( RTCConfiguration :: default ( ) ) . await ? ; let pcb = api . new_peer_connection ( RTCConfiguration :: default ( ) ) . await ? ; Ok ( ( pca , pcb ) ) }
new_pair creates two new peer connections (an offerer and an answerer)
without* using an api (i.e.
new_pair creates two new peer connections ( an offerer and an answerer ) without * using an api ( i . e .
api
&API