[−][src]Function skyway_webrtc_gateway_api::media::status
pub async fn status<'_>(
media_connection_id: &'_ MediaConnectionId
) -> Result<MediaConnectionStatus, Error>
Request status of MediaConnection
It's bindings for GET /media/connections/{media_connection_id}/events.
Examples
use skyway_webrtc_gateway_api::media::status; use skyway_webrtc_gateway_api::prelude::MediaConnectionId; async fn example() { let media_connection_id = MediaConnectionId::new("mc-example"); let result = status(&media_connection_id).await; }