pub async fn open_data_socket() -> Result<SocketInfo<DataId>, Error>
Expand description
This function let a WebRTC Gateway open a socket to receive media which will be redirected to neighbour peer.
ยงExamples
use skyway_webrtc_gateway_api::data::open_data_socket;
async fn example() {
let result = open_data_socket().await;
}