# Injecting cue points into incoming stream and retranslating them to RTMP/nDVR

**URL:** <https://community.wowza.com/t/injecting-cue-points-into-incoming-stream-and-retranslating-them-to-rtmp-ndvr/34908>\
**Category:** Wowza Streaming Engine\
**Created:** [May 11, 2012, 10:57am UTC](https://community.wowza.com/t/injecting-cue-points-into-incoming-stream-and-retranslating-them-to-rtmp-ndvr/34908 "2012-05-11T10:57:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dmitry\_Fedorov](https://avatars.discourse-cdn.com/v4/letter/d/4da419/32.png) [@Dmitry\_Fedorov](https://community.wowza.com/u/Dmitry_Fedorov)\
**Post date:** [May 11, 2012, 10:57am UTC](https://community.wowza.com/t/injecting-cue-points-into-incoming-stream-and-retranslating-them-to-rtmp-ndvr/34908/1 "2012-05-11T10:57:04Z")

</div>

Hi there.

I got incoming RTMP stream (made with Wirecast) and want to inject cue points into it before retranslating this stream to RTMP or HDS. Any suggestions how to implement it? My original approach to add cue points to outcoming streams turned out to be faulty, I have to inject cue points into incoming stream before it will be redistributed to RTMP/HDS.

Any ideas how to implement it or/and where to look?

Thanks.

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [May 11, 2012, 12:57pm UTC](https://community.wowza.com/t/injecting-cue-points-into-incoming-stream-and-retranslating-them-to-rtmp-ndvr/34908/2 "2012-05-11T12:57:19Z")

</div>

First follow this guide:

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

Then follow this one:

[https://www.wowza.com/docs/how-to-convert-ontextdata-events-in-a-live-or-vod-stream-to-timed-events-id3-tags-in-an-apple-hls-stream](https://www.wowza.com/docs/how-to-convert-ontextdata-events-in-a-live-or-vod-stream-to-timed-events-id3-tags-in-an-apple-hls-stream)

And this:

[https://www.wowza.com/docs/how-to-debug-timed-data-events-id3-tags-from-apple-hls-streams-in-ios-devices](https://www.wowza.com/docs/how-to-debug-timed-data-events-id3-tags-from-apple-hls-streams-in-ios-devices)

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [May 11, 2012, 2:55pm UTC](https://community.wowza.com/t/injecting-cue-points-into-incoming-stream-and-retranslating-them-to-rtmp-ndvr/34908/3 "2012-05-11T14:55:41Z")

</div>

This should work. You do need to create a Flash RTMP controller, only the essential Actionscript for that is shown. If you would like a list of consultants that can help with such a project, write to support@wowza.com and ask for list of independent consultants.

Richard

---

<div class="post-metadata">

**Author:** ![Dmitry\_Fedorov](https://avatars.discourse-cdn.com/v4/letter/d/4da419/32.png) [@Dmitry\_Fedorov](https://community.wowza.com/u/Dmitry_Fedorov)\
**Post date:** [May 11, 2012, 4:14pm UTC](https://community.wowza.com/t/injecting-cue-points-into-incoming-stream-and-retranslating-them-to-rtmp-ndvr/34908/4 "2012-05-11T16:14:19Z")

</div>

Hi there, Richard.

Point is stream coming from Wirecast and I got no client to inject cue points. They’re supposed to be injected by some kind of wowza module on timer events.

Idea is to inform player at user’s side of time of video stream. Example:

- incoming stream is injected with cue points every 5 mins.

- at 12:00 this stream is showing, let’s say, a flag, cue point with timestamp indicating its 12:00 is injected

- this video stream is retranslated to nDVR and/or live

- despite latency in retranslation and possible delay in DVR, when flag is shown, cue point with 12:00 timestamp is triggered. Please note it may (and most likely will) happen not at “actual” 12:00, but later.

These guides are injecting data in **outcoming** stream while I need to inject it in **incoming** stream which will be retranslated by ‘dvr’ and/or ‘live’ application later.

p.s. And by the way, I don’t get what in iOS guides relates to my question. I’m surely not getting something, can you please get a little bit more into details here?
