I just tested it for all forms of HTTP streaming and it works for me. If I add the following code to a Wowza Server module:
public void onHTTPSessionCreate(IHTTPStreamerSession httpSession)
{
getLogger().info("ModuleHTTPTestPlayStart.onHTTPSessionCreate: "+httpSession.getSessionId());
httpSession.setUserHTTPHeader("WowzaTestHeader", "Wowza Rocks");
}
Then I make an initial request to Wowza Server using Firefox with the “Live HTTP Headers” enabled and the following URLs I get the following header values:
http://[wowza-ip-address]:1935/vod/mp4:sample.mp4/playlist.m3u8
http://192.168.1.22:1935/vod/mp4:sample.mp4/playlist.m3u8
GET /vod/mp4:sample.mp4/playlist.m3u8 HTTP/1.1
Host: 192.168.1.22:1935
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip, deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Connection: keep-alive
HTTP/1.1 200 OK
Date: Tue, 22 Nov 2011 20:02:40 GMT
Content-Type: application/vnd.apple.mpegurl
Server: FlashCom/3.5.7
Cache-Control: no-cache
WowzaTestHeader: Wowza Rocks
Content-Length: 145
http://[wowza-ip-address]:1935/vod/mp4:sample.mp4/Manifest
http://192.168.1.22:1935/vod/mp4:sample.mp4/Manifest
GET /vod/mp4:sample.mp4/Manifest HTTP/1.1
Host: 192.168.1.22:1935
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip, deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Connection: keep-alive
HTTP/1.1 200 OK
Date: Tue, 22 Nov 2011 20:03:43 GMT
Content-Type: text/xml
Server: FlashCom/3.5.7
Cache-Control: no-cache,no-store
Pragma: no-cache
WowzaTestHeader: Wowza Rocks
Content-Length: 1705
http://[wowza-ip-address]:1935/vod/mp4:sample.mp4/manifest.f4m
http://192.168.1.22:1935/vod/mp4:sample.mp4/manifest.f4m
GET /vod/mp4:sample.mp4/manifest.f4m HTTP/1.1
Host: 192.168.1.22:1935
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip, deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Connection: keep-alive
HTTP/1.1 200 OK
Date: Tue, 22 Nov 2011 20:04:18 GMT
Content-Type: text/xml
Server: FlashCom/3.5.7
Cache-Control: no-cache
WowzaTestHeader: Wowza Rocks
Content-Length: 1729
It seems to work for me.
Charlie