-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add whipinto/whepfrom audio support #224
Conversation
WhipIntoRTPOnly video
Failed
Only audio
Failed
Audio and Video
success RTSP ClientOnly video
Only audio
Audio and Video
|
pub video_rtcp_client: Option<u16>, | ||
pub video_rtp_server: Option<u16>, | ||
pub audio_rtp_client: Option<u16>, | ||
pub audio_rtp_server: Option<u16>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not no audio_rtcp_client
?
libs/rtsp/src/lib.rs
Outdated
}) | ||
.unwrap(); | ||
|
||
println!("recordrrrrr {:?}", self.media_info); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
......
libs/rtsp/src/lib.rs
Outdated
Response::builder(req.version(), StatusCode::Ok) | ||
.header(headers::CSEQ, req.header(&headers::CSEQ).unwrap().as_str()) | ||
.header(headers::SERVER, "whipinto") | ||
.build(self.sdp.clone().unwrap()) | ||
} | ||
|
||
fn describe(&self, req: &Request<Vec<u8>>) -> Response<Vec<u8>> { | ||
fn describe(&mut self, req: &Request<Vec<u8>>) -> Response<Vec<u8>> { | ||
if self.sdp.is_none() { | ||
println!("sdp is none"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warn!
or error!
tools/whepfrom/src/main.rs
Outdated
#[arg(long)] | ||
auth_basic: Option<String>, | ||
/// Authentication token to use, will be sent in the HTTP Header as 'Bearer ' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why Remove command help describe?
https://docs.rs/clap/latest/clap/_derive/_tutorial/chapter_0/index.html
Completed by the way #140