Skip to content
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

src: stream: rtsp: shmsrc needs to do-timestamp #355

Merged
merged 1 commit into from Mar 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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