Results 1 to 8 of 8

Thread: Wowza In CDN Problem

  1. #1
    Join Date
    Dec 2012
    Posts
    28

    Default Wowza In CDN Problem

    Hey guys
    I have a really big issue and I don't know how to solve it.
    We are using wowza in CDN network. For the pilot phase we have two Wowza. One of them we are using it as origin server and the other is edge node.
    We have one redirection server. It means when your request come from somewhere special, redirection server will redirect your request from region server to edge node. But when you change to URL the player return Error no 2048.
    For example this link is redirection server: http://RedirectionServer:1935/vod/sm...l/manifest.f4m
    Usually it will redirect your request to: http://WowzaRegionServer:1935/vod/sm...l/manifest.f4m
    And when you request came from somewhere special, it should redirect you to: http://WowzaMediaCacheServer:1935/vo...l/manifest.f4m
    But when the redirection thing happens, player return error no 2048.
    How can I solve this problem?
    Please help me. I have a really tight time and I should do it really fast.

    Thanks a lot.
    Last edited by masmart; 09-20-2013 at 02:29 PM.

  2. #2
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    Does the redirection involve Wowza in some way? As long as the player is redirected to a working edge it should work.

    Richard

  3. #3

    Default

    do the streams work fine if you open the player pointing to each of the Wowza servers? (to be sure your Wowza are fine)
    Check deeply the player side (which player are you using?) ... many flash player don't support redirection from the player itself ... it's a security thing

    First, I'd check the streams individually, and then I'd follow redirections with http calls without using a player to identify the source of the error

  4. #4
    Join Date
    Dec 2012
    Posts
    28

    Default

    Thanks for your reply.
    Yes. Both Wowza servers work fine. One of them is normal streaming and the other uses MediaCache add-on.
    I want to link to the first and it automatically redirect it to the second one.
    Does Wowza have such a thing to do that. How can I use Wowza in CDN? How can I redirect from region server to the edge server?

  5. #5

    Default

    as far as I know, you'll have to write your own module to do that. If you are trying to build a CDN for streaming, the layer for re-directing the stream to the right edge shouldn't rely on the streaming server. You usually do that at DNS layer or even at application layer that detects the ip of user, and using a location mapping table you send user to right edge. Again, if you want, you can build that on a module in Wowza, but my humble opinion is you shouldn't do that on the streaming servers. Just my thoughts though

  6. #6
    Join Date
    Dec 2012
    Posts
    28

    Default

    Thanks again for your reply.
    We did it before on DNS layer. But I don't know where the error come from?
    Copy link below and try it on Wowza sliverlight player. (or any other player)
    Stream URL: http://RedirectionServer:1935/vod/sm....smil/Manifest

    First link redirect you to http://WowzaRegionServer:1935/vod/sm....smil/Manifest, But the player returns "Stream Error: Fail to download manifest: d".

    I don't really know where the problem come from. Because when you paste this URL (http://RedirectionServer:1935/vod/sm....smil/Manifest) to the browser it'll return true manifest file content.
    Last edited by masmart; 09-20-2013 at 02:31 PM.

  7. #7

    Default

    I tested and debugged. As I told you before, the problem is on the player. Most flash players don't accept redirection, and they end up giving you an error of crossdomain
    in your case, the manifest after redirection is never called. The player rejects the redirection right away.
    I tested on IPAD, and it works fine as IPAD doesn't care about redirection.

    So, your work around is not to use redirection. Make the selection of best edge service at application layer, and do the connection straight to the server user needs to connect to. Don't do it at player level (or at least not at the connection function of the player).

    You can easy see what I'm saying with any debug tool or wiresharking the streaming.

  8. #8
    Join Date
    Dec 2012
    Posts
    28

    Default

    Yes. You are totally right. I will handle it on application layer.
    Thanks a lot for your kind help.

Similar Threads

  1. CDN Access problem from wowza configuration
    By skakska in forum Wowza Streaming Engine in the Cloud
    Replies: 1
    Last Post: 03-31-2014, 06:54 AM
  2. Getting rid of the /cdn path in Azure CDN
    By BerlinPhil in forum Live Streaming and Encoder Discussion
    Replies: 0
    Last Post: 10-29-2013, 11:25 AM
  3. Using Wowza In CDN Problem
    By masmart in forum AddOn: Other AddOns
    Replies: 1
    Last Post: 09-20-2013, 07:38 AM
  4. Wowza In CDN Problem
    By masmart in forum General Forum
    Replies: 1
    Last Post: 09-20-2013, 07:38 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
  •