Results 1 to 5 of 5

Thread: Using MediaCache with audio streaming

  1. #1
    Join Date
    Jan 2012
    Posts
    7

    Default Using MediaCache with audio streaming

    We have been streaming mp3 (128kpbs) audio files using Wowza for some time. To date the audio files have been stored locally on the Wowza server. We have now moved all the audio files to Amazon S3 and wish to stream them from there. We are successfully streaming from S3 using MediaCache but there is a substantial delay on the initial play of any file. When streaming from local files the delay between pressing play and receiving content is 1-2 seconds but when streaming from S3 this increases to 8-10 seconds for the first play and reduces to 2-3 seconds for subsequent plays. I realise the delay is caused by the initial pull to MediaCache but is there anything we can do to reduce it?

    We are using SSD so have set the write rate to 38M and the bucket size to 152M. We have tried various settings for defaultBlockSize but none seem to improve on using the default of 1M. I'm assuming the delay is greater because we are streaming audio files at 128kbps rather than video at 1mbps+. Are there any particular settings you can suggest to reduce this inital delay? Is there a way to prepopulate MediaCache? Does MediaCache retrieve the whole file before starting to stream or should it start streaming earlier? If so, how early and is this controllable?

  2. #2

    Default

    You might take a look at this server listener and see if you notice any improvement:
    How to preload files for the Media Cache system (MediaCachePreload)

    Salvadore

  3. #3
    Join Date
    Jan 2012
    Posts
    7

    Default

    Thanks Salvadore. Hadn't seen this addon before. I'll investigate and report back if it improves things.

  4. #4
    Join Date
    Jan 2012
    Posts
    7

    Default

    Using the preloaded addon certainly improved the initial delay which reduced to 3-4 secs. I haven't yet worked out why the initial delay is still longer than on subsequent plays after a perload but this is less important.

  5. #5

    Default

    Thanks for the update and I am glad you noticed some improvement.

    Salvadore

Similar Threads

  1. Streaming FLVs from s3 using the MediaCache
    By jachai in forum On-Demand Streaming
    Replies: 3
    Last Post: 07-15-2014, 06:00 AM
  2. Using S3 using MediaCache in EC2 Wowza
    By thiruppathyr in forum Wowza Streaming Engine in the Cloud
    Replies: 1
    Last Post: 03-11-2014, 07:57 AM
  3. using amazon s3 with mediacache.
    By welbyobeng in forum Video On Demand Streaming Discussion
    Replies: 8
    Last Post: 06-12-2012, 04:14 AM
  4. Using MediaCache - server log: HTTP response 302
    By pronat in forum Video On Demand Streaming Discussion
    Replies: 3
    Last Post: 05-13-2012, 03:52 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
  •