# Apple hls played file tracking form smil file

**URL:** <https://community.wowza.com/t/apple-hls-played-file-tracking-form-smil-file/44333>\
**Category:** Wowza Streaming Engine\
**Created:** [November 26, 2014, 9:27pm UTC](https://community.wowza.com/t/apple-hls-played-file-tracking-form-smil-file/44333 "2014-11-26T21:27:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![RAMA\_SHANKAR](https://avatars.discourse-cdn.com/v4/letter/r/c37758/32.png) [@RAMA\_SHANKAR](https://community.wowza.com/u/RAMA_SHANKAR)\
**Post date:** [November 26, 2014, 9:27pm UTC](https://community.wowza.com/t/apple-hls-played-file-tracking-form-smil-file/44333/1 "2014-11-26T21:27:48Z")

</div>

hi i am using wowza streaming engine 4 , to stream smil file

i am able to trace events when file play on flash,

and gether informantions like , which file play , time etc,

in onConnect() event,

precisely i want to get which file is played from my smil file.

but in case of apple hls streaming when i try to get file name in onHTTPSessionDestroy() method , eg.

```auto
 public void onHTTPSessionDestroy(IHTTPStreamerSession httpSession) {
    			String streamName = httpSession.getStreamName();
    } 

```

i only get the name of smil file , not the actual file played .

is it possible to get the played file info in wowza hls steaming

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [December 10, 2014, 9:09am UTC](https://community.wowza.com/t/apple-hls-played-file-tracking-form-smil-file/44333/2 "2014-12-10T09:09:29Z")

</div>

Hello there and welcome to the Wowza support forum.

There are new API’s which may accommodate this request:

```auto
 public void onHTTPStreamerRequest(IHTTPStreamerSession httpSession, IHTTPStreamerRequestContext reqContext)

```

And specific to HLS:

```auto
public void onHTTPCupertinoStreamerRequest(HTTPStreamerSessionCupertino httpSession, HTTPStreamerCupertinoRequestContext reqContext)

```

There is also a validation event handler:

Implement the IVHostHTTPStreamerRequestValidator interface and handle the validateHTTPStreamerRequest event.

You can find more information in the ServerSideAPI guide that ships with Wowza [install-dir]/documentation/WowzaStreamingEngine\_ServerSideAPI.pdf

Kind regards,

Salvadore

---

<div class="post-metadata">

**Author:** ![Karel\_Boek](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/karel_boek/32/454_2.png) [@Karel\_Boek](https://community.wowza.com/u/Karel_Boek)\
**Post date:** [December 22, 2014, 6:36pm UTC](https://community.wowza.com/t/apple-hls-played-file-tracking-form-smil-file/44333/3 "2014-12-22T18:36:53Z")

</div>

The onHTTPCupertinoStreamerRequest is not mentioned in the Server Side API documentation (yet) I found the onHTTPStreamerRequest as part of the IHTTPStreamerRequestNotify. Where do I implement this interface; as a part of a module or in the same way as the IVHostHTTPStreamerRequestValidator (see page 1840 of the API PDF)?

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [December 23, 2014, 8:22am UTC](https://community.wowza.com/t/apple-hls-played-file-tracking-form-smil-file/44333/4 "2014-12-23T08:22:04Z")

</div>

This has been made available by extending ModuleBase:

```auto
public void onHTTPCupertinoStreamerRequest(HTTPStreamerSessionCupertino httpSession, HTTPStreamerCupertinoRequestContext reqContext){
		getLogger().info("onHTTPCupertinoStreamerRequest");
	}

```

Sorry for any confusion or misdirection.

Kind regards,

Salvadore
