Home
last modified time | relevance | path

Searched refs:RtspRequest (Results 1 – 2 of 2) sorted by relevance

/xiu/protocol/rtsp/src/http/
H A Dmod.rs7 pub struct RtspRequest { struct
19 impl RtspRequest { argument
25 impl Unmarshal for RtspRequest { implementation
27 let mut rtsp_request = RtspRequest::default(); in unmarshal()
86 impl Marshal for RtspRequest { implementation
185 use super::RtspRequest;
266 if let Some(parser) = RtspRequest::unmarshal(data1) { in test_parse_rtsp_request()
296 if let Some(parser) = RtspRequest::unmarshal(data2) { in test_parse_rtsp_request()
/xiu/protocol/rtsp/src/session/
H A Dmod.rs36 use super::http::RtspRequest;
180 if let Some(rtsp_request) = RtspRequest::unmarshal(std::str::from_utf8(&data)?) { in on_rtsp_message()
217 async fn handle_options(&mut self, rtsp_request: &RtspRequest) -> Result<(), SessionError> { in handle_options()
227 async fn handle_describe(&mut self, rtsp_request: &RtspRequest) -> Result<(), SessionError> { in handle_describe()
267 async fn handle_announce(&mut self, rtsp_request: &RtspRequest) -> Result<(), SessionError> { in handle_announce()
326 async fn handle_setup(&mut self, rtsp_request: &RtspRequest) -> Result<(), SessionError> { in handle_setup()
413 async fn handle_play(&mut self, rtsp_request: &RtspRequest) -> Result<(), SessionError> { in handle_play()
544 async fn handle_record(&mut self, rtsp_request: &RtspRequest) -> Result<(), SessionError> { in handle_record()
563 fn handle_teardown(&mut self, rtsp_request: &RtspRequest) -> Result<(), SessionError> { in handle_teardown()
638 fn gen_response(status_code: StatusCode, rtsp_request: &RtspRequest) -> RtspResponse { in gen_response()