Page 3 of 5 FirstFirst 12345 LastLast
Results 21 to 30 of 45

Thread: Adding Multi-bitrate Audio-only Rendition to iOS Streams (AppStore 64Kbps)

  1. #21
    Join Date
    Apr 2010
    Posts
    3

    Default

    Please, update thread with solution.
    I have the same issue (2.1.2 patch4). All configs according to the first post in the thread.

    Code:
    WARNING: Missing newline at the end of the playlist.
    
    WARNING: Playlist has no media URIs.
    
    ERROR: Playlist does not contain a TARGETDURATION tag. A single TARGETDURATION tag is required.

  2. #22
    Join Date
    Apr 2010
    Posts
    3

    Default

    I make a number of tests.

    In my configuration this problem exists only on the edge server.
    mediavalidator shows:
    ERROR: Playlist does not contain a TARGETDURATION tag. A single TARGETDURATION tag is required.

    Config of edge server:

    Code:
    <Root>
    	<Application>
    		<!-- Uncomment to set application level timeout values
    		<ApplicationTimeout>60000</ApplicationTimeout>
    		<PingTimeout>12000</PingTimeout>
    		<ValidationFrequency>8000</ValidationFrequency>
    		<MaximumPendingWriteBytes>0</MaximumPendingWriteBytes>
    		<MaximumSetBufferTime>60000</MaximumSetBufferTime>
    		<MaximumStorageDirDepth>25</MaximumStorageDirDepth>
    		-->
    		<Connections>
    			<AutoAccept>true</AutoAccept>
    			<AllowDomains></AllowDomains>
    		</Connections>
    		<!--
    			StorageDir path variables
    			
    			${com.wowza.wms.AppHome} - Application home directory
    			${com.wowza.wms.ConfigHome} - Configuration home directory
    			${com.wowza.wms.context.VHost} - Virtual host name
    			${com.wowza.wms.context.VHostConfigHome} - Virtual host config directory
    			${com.wowza.wms.context.Application} - Application name
    			${com.wowza.wms.context.ApplicationInstance} - Application instance name
    			
    		-->
    		<Streams>
    			<StreamType>liverepeater-edge</StreamType>
    			<StorageDir>/var/${com.wowza.wms.context.VHost}/wowza</StorageDir>
    			<KeyDir>${com.wowza.wms.context.VHostConfigHome}/keys</KeyDir>
    			<!-- LiveStreamPacketizers (separate with commas): cupertinostreamingpacketizer, smoothstreamingpacketizer, cupertinostreamingrepeater, smoothstreamingrepeater -->
    			<LiveStreamPacketizers>cupertinostreamingrepeater,smoothstreamingrepeater</LiveStreamPacketizers>
    			<!-- Properties defined here will override any properties defined in conf/Streams.xml for any streams types loaded by this application -->
    			<Properties>
    				<Property>
    					<Name>sortPackets</Name>
    					<Value>true</Value>
    					<Type>Boolean</Type>
    				</Property>
    				<Property>
    					<Name>sortBufferSize</Name>
    					<Value>500</Value>
    					<Type>Integer</Type>
    				</Property>
    			</Properties>
    		</Streams>
    		<!-- HTTPStreamers (separate with commas): cupertinostreaming, smoothstreaming -->
    		<HTTPStreamers>cupertinostreaming,smoothstreaming</HTTPStreamers>			
    		<SharedObjects>
    			<StorageDir></StorageDir>
    		</SharedObjects>
    		<Client>
    			<IdleFrequency>-1</IdleFrequency>
    			<Access>
    				<StreamReadAccess>*</StreamReadAccess>
    				<StreamWriteAccess>*</StreamWriteAccess>
    				<StreamAudioSampleAccess></StreamAudioSampleAccess>
    				<StreamVideoSampleAccess></StreamVideoSampleAccess>
    				<SharedObjectReadAccess>*</SharedObjectReadAccess>
    				<SharedObjectWriteAccess>*</SharedObjectWriteAccess>
    			</Access>
    		</Client>
    		<RTP>
    			<!-- RTP/Authentication/[type]Methods defined in Authentication.xml. Default setup includes; none, basic, digest -->
    			<Authentication>
    				<PublishMethod>digest</PublishMethod>
    				<PlayMethod>none</PlayMethod>
    			</Authentication>
    			<!-- RTP/AVSyncMethod. Valid values are: senderreport, systemclock, rtptimecode -->
    			<AVSyncMethod>senderreport</AVSyncMethod>
    			<MaxRTCPWaitTime>12000</MaxRTCPWaitTime>
    			<IdleFrequency>75</IdleFrequency>
    			<RTSPSessionTimeout>90000</RTSPSessionTimeout>
    			<RTSPMaximumPendingWriteBytes>0</RTSPMaximumPendingWriteBytes>
    			<RTSPBindIpAddress></RTSPBindIpAddress>
    			<RTSPConnectionIpAddress>0.0.0.0</RTSPConnectionIpAddress>
    			<RTSPOriginIpAddress>127.0.0.1</RTSPOriginIpAddress>
    			<IncomingDatagramPortRanges>*</IncomingDatagramPortRanges>
    			<!-- Properties defined here will override any properties defined in conf/RTP.xml for any depacketizers loaded by this application -->
    			<Properties>
    			</Properties>
    		</RTP>
    		<MediaCaster>
    			<!-- Properties defined here will override any properties defined in conf/MediaCasters.xml for any MediaCasters loaded by this applications -->
    			<Properties>
    			<Property>
    				<Name>forceInterleaved</Name>
    				<Value>true</Value>
    				<Type>Boolean</Type>
    			</Property>
    			</Properties>
    		</MediaCaster>
    		<MediaReader>
    			<!-- Properties defined here will override any properties defined in conf/MediaReaders.xml for any MediaReaders loaded by this applications -->
    			<Properties>
    			</Properties>
    		</MediaReader>
    		<MediaWriter>
    			<!-- Properties defined here will override any properties defined in conf/MediaWriter.xml for any MediaWriter loaded by this applications -->
    			<Properties>
    			</Properties>
    		</MediaWriter>
    		<LiveStreamPacketizer>
    			<!-- Properties defined here will override any properties defined in conf/LiveStreamPacketizers.xml for any LiveStreamPacketizers loaded by this applications -->
    			<Properties>
                                    <Property>
                                            <Name>chunkDurationTarget</Name>
                                            <Value>10000</Value>
                                            <Type>Integer</Type>
                                    </Property>
                                    <Property>
                                            <Name>maxChunkCount</Name>
                                            <Value>10</Value>
                                            <Type>Integer</Type>
                                    </Property>
                                    <Property>
                                            <Name>playlistChunkCount</Name>
                                            <Value>3</Value>
                                            <Type>Integer</Type>
                                    </Property>
                                    <Property>
                                            <Name>repeaterChunkCount</Name>
                                            <Value>5</Value>
                                            <Type>Integer</Type>
                                    </Property>
    <Property>
    	<Name>cupertinoCreateAudioOnlyRendition</Name>
    	<Value>true</Value>
    	<Type>Boolean</Type>
    </Property>
    			</Properties>
    		</LiveStreamPacketizer>
    		<HTTPStreamer>
    			<!-- Properties defined here will override any properties defined in conf/HTTPStreamers.xml for any HTTPStreamer loaded by this applications -->
    			<Properties>
                                    <Property>
                                            <Name>cupertinoAutoCreateMultibitratePlaylist</Name>
                                            <Value>true</Value>
                                            <Type>Boolean</Type>
                                    </Property>
                                    <Property>
                                            <Name>cupertinoUseCalculatedVideoBitrate</Name>
                                            <Value>true</Value>
                                            <Type>Boolean</Type>
                                    </Property>
                                    <Property>
                                            <Name>cupertinoUseCalculatedAudioBitrate</Name>
                                            <Value>true</Value>
                                            <Type>Boolean</Type>
                                    </Property>
                                    <Property>
                                            <Name>cupertinoDefaultVideoBitrate</Name>
                                            <Value>250000</Value>
                                            <Type>Integer</Type>
                                    </Property>
                                    <Property>
                                            <Name>cupertinoMaxCalulatedVideoBitrate</Name>
                                            <Value>0</Value>
                                            <Type>Integer</Type>
                                    </Property>
                                    <Property>
                                            <Name>cupertinoDefaultAudioBitrate</Name>
                                            <Value>64000</Value>
                                            <Type>Integer</Type>
                                    </Property>
                                    <Property>
                                            <Name>cupertinoMaxCalulatedAudioBitrate</Name>
                                            <Value>64000</Value>
                                            <Type>Integer</Type>
                                    </Property>
                                    <Property>
                                            <Name>cupertinoBitrateAdjustmentFactor</Name>
                                            <Value>110</Value>
                                            <Type>Integer</Type>
                                    </Property>
    
    			</Properties>
    		</HTTPStreamer>
    		<Repeater>
    			<OriginURL>rtmp://origin/rtplive</OriginURL>
    			<QueryString><![CDATA[]]></QueryString>
    		</Repeater> 
    		<Modules>
    			<Module>
    				<Name>base</Name>
    				<Description>Base</Description>
    				<Class>com.wowza.wms.module.ModuleCore</Class>
    			</Module>
    			<Module>
    				<Name>properties</Name>
    				<Description>Properties</Description>
    				<Class>com.wowza.wms.module.ModuleProperties</Class>
    			</Module>
    			<Module>
    				<Name>logging</Name>
    				<Description>Client Logging</Description>
    				<Class>com.wowza.wms.module.ModuleClientLogging</Class>
    			</Module>
    			<Module>
    				<Name>flvplayback</Name>
    				<Description>FLVPlayback</Description>
    				<Class>com.wowza.wms.module.ModuleFLVPlayback</Class>
    			</Module> 
    			<Module>
    				<Name>ModuleRTMPAuthenticate</Name>
    				<Description>ModuleRTMPAuthenticate</Description>
    				<Class>com.wowza.wms.plugin.security.ModuleRTMPAuthenticate</Class>
    			</Module> 
    		</Modules>
    		<!-- Properties defined here will be added to the IApplication.getProperties() and IApplicationInstance.getProperties() collections -->
    		<Properties>
    
    		</Properties>
    	</Application>
    </Root>
    Difference bitween origin (validates as good) and edge (with TARGETDURATION error) config:
    Code:
    27c27
    < 			<StreamType>rtp-live</StreamType>
    ---
    > 			<StreamType>liverepeater-edge</StreamType>
    31c31
    < 			<LiveStreamPacketizers>cupertinostreamingpacketizer,smoothstreamingpacketizer</LiveStreamPacketizers>
    ---
    > 			<LiveStreamPacketizers>cupertinostreamingrepeater,smoothstreamingrepeater</LiveStreamPacketizers>
    179c179
    < 			<OriginURL></OriginURL>
    ---
    > 			<OriginURL>rtmp://origin/rtplive</OriginURL>

  3. #23

    Default

    Quote Originally Posted by rrlanham View Post
    Can you send a url that we can try? If your Wowza server is on a public IP, send a url to support@wowzamedia.com

    Please include a link back to this thread.

    Richard
    Hi Richard

    Already send our live stream url to wowza support.

    James

  4. #24
    Join Date
    Dec 2007
    Posts
    25,681

    Default

    There is a support ticket that references this thread, but I'm not sure if it is from you or pl-xek. That ticket is resolved I think. I don't see anything else

    Richard

  5. #25

    Default

    Quote Originally Posted by rrlanham View Post
    There is a support ticket that references this thread, but I'm not sure if it is from you or pl-xek. That ticket is resolved I think. I don't see anything else

    Richard
    Hi Richard:

    We are still waiting for the response, our ticket number is 3744

    Thanks

    James

  6. #26

    Default

    Does this system work for video on demand also?

    Thanks!

  7. #27
    Join Date
    Dec 2007
    Posts
    25,681

    Default

    Yes it does. Works great. The audio track should be AAC though, not MP3.

    Richard

  8. #28

    Default Vod

    Does configuration need more/different changes than the ones described in the first post ?
    Last edited by Guille; 10-18-2010 at 07:53 AM. Reason: spell

  9. #29
    Join Date
    Dec 2007
    Posts
    25,681

    Default

    It is the same for vod or live. The property in step #1 is for Live only, but I don't think it will hurt in a vod application.

    If you are having trouble, remember mp3 doesn't work with this technique. The audio has to be AAC.

    Richard

  10. #30
    Join Date
    Dec 2007
    Posts
    25,681

    Default

    It is the same for vod or live. The property in step #1 is for Live only, but I don't think it will hurt in a vod application.

    If you are having trouble, remember mp3 doesn't work with this technique. The audio has to be AAC.

    Richard

Page 3 of 5 FirstFirst 12345 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •