Wowza Community

Timestamps insertion in RTMP output

Hi,

We are feeding RTP/RTSP stream to wowza and transcoding to 3 resolution and publishing the transcoded stream using RTMPPushPublish plugin. Further in the RTMPPushPublish plugin, we are configuring the publisher to use OriginalTimecodes. Does this mean that the timestamps being inserted in the outgoing RTMP packets will exactly match the RTP timestamps in the incoming RTP stream? If not can you please tell us how timestamps are being inserted the RTMP packets.

This is the piece of code that we are using

publisher.setSendOriginalTimecodes(true);
publisher.setOriginalTimecodeThreshold(0x100000);

Also what does setOriginalTimecodeThreshold mean in the above code?

Thank you,

Rakshith

Hi Rakshith,

It’s my understanding that Push Publisher (now known as Stream Targets) inserts new time codes if setSendOriginalTimecodes is false. In Wowza Streaming Engine Manager on the “Applications > [liveAppName] > Stream Targets > [StreamTargetName]” page you should be able to see the “Advanced” tab. Check the user has the correct permissions to see this using the link below.

How to get started as a Wowza Streaming Engine Manager administrator

In this section you can hover over a question mark for each of the properties that can be configued. Blow is the information provided for Send Original Timecodes

Send Original Timecodes

If true, sends the source stream’s absolute timecodes (needed for adaptive bitrate streaming). Overrides the Adaptive Streaming = true setting change.

Regards,

Jason