Add timestamps to the stream

This commit is contained in:
QuantumEntangledAndy committed 2020-06-30 21:16:33 +07:00
1 parent 83e25c86b2
commit 73536b5f55
1 file changed
+1 -1
+1 -1
View File
@@ -36,7 +36,7 @@ impl RtspServer {
//factory.set_protocols(RTSPLowerTrans::TCP);
factory.set_launch(&format!("{}{}{}{}",
"( ",
"appsrc name=writesrc is-live=true block=true emit-signals=false max-bytes=0 ",
"appsrc name=writesrc is-live=true block=true emit-signals=false max-bytes=0 do-timestamp=true ",
launch,
" )"
));