[−][src]Function skyway_webrtc_gateway_api::data::open_data_socket
pub async fn open_data_socket() -> Result<SocketInfo<DataId>, Error>
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; }