Results 1 to 4 of 4

Thread: IOS Delay with streaming

  1. #1
    Join Date
    May 2013
    Posts
    4

    Default IOS Delay with streaming

    Hello,

    I know this subject was mentioned before but none information found on forum did help me to achieve at least 3 - 5 sec stream delay onto IOS streaming.

    I have created app in Wowza called test and edited Application.xml:

                    <HTTPStreamer>
                            <!-- Properties defined here will override any properties defined in conf/HTTPStreamers.xml for any HTTPStreamer loaded by this applications -->
                            <Properties>
                                    <Property>
                                            <Name>cupertinoChunkDurationTarget</Name>
                                            <Value>1000</Value>
                                            <Type>Integer</Type>
                                    </Property>
                                    <Property>
                                            <Name>cupertinoMaxChunkCount</Name>
                                            <Value>4</Value>
                                            <Type>Integer</Type>
                                    </Property>
                                    <Property>
                                            <Name>cupertinoPlaylistChunkCount</Name>
                                            <Value>3</Value>
                                            <Type>Integer</Type>
                                    </Property>
                                    <Property>
                                            <Name>cupertinoRepeaterChunkCount</Name>
                                            <Value>3</Value>
                                            <Type>Integer</Type>
                                    </Property>
                                    <Property>
                                            <Name>flushInterval</Name>
                                            <Value>2</Value>
                                            <Type>Integer</Type>
                                    </Property>
                                    <Property>
                                            <Name>onFlushNotifyClients</Name>
                                            <Value>true</Value>
                                            <Type>Boolean</Type>
                                    </Property>
                                    <Property>
                                            <Name>cupertinoEnableDataEvents</Name>
                                                    <Value>true</Value>
                                            <Type>Boolean</Type>
                                    </Property>
                            </Properties>
                    </HTTPStreamer>
    With broadcasting from FMLE with 500kb/s bit rate and baseline 2.0 with 1 sec key frame I get delay about 22 seconds.
    This actually vary cause sometimes after reboot or application or whole wowza and fmle I get about 10 seconds which then grow over time to even about 40 seconds

    I'm not sure if I do miss configure something or putting those settings into wrong part of configuration but one thing i know is that I cannot get even close to 5 seconds delay on video.

    Any ideas how you can achieve lowest possible time delay while using coupertino streaming?

  2. #2

    Default

    Hello there.

    It looks like you have set these properties in the wrong location of the Application.xml file. They should be added to the LiveStreamPacketizer/Properties

    I hope this helps.

    Salvadore

  3. #3
    Join Date
    May 2013
    Posts
    4

    Default

    Hello Salcadore,

    thanks for reply, yes this seems to have effect of 7 seconds delay which is much better than it was.

    Any idea if this can be reduced even further?

    Wojtek

  4. #4

    Default

    Are you referring to start time or latency, or both? Start time is how long it takes for a user to start seeing video after starting playback. Latency is how far behind the stream is compared to the encoder.

    If you start Wowza in stand-alone mode [install-dir]/bin/startup.bat|.sh, you should see lines in the console like this. Please post what you see for these lines:
    LiveStreamPacketizerCupertino.endChunkTS[..................]: Add chunk: id:1 mode:TS[H264,MP3] a/v/k:102/24/1 duration:1000
    How are you testing? Is it local or remote, is it iOS device or HLS desktop playback with JW Player or VLC?
    You can reduce the bitrate of the stream. You can remove network factors if you are testing remote to see what the delay is without that. Understand that iOS devices need 3 chunks before playback, so if the bitrate is very high and the device is remote and a slower connection, it still has to download 3 large chunks.

    Thank you.
    Salvadore

Similar Threads

  1. Live streaming to iOS devices, without delay
    By zibrnp in forum General Forum
    Replies: 3
    Last Post: 07-07-2014, 05:32 PM
  2. iOS HLS stream has long delay before starting
    By kleelof in forum Performance Tuning Discussion
    Replies: 2
    Last Post: 05-08-2013, 06:28 AM
  3. live stream time delay (http for ios)
    By z297470279z in forum Live Streaming and Encoder Discussion
    Replies: 4
    Last Post: 01-22-2013, 06:24 PM
  4. What's the lowest delay you can realistically get for HLS playback on iOS
    By ThatGuyJr in forum Live Streaming and Encoder Discussion
    Replies: 3
    Last Post: 07-18-2012, 05:43 PM
  5. Huge delay on iOS stream compared to Flash
    By krissy in forum Wowza Media Server 3 for Amazon EC2 Discussion
    Replies: 1
    Last Post: 07-18-2012, 11:56 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
  •