[][src]Function skyway_webrtc_gateway_api::media::delete_rtcp

pub async fn delete_rtcp<'_>(rtcp_id: &'_ RtcpId) -> Result<(), Error>

Have WebRTC Gateway close a rtcp socket.

It's bindings for DELETE /media/rtcp/{rtcp_id}

API

Examples

use skyway_webrtc_gateway_api::media::delete_rtcp;
use skyway_webrtc_gateway_api::prelude::RtcpId;

async fn example() {
    let rtcp_id = RtcpId::new("rc-example");
    let result = delete_rtcp(&rtcp_id).await;
}