Results 1 to 7 of 7

Thread: wowza switch stream from low to hight when begin playing HLS on anroid 4.0 player

  1. #1
    Join Date
    Dec 2010
    Posts
    20

    Default wowza switch stream from low to hight when begin playing HLS on anroid 4.0 player

    Dear you,
    This time. i'm running wowza 3.5 trial for output HLS streaming. I config one smil file :
    <smil>
    <head>
    </head>
    <body>
    <switch>
    <video src="mp4:br_695.mp4" system-bitrate="695000"/>
    <video src="mp4:Painted.Skin.mp4" system-bitrate="2385000"/>
    <video src="mp4:battleship_1080P_4M_HC.mp4" system-bitrate="4384000"/>
    </switch>
    </body>
    </smil>
    My client is android device, netword bandwidth : 1000 kbs. When my device begin to play this stream then wowza return streaming from hight quality to low quality. [4M->2.3M->695 kps]. I want server alway switch streaming from low to hight quality first when begin playing.
    i read http://www.wowza.com/forums/showthre...ptimizer-class but can not implement for my target. Please help me. Many thanks.
    Last edited by hehe37; 03-29-2013 at 06:43 AM.

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

    Default

    You can re-arrange the smil to see if that makes a difference. If it doesn't, there is not a way to change the way the device switches.

    Looking at the names of your files, they don't look like different bit rate versions of the same video. Each video in an ABR set also has to be key frame aligned. Take a look at the Expression 4 Encoder pre-sets in this article.
    http://www.wowza.com/forums/content....demand-content

    Richard

  3. #3
    Join Date
    Dec 2010
    Posts
    20

    Default

    thank for your reply, i re-arrange the smil file but client still play streaming from hight to low quality. My files is good for wozza , they has to be key frame aligned.
    <video src="mp4:br_695.mp4" system-bitrate="695000"/>
    <video src="mp4:br_2385.mp4" system-bitrate="2385000"/>
    <video src="mp4:br_4384.mp4" system-bitrate="4384000"/>

    as you said there is not a way the device switches, I can only optimize android player client and dont have any config and serverside api implements on server??

  4. #4
    Join Date
    Sep 2011
    Posts
    1,934

    Default

    Hi
    If re-arranging the .smil file didn't work then I'm afraid there's probably no way to do it.
    I'd say as a guess that it was designed to give you the best quality possible and as most clients would be using a higher bitrate i.e. from a broadband connection, that's why it starts with the highest bitrate and works down.

    Jason

  5. #5

    Default

    Hi,

    The order of the streams in the playlist.m3u8 url should match the order in the smil file. You can confirm this by retrieving the playlist.m3u8 url in a browser and then opening the saved file in a text editor.

    As Jason has mentioned, if changing the order does not help then it will be the player that is deciding which bitrate to play first. Wowza just presents a list of urls to the player. Wowza has no control over which url the player will actually request.

    Roger.

  6. #6
    Join Date
    Dec 2010
    Posts
    20

    Default

    Quote Originally Posted by roger_l View Post
    Hi,

    The order of the streams in the playlist.m3u8 url should match the order in the smil file. You can confirm this by retrieving the playlist.m3u8 url in a browser and then opening the saved file in a text editor.

    As Jason has mentioned, if changing the order does not help then it will be the player that is deciding which bitrate to play first. Wowza just presents a list of urls to the player. Wowza has no control over which url the player will actually request.

    Roger.
    Thanks for your reply, i order streams in smil file and it works fine, player choose low bitrate first. I dont think there is simple way to resolve this problem like that. Many thanks.

  7. #7
    Join Date
    Sep 2011
    Posts
    1,934

    Default

    Hi
    That's great, thanks for the update.

    Jason

Similar Threads

  1. Playing wowza server rtmp stream in vlc player
    By softwadev in forum Media Players and Devices Discussion
    Replies: 0
    Last Post: 02-05-2014, 05:29 AM
  2. Reduce time to begin playing HTTP streamed mp4 file?
    By emm-kuh in forum Wowza Media Server 3 for Amazon EC2 Discussion
    Replies: 3
    Last Post: 09-17-2012, 06:08 AM
  3. Playing wowza stream through Kaltura player
    By weggo9 in forum General Forum
    Replies: 1
    Last Post: 08-01-2012, 11:50 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
  •