Skip to content

Commit

Permalink
src: stream: rtsp: shmsrc needs to do-timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
joaoantoniocardoso authored and patrickelectric committed Mar 11, 2024
1 parent 486d295 commit c02dc29
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/stream/rtsp/rtsp_server.rs
Expand Up @@ -138,7 +138,7 @@ impl RTSPServer {
"H264" => {
format!(
concat!(
"shmsrc socket-path={socket_path} is-live=true",
"shmsrc socket-path={socket_path} do-timestamp=true is-live=true",
" ! queue leaky=downstream flush-on-eos=true silent=true max-size-buffers=0",
" ! capsfilter caps={rtp_caps:?}",
" ! rtph264depay",
Expand All @@ -151,7 +151,7 @@ impl RTSPServer {
"RAW" => {
format!(
concat!(
"shmsrc socket-path={socket_path} is-live=true",
"shmsrc socket-path={socket_path} do-timestamp=true is-live=true",
" ! queue leaky=downstream flush-on-eos=true silent=true max-size-buffers=0",
" ! capsfilter caps={rtp_caps:?}",
" ! rtpvrawdepay",
Expand All @@ -164,7 +164,7 @@ impl RTSPServer {
"JPEG" => {
format!(
concat!(
"shmsrc socket-path={socket_path} is-live=true",
"shmsrc socket-path={socket_path} do-timestamp=true is-live=true",
" ! queue leaky=downstream flush-on-eos=true silent=true max-size-buffers=10",
" ! capsfilter caps={rtp_caps:?}",
" ! rtpjpegdepay",
Expand Down

0 comments on commit c02dc29

Please sign in to comment.