# HttpProvider request filters doesn't work properly

**URL:** <https://community.wowza.com/t/httpprovider-request-filters-doesnt-work-properly/44751>\
**Category:** Wowza Streaming Engine\
**Created:** [March 10, 2015, 10:58am UTC](https://community.wowza.com/t/httpprovider-request-filters-doesnt-work-properly/44751 "2015-03-10T10:58:14Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yuxiang\_Shen](https://avatars.discourse-cdn.com/v4/letter/y/278dde/32.png) [@Yuxiang\_Shen](https://community.wowza.com/u/Yuxiang_Shen)\
**Post date:** [March 10, 2015, 10:58am UTC](https://community.wowza.com/t/httpprovider-request-filters-doesnt-work-properly/44751/1 "2015-03-10T10:58:14Z")

</div>

Hi,

I wrote an httpprovider to generate media playlist. However Wowza server doesn’t invoke my http provider according to the request filter in VHost.Xml; Below is part of my Vhost.xml file. If a client sends a request like "[http://xxx/myStream/yshenmediaplaylist\_bandwidth\_64000bit?serverid=xxx&username=xxx;](http://xxx/myStream/yshenmediaplaylist_bandwidth_64000bit?serverid=xxx&username=xxx;) This request should be handled by my own httpprovider.

com.yshenWowza3.HttpProviders.CupertinoServer3

_yshenmediaplaylist_

none

However, in the debug mode, no break points is triggered. Instead, the wowza server returns the version info…☹

In addition, if the client request is like “[http://xxx/myStream/yshenmediaplaylist\*](http://xxx/myStream/yshenmediaplaylist*) (ends with '_’); The request will go to my http provider. So weird… can I put only one "_” in the filter?

Thank you in advance! 🙂

---

<div class="post-metadata">

**Author:** ![Zoran](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/zoran/32/385_2.png) [@Zoran](https://community.wowza.com/u/Zoran)\
**Post date:** [March 11, 2015, 12:00pm UTC](https://community.wowza.com/t/httpprovider-request-filters-doesnt-work-properly/44751/2 "2015-03-11T12:00:15Z")

</div>

Hi,

Where did you place the custom HTTP listener? Is it above or below the Server Version HTTP listener?

Zoran

---

<div class="post-metadata">

**Author:** ![Daren\_Johnson](https://avatars.discourse-cdn.com/v4/letter/d/ee59a6/32.png) [@Daren\_Johnson](https://community.wowza.com/u/Daren_Johnson)\
**Post date:** [July 26, 2015, 10:28pm UTC](https://community.wowza.com/t/httpprovider-request-filters-doesnt-work-properly/44751/3 "2015-07-26T22:28:41Z")

</div>

Hi

Support for displaying WebVTT thumbnials is buit into some players.

One such player is JW Player. They have their own support article on how to do this [here.](http://support.jwplayer.com/customer/portal/articles/1407439-adding-preview-thumbnails)

The thumbnails must be stored and referenced on a Webserver, such as the webserver you are hosting the player from.

Daren

---

<div class="post-metadata">

**Author:** ![huy\_mai](https://avatars.discourse-cdn.com/v4/letter/h/aeb1de/32.png) [@huy\_mai](https://community.wowza.com/u/huy_mai)\
**Post date:** [July 23, 2015, 10:58am UTC](https://community.wowza.com/t/httpprovider-request-filters-doesnt-work-properly/44751/4 "2015-07-23T10:58:57Z")

</div>

> Hi,
> 
> Where did you place the custom HTTP listener? Is it above or below the Server Version HTTP listener?
> 
> Zoran

Hi any body i want to use VTT THUMBNAIL on vod but i dont know how to store Sprite Image? please help?

---

<div class="post-metadata">

**Author:** ![Yuxiang\_Shen](https://avatars.discourse-cdn.com/v4/letter/y/278dde/32.png) [@Yuxiang\_Shen](https://community.wowza.com/u/Yuxiang_Shen)\
**Post date:** [March 11, 2015, 10:31am UTC](https://community.wowza.com/t/httpprovider-request-filters-doesnt-work-properly/44751/5 "2015-03-11T10:31:41Z")

</div>

Sure. I put it above the provider with request filters “\*”.

com.yshenWowza3.HttpProviders.CupertinoServer3

\*initsystem|\*masterplaylist|_yshenmediaplaylist_

none

Server\_ID

127001

String

com.wowza.wms.http.HTTPCrossdomain

\*crossdomain.xml

none

com.wowza.wms.http.HTTPClientAccessPolicy

\*clientaccesspolicy.xml

none

com.wowza.wms.http.HTTPProviderMediaList

\*jwplayer.rss|\*jwplayer.smil|\*medialist.smil|\*manifest-rtmp.f4m

none

com.wowza.wms.timedtext.http.HTTPProviderCaptionFile

_.ttml|_.srt|_.scc|_.vtt

none

com.wowza.wms.http.HTTPServerVersion

\*

none

---

<div class="post-metadata">

**Author:** ![Yuxiang\_Shen](https://avatars.discourse-cdn.com/v4/letter/y/278dde/32.png) [@Yuxiang\_Shen](https://community.wowza.com/u/Yuxiang_Shen)\
**Post date:** [March 11, 2015, 10:52am UTC](https://community.wowza.com/t/httpprovider-request-filters-doesnt-work-properly/44751/6 "2015-03-11T10:52:12Z")

</div>

By the way, I found that if the request URL ends with “.m3u8” Wowza will just return the master playlist without invoking my HTTP Providers at all, even if I set request filters in VHost.Xml. I want the request to be processed by my own functions so that I can return customized playlists to the clients.

---

<div class="post-metadata">

**Author:** ![Yuxiang\_Shen](https://avatars.discourse-cdn.com/v4/letter/y/278dde/32.png) [@Yuxiang\_Shen](https://community.wowza.com/u/Yuxiang_Shen)\
**Post date:** [March 12, 2015, 9:28am UTC](https://community.wowza.com/t/httpprovider-request-filters-doesnt-work-properly/44751/7 "2015-03-12T09:28:53Z")

</div>

I found the answer myself. By default, all the incoming requests ending with “.m3u8, m3u, aac, mp3,ts” will be directly processed by Wowza built-in class, without going to custom http providers or modules. To change this default behavior, we have to modify the file Wowza\_dir/conf/HTTPStreamers.xml. The file is quite self-explanatory. If you couldn’t find this file. Just download one from Internet and copy it to conf/ folder.
