bump: 0.4.0 (WHIP support)
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "server"
|
name = "server"
|
||||||
version = "0.3.0"
|
version = "0.4.0"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
|
|
||||||
[target.x86_64-unknown-linux-gnu]
|
[target.x86_64-unknown-linux-gnu]
|
||||||
|
|||||||
@@ -9,8 +9,8 @@ use axum::{
|
|||||||
use bytes::Bytes;
|
use bytes::Bytes;
|
||||||
use chrono::{Local, Utc};
|
use chrono::{Local, Utc};
|
||||||
use dashmap::DashMap;
|
use dashmap::DashMap;
|
||||||
use entity::{stream_key, stream_session};
|
use entity::{stream_key, stream_session, users};
|
||||||
use sea_orm::{DatabaseConnection, IntoActiveModel};
|
use sea_orm::{DatabaseConnection, EntityTrait, IntoActiveModel};
|
||||||
use str0m::{
|
use str0m::{
|
||||||
Candidate, Event, Input, Output, Rtc,
|
Candidate, Event, Input, Output, Rtc,
|
||||||
change::SdpOffer,
|
change::SdpOffer,
|
||||||
@@ -279,7 +279,7 @@ pub async fn handle_whip_injest(
|
|||||||
audio_tx.set_overflow(true);
|
audio_tx.set_overflow(true);
|
||||||
|
|
||||||
let user = users::Entity::find_by_id(key.user_id)
|
let user = users::Entity::find_by_id(key.user_id)
|
||||||
.one(&db)
|
.one(&state.db)
|
||||||
.await
|
.await
|
||||||
.unwrap()
|
.unwrap()
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|||||||
Reference in New Issue
Block a user