This commit is contained in:
2026-07-01 01:49:51 +01:00
parent 808d6ac5db
commit c1da3abe7d
12 changed files with 1234 additions and 266 deletions
+17
View File
@@ -0,0 +1,17 @@
use std::sync::Arc;
use axum::{extract::State, response::IntoResponse};
use str0m::change::SdpOffer;
use tracing::info;
use crate::http::HttpServer;
pub async fn handle_whip_injest(
State(state): State<Arc<HttpServer>>,
offer: String,
) -> impl IntoResponse {
let sdp_offer = SdpOffer::from_sdp_string(&offer).unwrap();
for x in &sdp_offer.media_lines {
info!("{}", x);
}
}