Results 1 to 3 of 3

Thread: VOD - Android 4.1.1 RTSP - Video issue

  1. #1

    Default VOD - Android 4.1.1 RTSP - Video issue

    Hi,

    Im having problems with VOD over RTSP and Android 4.1.1: when the playback starts, the image is messy but the audio is fine.



    This only happens with Android 4.1.1 over RTSP (for example, Android 4.0.4 has no problem). Also, if you use progressive download, the videos are fine in any Android version.

    My app config:
    <?xml version="1.0" encoding="UTF-8" standalone="no"?><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/>
    		</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>default</StreamType>
    			<StorageDir>${com.wowza.wms.context.VHostConfigHome}/content</StorageDir>
    			<KeyDir>${com.wowza.wms.context.VHostConfigHome}/keys</KeyDir>
    			<!-- LiveStreamPacketizers (separate with commas): cupertinostreamingpacketizer, smoothstreamingpacketizer, sanjosestreamingpacketizer, cupertinostreamingrepeater, smoothstreamingrepeater, sanjosestreamingrepeater -->
    			<LiveStreamPacketizers/>			
    			<!-- Properties defined here will override any properties defined in conf/Streams.xml for any streams types loaded by this application -->
    			<Properties>
                                    <!-- http://www.wowza.com/forums/content.php?77-How-to-debug-encoder-multi-bitrate-key-frame-alignment -->
                                    <Property>
                                            <Name>debugKeyFrameTimecodes</Name>
                                            <Value>true</Value>
                                            <Type>Boolean</Type>
                                    </Property>
    			</Properties>
    		</Streams>
    		<!-- HTTPStreamers (separate with commas): cupertinostreaming, smoothstreaming, sanjosestreaming -->
    		<HTTPStreamers>cupertinostreaming,smoothstreaming,sanjosestreaming</HTTPStreamers>			
    		<SharedObjects>
    			<StorageDir/>
    		</SharedObjects>
    		<Client>
    			<IdleFrequency>-1</IdleFrequency>
    			<Access>
    				<StreamReadAccess>*</StreamReadAccess>
    				<StreamWriteAccess>*</StreamWriteAccess>
    				<StreamAudioSampleAccess/>
    				<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/>
    			<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>
    			</Properties>
    		</MediaCaster>
    		<MediaReader>
    			<!-- Properties defined here will override any properties defined in conf/MediaReaders.xml for any MediaReaders loaded by this applications -->
    			<Properties>
    				<Property> 
    					<Name>randomAccessReaderClass</Name> 
    					<Value>com.wowza.wms.plugin.mediacache.impl.MediaCacheRandomAccessReader</Value> 
    				</Property> 
    			</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>
                                    <!-- http://www.wowza.com/forums/content.php?77-How-to-debug-encoder-multi-bitrate-key-frame-alignment -->
                                    <Property>
                                            <Name>maxChunkLogCount</Name>
                                            <Value>0</Value>
                                            <Type>Integer</Type>
                                    </Property>
                                    <Property>
                                            <Name>chunkBreakOnPTS</Name>
                                            <Value>false</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>
    			</Properties>
    		</HTTPStreamer>
    		<Repeater>
    			<OriginURL/>
    			<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>Hotlink Denial</Name>
                                    <Description>Hotlink Denial Module</Description>
                                    <Class>com.wowza.wms.plugin.collection.module.ModuleHotlinkDenial</Class>
                            </Module>
    			<Module><Name>Wmsauth</Name><Description>Wmsauth</Description><Class>com.wmspanel.Wmsauth</Class></Module>
    		</Modules>
    		<!-- Properties defined here will be added to the IApplication.getProperties() and IApplicationInstance.getProperties() collections -->
    		<Properties>
                            <Property>
                                    <Name>domainLock</Name>
                                    <Value>*mydomain.com</Value>
                            </Property>
                            <Property>
                                    <Name>idleDisconnectTimeout</Name>
                                    <Value>60000</Value> <!-- 1 minutes in millseconds -->
                                    <Type>Integer</Type>
                            </Property>
                            <Property>
                                    <Name>idleDisconnectFrequency</Name>
                                    <Value>500</Value>
                                    <Type>Integer</Type>
                            </Property>
    		</Properties>
    	</Application>
    </Root>
    Thank you very much!!

  2. #2

    Default

    Anyone?

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

    Default

    Does it work with this file (from the mobile test page):

    http://www.wowza.com/_h264/BigBuckBunny_115k.mov

    There are examples of encoding for mobile devices in this article:
    http://www.wowza.com/forums/content....demand-content

    Richard

Similar Threads

  1. video on demand streaming with jwplayer wowza android issue
    By taymoor in forum Media Players and Devices Discussion
    Replies: 3
    Last Post: 07-17-2013, 07:34 AM
  2. VOD over RTSP to Android Seek Problem
    By buzzsaw in forum Media Players and Devices Discussion
    Replies: 6
    Last Post: 03-27-2013, 06:05 AM
  3. VOD , video quality issue
    By ehuman in forum Video On Demand Streaming Discussion
    Replies: 1
    Last Post: 12-15-2011, 02:10 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
  •