# RTMP Source time formats

**URL:** <https://community.wowza.com/t/rtmp-source-time-formats/54540>\
**Category:** Hire a Consultant\
**Created:** [January 28, 2020, 3:43pm UTC](https://community.wowza.com/t/rtmp-source-time-formats/54540 "2020-01-28T15:43:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Parvathi\_Krishna](https://avatars.discourse-cdn.com/v4/letter/p/ea666f/32.png) [@Parvathi\_Krishna](https://community.wowza.com/u/Parvathi_Krishna)\
**Post date:** [January 28, 2020, 3:43pm UTC](https://community.wowza.com/t/rtmp-source-time-formats/54540/1 "2020-01-28T15:43:31Z")

</div>

Hi,

Could you please help me in getting how metadata will be associated each RTMP frame?

Please help me with examples of RTMP source time format and timecode format associated with individual frames?

Thanks

Parvathi

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [January 28, 2020, 11:16pm UTC](https://community.wowza.com/t/rtmp-source-time-formats/54540/2 "2020-01-28T23:16:05Z")

</div>

It sounds like you are looking to inject timecode metadata into your rtmp stream, and then subsequently read this metadata @Parvathi Krishna?

Are you basing your injectMetaData call on the following code example that we have?

[https://www.wowza.com/docs/how-to-inject-cue-points-or-metadata](https://www.wowza.com/docs/how-to-inject-cue-points-or-metadata)

If so, comment out adding the setDataFrame AMFDataItem.

```auto
amfList.add(new AMFDataItem("@setDataFrame"));

```

This usually specifies that the metadata is only added to the start of the stream. Since you are looking to add the timestamp throughout the stream, commenting out the above should allow you to add the AMFDataItem.

* * *

We do not recommend adding it to each frame though. Maybe every X seconds, but not each frame. One way to do this is to add a listener for the publish event. You can then have a Timer task thread that periodically calls injectMetaData every x seconds, where your injectMetaData is inserting the AMF data packet.

Here’s more information on using event listeners:  
[https://www.wowza.com/docs/how-to-use-event-listeners-in-wowza-media-server](https://www.wowza.com/docs/how-to-use-event-listeners-in-wowza-media-server)

Hope that helps! Send us a [support ticket](https://www.wowza.com/support/open-ticket)if you’d like the engineers to set this up with you.
