[][src]Function skyway_webrtc_gateway_api::media::open_rtcp_socket

pub async fn open_rtcp_socket() -> Result<SocketInfo<RtcpId>, Error>

Have WebRTC Gateway open a socket for feeding rtcp.

It's bindings for POST /media/rtcp.

API

Examples

use skyway_webrtc_gateway_api::media::open_rtcp_socket;

async fn example() {
    let result = open_rtcp_socket().await;
}