I am receiving a h264 RTP stream in gstreamer pipeline C . I want to change the PTS of the stream such that the stream should be delayed at receiver by some precise amount of time from the time which it was created at sender. i am currency directly adding the amount of delay i want in the already present PTS . but i am getting some extra delay in the range of 300ms to 900ms. ptimestramp = 5 seconds (5 sec of extra delay)
i am getting the delay in range of 5.300 ms to 8.900 ms
how can i get rid of this and get exact delay
architecture is something like this
browser-sender-client --->media-server---> Gstreamer-C-pipeline ---> media-server ---> browser-receiver-client
i want the stream to be played at browser-receiver-client by some precise amount of delay from the time it was created at sender side.