<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi guys,</div><div dir="ltr"><br></div><div dir="ltr"> I am using gst-rtsp-server with appsrc/appsink so that I can have an independent running pipeline:</div><div dir="ltr"></div><div dir="ltr"><ul><li>my "appsink" pipeline is : videotestsrc ! queue ! x264enc speed-preset=ultrafast tune=zerolatency ! appsink. </li></ul></div><div dir="ltr"></div><div dir="ltr"><ul><li>my "RTSP" pipeline is : appsrc caps=video/x-h264, .... ! rtph264pay name=pay0</li></ul><br>I am writing appsink buffer timestamps by hand based on the framerate.<br><br>Now I want to have a tee so that videos are serialized in a mkv file while streaming over RTSP.</div><div dir="ltr"><br></div><div dir="ltr">I can't have 2 tee branches working together. If the serialization is enabled I notice that my  <br>rtph264pay handle buffer is not smoothy running.  I know that is it better to disable async when using tee. I did that for appsink and filesink.</div><div dir="ltr"><br></div><div dir="ltr">I can also have the whole pipeline working without appsrc/appsink with everything done in gst-rtsp-server pipeline. But then the lifecycle of serialization will follow RTSP client connection. That is the reason why I choose appsrc/appsink.</div><div dir="ltr"><br></div><div dir="ltr">Is my issue due to async management in gst-rtsp-server  ?</div><div dir="ltr"><br></div><div>Thanks,</div><div><br></div><div>Eloi<br></div></div></div></div>