# onHTTPSessionCreate not firing

**URL:** <https://community.wowza.com/t/onhttpsessioncreate-not-firing/34653>\
**Category:** Wowza Streaming Engine\
**Created:** [September 6, 2011, 9:42am UTC](https://community.wowza.com/t/onhttpsessioncreate-not-firing/34653 "2011-09-06T09:42:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Law\_Parani](https://avatars.discourse-cdn.com/v4/letter/l/919ad9/32.png) [@Law\_Parani](https://community.wowza.com/u/Law_Parani)\
**Post date:** [September 6, 2011, 9:42am UTC](https://community.wowza.com/t/onhttpsessioncreate-not-firing/34653/1 "2011-09-06T09:42:42Z")

</div>

I am trying to capture the create session event while playing a VOD.

Playing from Web embeded flash player, I am NOT able to capture the onHTTPSessionCreate nor the onHTTPSanJoseStreamingSessionCreate.

however “onConnect” is working

This is also working: onHTTPCupertinoStreamingSessionCreate when connecting from iPhone

Any ideas. Below is my Application.xml

Thanks in advance

Larry

true

default

D:/Vod

${com.wowza.wms.context.VHostConfigHome}/keys

cupertinostreaming,smoothstreaming,sanjosestreaming

-1

\*

\*

\*

\*

digest

none

senderreport

12000

75

90000

0

0.0.0.0

127.0.0.1

\*

base

Base

com.wowza.wms.module.ModuleCore

properties

Properties

com.wowza.wms.module.ModuleProperties

logging

Client Logging

com.wowza.wms.module.ModuleClientLogging

flvplayback

FLVPlayback

com.wowza.wms.module.ModuleFLVPlayback

OurHTTPAuthModule

Custom Module

OutHTTPAuthModule.AuthorizeStream

---

<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:** [September 6, 2011, 5:53pm UTC](https://community.wowza.com/t/onhttpsessioncreate-not-firing/34653/2 "2011-09-06T17:53:06Z")

</div>

That is how it works. Flash connection is handled in onConnect

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:** [September 6, 2011, 11:20pm UTC](https://community.wowza.com/t/onhttpsessioncreate-not-firing/34653/3 "2011-09-06T23:20:16Z")

</div>

Larry,

Are you using a player that takes one string containing connection and stream name?

Try with SimpleVideoStreaming or JW Player or Flowplayer, where rtmp connection and stream name are separate.

Server: rtmp://server.com/test1/vod?v=eUXCq6P3FNgPL4GtB&cid=0&e=1315330089&h=dad23 7e230728d91d

Stream: mp4:sample.mp4

Richard

---

<div class="post-metadata">

**Author:** ![Law\_Parani](https://avatars.discourse-cdn.com/v4/letter/l/919ad9/32.png) [@Law\_Parani](https://community.wowza.com/u/Law_Parani)\
**Post date:** [September 6, 2011, 12:15pm UTC](https://community.wowza.com/t/onhttpsessioncreate-not-firing/34653/4 "2011-09-06T12:15:40Z")

</div>

Ok… Thanks for the reply Richard,

I can live with that as long as I can get the query string… It is coming as empty string. Any ways to get those value.

URL specified on Flash: :

rtmp://server.com/test1/vod?v=eUXCq6P3FNgPL4GtB&cid=0&e=1315330089&h=dad237e230728d91d

These are the values i am getting on onConnect:

Uri: rtmp://server.com/test1

ipAddressClient: XX.XXX.18.209

queryStr:

Thanks

Larry

---

<div class="post-metadata">

**Author:** ![Law\_Parani](https://avatars.discourse-cdn.com/v4/letter/l/919ad9/32.png) [@Law\_Parani](https://community.wowza.com/u/Law_Parani)\
**Post date:** [September 6, 2011, 5:12pm UTC](https://community.wowza.com/t/onhttpsessioncreate-not-firing/34653/5 "2011-09-06T17:12:49Z")

</div>

Richard,

Actually I am doing an Alias remapping to my incoming video url.

I just noticed that there is a new interface IMediaStreamNameAliasProvider2. Earlier i was using the old IMediaStreamNameAliasProvider.

This has all the required information I am looking for like IClient, IHTTPStreamerSession, ILiveStreamPacketizer, RTPSession.

using these I am able to get the URLs, Querystring, IP etc.

Thanks for your help though.

Larry
