Skip to main content

delete_session

Function delete_session 

Source
pub async fn delete_session(state: &AppState, session_id: &str) -> AppResult<()>
Expand description

Delete a playback session: release its segment read-locks and remove its HLS dir. Idempotent in the locks (best-effort); 404 if the session does not exist.