Results 1 to 7 of 7

Thread: Cannot Limit Wowza to only stream from my S3 bucket

Hybrid View

  1. #1
    Join Date
    Dec 2011
    Posts
    4

    Default Cannot Limit Wowza to only stream from my S3 bucket

    Hello, I would like to limit Wowza to only stream from my S3 bucket, called
    'amazingg'

    I only edited the aliasmap.play.txt, as suggested. Here it is:

    amazingg/*=amazons3/amazingg/${Wildcard.Match1}
    flv:amazingg/*=flv:amazons3/amazingg/${Wildcard.Match1}
    mp3:amazingg/*=mp3:amazons3/amazingg/${Wildcard.Match1}
    mp4:amazingg/*=mp4:amazons3/amazingg/${Wildcard.Match1}
    # commented out *=${Stream.Name}


    This is what I set to in my flash player (XXXX refers the start of my ec2
    IP):

    'rtmp://XXXX.compute.amazonaws.com/vods3'
    'mp4:amazingg/test.mp4'


    This does not work! Why?!!

    However, setting it to:

    'rtmp://XXXX.compute.amazonaws.com/vods3'
    'mp4:amazons3/amazingg/test.mp4'


    ONLY the above does work. But this is not achieving what I want, which is
    blocking people from using my Wowza to stream from other buckets.

    I am doing everything as stated in the ec2 guide. Please help!

    Thanks in advance.

    -Teafie

  2. #2
    Join Date
    Dec 2007
    Posts
    25,688

    Default

    The rules look right.

    Make sure you are editing the right file. What is the value of /conf/vods3/Application.xml streamNameAliasFile Property ? It might be /conf/StreamNameAliasMap.txt

    Richard

  3. #3
    Join Date
    Dec 2011
    Posts
    4

    Default

    There is no streamNameAliasFile property, but there are some similar-looking ones. Copy pasting:

    <Property>
    <Name>aliasMapFileStream</Name>
    <Value>${com.wowza.wms.context.VHostConfigHome}/conf/aliasmap.stream.txt</Value>
    </Property>
    <Property>
    <Name>aliasMapFilePlay</Name>
    <Value>${com.wowza.wms.context.VHostConfigHome}/conf/aliasmap.play.txt</Value>
    </Property>



    I haven't changed this Application.xml file from the default one given in default_3.0.zip

  4. #4
    Join Date
    Dec 2011
    Posts
    4

    Default

    So, does anyone have an idea about this one? I am following the documentation word for word and cannot get this feature to work. The doc also mentioned nothing about using vods3/Application.xml

  5. #5
    Join Date
    Dec 2007
    Posts
    25,688

    Default

    Are you using the vods3 application? The alias "amazons3" indicates that you are.

    Richard

  6. #6
    Join Date
    Dec 2011
    Posts
    4

    Default

    Yes, using vods3, since I am using:

    'rtmp://XXXX.compute.amazonaws.com/vods3'
    'mp4:amazingg/test.mp4'



    Can you send me a startup zip file that will work for the purposes I listed?

    Thanks.

Posting Permissions

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