# Timecode support with ns.onFI function

**URL:** <https://community.wowza.com/t/timecode-support-with-ns-onfi-function/37319>\
**Category:** Wowza Streaming Engine\
**Created:** [October 21, 2011, 1:04pm UTC](https://community.wowza.com/t/timecode-support-with-ns-onfi-function/37319 "2011-10-21T13:04:34Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mike\_Connell](https://avatars.discourse-cdn.com/v4/letter/m/f4b2a3/32.png) [@Mike\_Connell](https://community.wowza.com/u/Mike_Connell)\
**Post date:** [October 21, 2011, 1:04pm UTC](https://community.wowza.com/t/timecode-support-with-ns-onfi-function/37319/1 "2011-10-21T13:04:34Z")

</div>

Adobe FME supports the concept of inserting timecode into the live stream. Does Wowza pass this stream? We do not see any data coming from ns.onFI

We want to use the timecode track for other function. Any examples of a player that extracts and displays the timecode values.

---

<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:** [October 23, 2011, 11:21am UTC](https://community.wowza.com/t/timecode-support-with-ns-onfi-function/37319/2 "2011-10-23T11:21:21Z")

</div>

Wowza just reflects streams in this case, so data inserted by FMLE should be present, and should be retrievable in Flash client as usual. Here is an Adobe guide:

[http://help.adobe.com/en\_US/FlashMediaLiveEncoder/3.0/Using/WS5b3ccc516d4fbf351e63e3d11c104ba9cd-7ffe.html](http://help.adobe.com/en_US/FlashMediaLiveEncoder/3.0/Using/WS5b3ccc516d4fbf351e63e3d11c104ba9cd-7ffe.html)

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:** [December 15, 2011, 6:30pm UTC](https://community.wowza.com/t/timecode-support-with-ns-onfi-function/37319/3 "2011-12-15T18:30:13Z")

</div>

Take a look at this method:

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

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:** [December 15, 2011, 6:42pm UTC](https://community.wowza.com/t/timecode-support-with-ns-onfi-function/37319/4 "2011-12-15T18:42:57Z")

</div>

Also, try onFi (lower case i)

Or onCall is a catchall for any netconnection.call from Flash.

Richard

---

<div class="post-metadata">

**Author:** ![kashif\_iqbal](https://avatars.discourse-cdn.com/v4/letter/k/3d9bf3/32.png) [@kashif\_iqbal](https://community.wowza.com/u/kashif_iqbal)\
**Post date:** [December 15, 2011, 10:17am UTC](https://community.wowza.com/t/timecode-support-with-ns-onfi-function/37319/5 "2011-12-15T10:17:53Z")

</div>

I’m trying to process the same method but at the server side but it seems that Wowza doesn’t invoke this method at the server. I have tested that other (e.g. publish) methods are being successfully invoked but not this one.

```auto
public void onFI(IClient client, RequestFunction function, AMFDataList params) {
               getLogger().info("onFI");
}

```

Am I missing something?

---

<div class="post-metadata">

**Author:** ![kashif\_iqbal](https://avatars.discourse-cdn.com/v4/letter/k/3d9bf3/32.png) [@kashif\_iqbal](https://community.wowza.com/u/kashif_iqbal)\
**Post date:** [December 15, 2011, 11:27am UTC](https://community.wowza.com/t/timecode-support-with-ns-onfi-function/37319/6 "2011-12-15T11:27:39Z")

</div>

Well,

I have figured out the problem. onFI is being called on the netstream not netconnection. So, I need to register callback on IMediaStream.

Thanks any ways!
