Results 1 to 2 of 2

Thread: MediaStreamNameAliasProvider - resolve alias without changing stream name

  1. #1

    Default MediaStreamNameAliasProvider - resolve alias without changing stream name


    There is the case where I have to use IMediaStreamNameAliasProvider2 and several other custom Wowza modules for some http-based VoD streaming.
    There is a requirement that in the custom modules HTTPStreamerSessionBase instance passed in onHTTPSanJoseStreamingSessionCreate method should contain original stream name. But not the stream name resolved by my IMediaStreamNameAliasProvider2 implementaion.

    I've found a workaround. I implemented ILogNotify interface and in the onLog method I set original stream name back.

    However there is a small problem. In the statistic log file I have "create" event logged with resolved stream name (all other events like play,delete are logged with original stream name). And I understad (I hope so) the reason on this behaviour.

    So I wonder if there is some other solution to achieve initial goal: pass HTTPStreamerSessionBase instances with original stream name in the custom modules.

    I understand that I wish something very strange. Nevertheless I will be very gratefull for any suggestions.

    Thanks in advance,
    Eugene Bochkov

  2. #2
    Join Date
    Dec 2007



    You can do it like this:

    String streamName = params.getString(PARAM1);
    //get the real stream name if this is an alias.
    String realName = ((ApplicationInstance)appInstance).internalResolvePlayAlias(streamName, client);
    streamName = realName==null?streamName:realName;

Similar Threads

  1. Replies: 3
    Last Post: 07-24-2014, 08:01 AM
  2. Stream Name Alias with Wowza 4
    By vicheacheth in forum General Forum
    Replies: 4
    Last Post: 03-13-2014, 07:19 PM
  3. Streaming with Stream Alias
    By divyat in forum General Forum
    Replies: 1
    Last Post: 05-04-2012, 02:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts