Results 1 to 6 of 6

Thread: Application.xml settings for IOS

  1. #1

    Default Application.xml settings for IOS

    I added this to my Application.xml file.


    <!-- Properties defined here will be added to the IApplication.getProperties() and IApplicationInstance.getProperties() collections -->
    		<Properties>
    	<Property>
    	<Name>cupertinoChunkDurationTarget</Name>
    	<Value>10000</Value>
    	<Type>Integer</Type>
    	</Property>
    	<Property>
    	<Name>cupertinoMaxChunkCount</Name>
    	<Value>10</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>
    		</Properties>
    The article says that the chunkDurationTarget needs to be a factor of the keyframe.

    I dont see anywhere to set the keyframe.

    Any ideas on how to get less startup lag from iOS? And less stops in the stream from iOS?


    Thanks

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

    Default

    These Property settings are in the wrong place, they belong in the Application.xml /LiveStreamPacketizer Properties container.

    		<LiveStreamPacketizer>
    			<!-- Properties defined here will override any properties defined in conf/LiveStreamPacketizers.xml for any LiveStreamPacketizers loaded by this applications -->
    <Properties>
    	<Property>
    	<Name>cupertinoChunkDurationTarget</Name>
    	<Value>10000</Value>
    	<Type>Integer</Type>
    	</Property>
    	<Property>
    	<Name>cupertinoMaxChunkCount</Name>
    	<Value>10</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>
    
    			</Properties>
    		</LiveStreamPacketizer>
    You are using the default cupertinoChunkDuration target of "10000" (ms), which is 10 seconds; how long each chunk will be (as a target, because Wowza splits on key frames in any case). To see faster startup, try "1000" along with a 1 second key frame frequency, or "2000" and a 2 second key frame frequency. That will create 1 and 2 (resp) second chunks. With 1 second chunks and cupertinoPlaylistChunkCount set to "3" the start time can be reduced significantly, depending on how fast the iOS client is able to download those 3 chunks.

    Richard

  3. #3

    Default

    Thanks.

    Do you know where to set the keyframe frequency?

    I searched in the application.xml and the livestreampackatizers.xml


    Thanks again

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

    Default

    It has to be set in the encoder. Some encoders set this directly, e.g. FMLE it is set in the dialog you open when you click the wrench icon next to the Format h.264 setting. For other encoders it is GOP (or key frame interval) / FPS = key frame frequency

    Richard

  5. #5

    Default

    Ahhhhh I see.

    I am not using any encoder.

    I am putting the rtsp link from the IP cameras into the wowza stream files...

    I did not realize you needed a separate encoder...


    Thanks

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

    Default

    In that case the IP camera is the encoder. You should find settings in its admin to set FPS and key frame interval.

    Richard

Similar Threads

  1. Lowest latency possible encoder and Wowza settings for iOS devices
    By SyberNow in forum Live Streaming and Encoder Discussion
    Replies: 3
    Last Post: 04-03-2012, 10:48 AM
  2. Issue with connecting iOS device with default settings
    By sasenarayan in forum Tutorials Discussion
    Replies: 5
    Last Post: 12-07-2011, 02:04 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
  •