Hi,<div><br></div><div>I am streaming out packets with RTMP output format to Wowza media server.</div><div>I have a packet buffer as the input of the RTMP muxer.</div><div>I can send the packets faster than their duration - by av_interleaved_write_frame calls.</div>
<div>I send all the packets in the buffer until it is empty, and then wait for new packets to come. </div><div>The problem is:</div><div>During playback from Wowza the frames are displayed in the same timing as they were sent with av_interleaved_write_frame calls resulting fast playback and pause/still until the next bunch of packets.</div>
<div><br></div><div>With command line ffmpeg I can use "-re" option to make the flow real-time.</div><div>Is there a lib counterpart of this option?</div><div>Or must I implement manually this "real-time" option?</div>
<div>Why aren't PTS/DTS used by muxer/wowza/player?</div><div><br></div><div>Thanks for any help in advance.</div><div>Gyula</div>