Results 1 to 3 of 3

Thread: resolvePlayAlias and SMIL files

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default resolvePlayAlias and SMIL files

    Hi,

    We've been using resolvePlayAlias (by implementing IMediaStreamNameAliasProvider) to map an alias to an actual feed. It works as expected when calling the alias directly but if we use a SMIL file that references the alias, resolvePlayAlias() is not called at all. As a result, the alias does not get mapped to the actual feed and playback fails.

    Here's the log output for an HLS request for the alias 'feedalias' which should map to the actual feed 'feed':

    2014-07-23 18:23:53 INFO application app-start _definst_ cdn-live/_definst_
    2014-07-23 18:23:53 INFO server comment - resolvePlayAlias: found actual feed path 'feed' for alias '/feedalias'
    2014-07-23 18:23:53 INFO stream create - -
    2014-07-23 18:23:53 INFO server comment - MediaStreamHTTPStreamerRepeaterBuffer.initLiveStreamRepeating[cdn-live/_definst_/[cupertinostreamingpacketizer|cupertinostreamingrepeater]feed]: receiverClass: com.wowza.wms.httpstreamer.cupertinostreaming.liverepeater.CupertinoStreamerLiveRepeaterReceiver
    2014-07-23 18:23:53 INFO server comment - LiveMediaStreamReceiver.connect: SSL:false url:rtmp://xxx.xxx.xxx.com[]:1935/origin/_definst_/feed
    2014-07-23 18:23:53 INFO server comment - CupertinoStreamerLiveRepeaterReceiver.close[cdn-live/_definst_/feed:cupertinostreamingpacketizer]
    2014-07-23 18:23:53 INFO server comment - CupertinoStreamerLiveRepeaterReceiver.resetStream[cdn-live/_definst_/feed:cupertinostreamingpacketizer]
    2014-07-23 18:23:53 INFO server comment - resolvePlayAlias: found actual feed path 'feed' for alias '/feedalias'
    2014-07-23 18:23:53 INFO server comment - onStreamCreate: streamType: netconnection
    2014-07-23 18:23:53 INFO server comment - CupertinoStreamerLiveRepeaterReceiver.initLiveStreamPacketizer[cdn-live/_definst_/feed:cupertinostreamingpacketizer]
    2014-07-23 18:23:53 INFO server comment - LiveStreamPacketizerCupertino.init[cdn-live/_definst_/feed]: chunkDurationTarget: 5000
    2014-07-23 18:23:53 INFO server comment - LiveStreamPacketizerCupertino.init[cdn-live/_definst_/feed]: chunkDurationTolerance: 100
    2014-07-23 18:23:53 INFO server comment - LiveStreamPacketizerCupertino.init[cdn-live/_definst_/feed]: audioGroupCount: 3
    2014-07-23 18:23:53 INFO server comment - LiveStreamPacketizerCupertino.init[cdn-live/_definst_/feed]: playlistChunkCount:3
    2014-07-23 18:23:53 INFO server comment - MediaStreamMap.getLiveStreamPacketizer[cdn-live/_definst_/feed]: Create live stream packetizer: cupertinostreamingpacketizer:feed
    2014-07-23 18:23:53 INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[cdn-live/_definst_/feed]: Add chunk: id:2463 mode:unknown a/v/k:36/75/2 duration:5000
    2014-07-23 18:23:53 INFO server comment - LiveStreamPacketizerCupertino.endChunkAudioTS[cdn-live/_definst_/feed]: Add chunk: id:2463 mode:unknown a:36 duration:5000
    2014-07-23 18:23:53 INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[cdn-live/_definst_/feed]: Add chunk: id:2464 mode:unknown a/v/k:34/71/3 duration:4866
    2014-07-23 18:23:53 INFO server comment - LiveStreamPacketizerCupertino.endChunkAudioTS[cdn-live/_definst_/feed]: Add chunk: id:2464 mode:unknown a:34 duration:4866
    2014-07-23 18:23:53 INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[cdn-live/_definst_/feed]: Add chunk: id:2465 mode:unknown a/v/k:41/82/2 duration:5600
    2014-07-23 18:23:53 INFO server comment - LiveStreamPacketizerCupertino.endChunkAudioTS[cdn-live/_definst_/feed]: Add chunk: id:2465 mode:unknown a:41 duration:5600
    2014-07-23 18:23:53 INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[cdn-live/_definst_/feed]: Add chunk: id:2466 mode:unknown a/v/k:29/62/3 duration:4134
    2014-07-23 18:23:53 INFO server comment - LiveStreamPacketizerCupertino.endChunkAudioTS[cdn-live/_definst_/feed]: Add chunk: id:2466 mode:unknown a:29 duration:4134
    2014-07-23 18:23:53 INFO server comment - resolvePlayAlias: found actual feed path 'feed' for alias '/feedalias'
    ...
    ...
    2014-07-23 18:23:53 INFO server comment - MediaStreamHTTPStreamerRepeaterPlay.startPlay[cdn-live/_definst_/]
    2014-07-23 18:23:53 INFO cupertino connect 174739738 -
    2014-07-23 18:23:53 INFO stream create feed -
    2014-07-23 18:23:53 INFO stream play feed -
    And here's the log output for an HLS request for the SMIL file feedalias.smil which contains a single entry for the alias 'feedalias':

    2014-07-23 18:27:05 INFO application app-start _definst_ cdn-live/_definst_
    2014-07-23 18:27:05 INFO server comment - MediaStreamHTTPStreamerRepeaterPlay.startPlay[cdn-live/_definst_/]
    2014-07-23 18:27:05 INFO cupertino connect 932681344 -
    2014-07-23 18:27:05 INFO stream create feedalias.smil -
    2014-07-23 18:27:05 INFO stream create - -
    2014-07-23 18:27:05 INFO server comment - MediaStreamHTTPStreamerRepeaterBuffer.initLiveStreamRepeating[cdn-live/_definst_/[cupertinostreamingpacketizer|cupertinostreamingrepeater]feedalias]: receiverClass: com.wowza.wms.httpstreamer.cupertinostreaming.liverepeater.CupertinoStreamerLiveRepeaterReceiver
    2014-07-23 18:27:05 INFO server comment - LiveMediaStreamReceiver.connect: SSL:false url:rtmp://xxx.xxx.xxx.com[]:1935/origin/_definst_/feedalias
    2014-07-23 18:27:05 INFO server comment - CupertinoStreamerLiveRepeaterReceiver.close[cdn-live/_definst_/feedalias:cupertinostreamingpacketizer]
    2014-07-23 18:27:05 INFO server comment - CupertinoStreamerLiveRepeaterReceiver.resetStream[cdn-live/_definst_/feedalias:cupertinostreamingpacketizer]
    2014-07-23 18:27:05 INFO server comment - HTTPStreamerMediaCasterStreamLock.lockRepeaterStreams[cdn-live/_definst_/feedalias]: cupertinostreamingpacketizer:cupertinostreamingrepeater:httprepeater
    ...
    ...
    2014-07-23 18:27:13 WARN server comment - HTTPStreamerAdapterCupertinoStreamer.service: Request timeout: 8000
    ...
    ...
    2014-07-23 18:27:39 INFO server comment - MediaStreamHTTPStreamerRepeaterPlay.close[cdn-live/_definst_/]
    2014-07-23 18:27:39 INFO stream destroy feedalias.smil -
    2014-07-23 18:27:39 INFO cupertino disconnect 932681344 -
    As you can see from the logs, resolvePlayAlias() is called multiple times for a direct feed request but is skipped completely for a SMIL file request. According to the post here: http://www.wowza.com/forums/content....der2-interface, this should work for SMIL files as well.

    Is this a known issue? We're running Wowza 3.6.4.01.

    Thanks.

  2. #2

    Default

    Implementing IMediaStreamNameAliasProvider2 instead of IMediaStreamNameAliasProvider solved our problem. Thanks.

  3. #3
    Join Date
    May 2013
    Posts
    680

    Default

    Thanks for updating the thread.

    Matt

Similar Threads

  1. resolvePlayAlias not called consistently for playlist/chunklist/.ts files
    By steffentchr in forum Wowza Streaming Server Java API
    Replies: 3
    Last Post: 05-15-2014, 12:08 AM
  2. Problem with smil files
    By Atmapuri in forum Wowza Streaming Server Java API
    Replies: 5
    Last Post: 02-27-2014, 02:27 PM
  3. wowza smil files
    By dana_kabiya in forum General Forum
    Replies: 7
    Last Post: 09-04-2012, 07:13 AM
  4. Live smil files on S3
    By cc0004 in forum Live Streaming and Encoder Discussion
    Replies: 2
    Last Post: 11-08-2011, 08:06 AM

Posting Permissions

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