Results 1 to 2 of 2

Thread: HTTPStreamerAdapterSanJoseStreamer.getAppInstance: Stream not found

  1. #1

    Default HTTPStreamerAdapterSanJoseStreamer.getAppInstance: Stream not found

    Hi,

    I am trying to test adaptive bitrate streaming bu i am getting the same error again and again.
    Please help me.
    Thanks.
    Wowza Version
    #Software: Wowza Media Server 3.1.2 build1624
    Playback Url
    http://localhost:1935/liveabr/smil:myStream.smil/manifest.f4m
    Player
    [install-dir]/examples/SimpleVideoStreaming/clientOSMF/bin-release/SimpleOSMFPlayer.html
    Encoder Log
    Flash Media Live Encoder
    <?xml version="1.0" encoding="UTF-16"?>
    <flashmedialiveencoder_profile>
        <preset>
            <name>Custom</name>
            <description></description>
        </preset>
        <capture>
            <video>
            <device>A4 TECH USB2.0 PC Camera J</device>
            <crossbar_input>0</crossbar_input>
            <frame_rate>25.00</frame_rate>
            <size>
                <width>352</width>
                <height>288</height>
            </size>
            </video>
            <audio>
            <device>Digital Audio (S/PDIF) (High De</device>
            <crossbar_input>0</crossbar_input>
            <sample_rate>44100</sample_rate>
            <channels>2</channels>
            <input_volume>95</input_volume>
            </audio>
        </capture>
        <encode>
            <video>
            <format>H.264</format>
            <datarate>200;</datarate>
            <outputsize>176x144;</outputsize>
            <advanced>
                <profile>Baseline</profile>
                <level>3.1</level>
                <keyframe_frequency>5 Seconds</keyframe_frequency>
            </advanced>
            <autoadjust>
                <enable>false</enable>
                <maxbuffersize>1</maxbuffersize>
                <dropframes>
                <enable>false</enable>
                </dropframes>
                <degradequality>
                <enable>false</enable>
                <minvideobitrate></minvideobitrate>
                <preservepfq>false</preservepfq>
                </degradequality>
            </autoadjust>
            </video>
            <audio>
            <format>MP3</format>
            <datarate>112</datarate>
            </audio>
        </encode>
        <restartinterval>
            <days></days>
            <hours></hours>
            <minutes></minutes>
        </restartinterval>
        <reconnectinterval>
            <attempts></attempts>
            <interval></interval>
        </reconnectinterval>
        <output>
            <rtmp>
            <url>rtmp://localhost/liveabr</url>
            <backup_url></backup_url>
            <stream>myStream</stream>
            </rtmp>
        </output>
        <metadata>
            <entry>
            <key>author</key>
            <value></value>
            </entry>
            <entry>
            <key>copyright</key>
            <value></value>
            </entry>
            <entry>
            <key>description</key>
            <value></value>
            </entry>
            <entry>
            <key>keywords</key>
            <value></value>
            </entry>
            <entry>
            <key>rating</key>
            <value></value>
            </entry>
            <entry>
            <key>title</key>
            <value></value>
            </entry>
        </metadata>
        <preview>
            <video>
            <input>
                <zoom>100%</zoom>
            </input>
            <output>
                <zoom>100%</zoom>
            </output>
            </video>
            <audio></audio>
        </preview>
        
    </flashmedialiveencoder_profile>
    Application.xml

    <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>live</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>cupertinostreamingpacketizer,smoothstreamingpacketizer,sanjosestreamingpacketizer</LiveStreamPacketizers>			
    			<!-- Properties defined here will override any properties defined in conf/Streams.xml for any streams types loaded by this application -->
    			<Properties>
    			</Properties>
    		</Streams>
    		<Transcoder>
    			<!-- To turn on transcoder set to: transcoder -->
    			<LiveStreamTranscoder></LiveStreamTranscoder>
    			<!-- [templatename].xml or ${SourceStreamName}.xml -->
    			<Templates>${SourceStreamName}.xml,transrate.xml</Templates>
    			<ProfileDir>${com.wowza.wms.context.VHostConfigHome}/transcoder/profiles</ProfileDir>
    			<TemplateDir>${com.wowza.wms.context.VHostConfigHome}/transcoder/templates</TemplateDir>
    			<Properties>
    			</Properties>
    		</Transcoder>
    
    		<DVR>
    			<!-- As a single server or as an origin, use dvrstreamingpacketizer in LiveStreamPacketizers above -->
    			<!-- Or, in an origin-edge configuration, edges use dvrstreamingrepeater in LiveStreamPacketizers above -->
    			<!-- As an origin, also add dvrchunkstreaming to HTTPStreamers below -->
    
    			<!-- To turn on DVR recording set Recorders to dvrrecorder.  This works with dvrstreamingpacketizer  -->
    			<Recorders></Recorders>
    
    			<!-- As a single server or as an origin, set the Store to dvrfilestorage-->
    			<!-- edges should have this empty -->
    			<Store></Store>
    
    			<!--  Window Duration is length of live DVR window in seconds.  0 means the window is never trimmed. -->
    			<WindowDuration>0</WindowDuration>
    
    			<!-- Storage Directory is top level location where dvr is stored.  e.g. c:/temp/dvr -->
    			<StorageDir>${com.wowza.wms.context.VHostConfigHome}/dvr</StorageDir>
    
    			<!-- valid ArchiveStrategy values are append, version, delete -->
    			<ArchiveStrategy>append</ArchiveStrategy>
    
    			<!-- If this is a dvrstreamingrepeater, define ChunkOriginURL to point back to origin -->
    			<!-- And define Application/Repeater/OriginURL to point back to the origin -->
    			<Repeater>
    				<ChunkOriginURL></ChunkOriginURL>
    			</Repeater>
    
    			<!-- Properties for DVR -->
    			<Properties>
    			</Properties>
    		</DVR>
    
    		<!-- HTTPStreamers (separate with commas): cupertinostreaming, smoothstreaming, sanjosestreaming, dvrchunkstreaming -->
    		<HTTPStreamers>cupertinostreaming,smoothstreaming,sanjosestreaming</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>
    			<RTP>
    				<RTSP>
    					<!-- udp, interleave -->
    					<RTPTransportMode>interleave</RTPTransportMode>
    				</RTSP>
    			</RTP>
    			<!-- 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>
    			</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>
    			</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></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>
    		</Modules>
    		<!-- Properties defined here will be added to the IApplication.getProperties() and IApplicationInstance.getProperties() collections -->
    		<Properties>
    		</Properties>
    	</Application>
    </Root>
    Smil File

    <smil>
        <head>
        </head>
        <body>
            <switch>
                <video src="myStream_312" system-bitrate="312000"/>
                
            </switch>
        </body>
    </smil>
    Access Log

    2012-07-17	11:53:47	EEST	connect	sanjose	INFO	200	866373026	-	_defaultVHost_	liveabr	_definst_	6041.708	localhost	1935	http://localhost:1935/liveabr/smil:myStream.smil/manifest.f4m	127.0.0.1	http (sanjose)	-	Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0.1	866373026	0	0	-	0	-	-	myStream.smil	-	-	-	-	-	http://localhost:1935/liveabr/smil:myStream.smil/manifest.f4m	http://localhost:1935/liveabr/smil:myStream.smil/manifest.f4m	-	http://localhost:1935/liveabr/smil:myStream.smil/manifest.f4m	-
    2012-07-17	11:53:47	EEST	create	stream	INFO	200	myStream.smil	-	_defaultVHost_	liveabr	_definst_	0.0	localhost	1935	http://localhost:1935/liveabr/smil:myStream.smil/manifest.f4m	127.0.0.1	http (sanjose)	-	Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0.1	866373026	0	0	17	0	0	0	myStream.smil	-	-	-	-	-	http://localhost:1935/liveabr/smil:myStream.smil/manifest.f4m	http://localhost:1935/liveabr/smil:myStream.smil/manifest.f4m	-	http://localhost:1935/liveabr/smil:myStream.smil/manifest.f4m	-
    2012-07-17	11:53:47	EEST	comment	server	WARN	200	-	HTTPStreamerAdapterSanJoseStreamer.getAppInstance: Stream not found [liveabr/smil:myStream.smil/manifest.f4m]: myStream.smil	-	-	-	6041.752	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2012-07-17	11:54:21	EEST	destroy	stream	INFO	200	myStream.smil	-	_defaultVHost_	liveabr	_definst_	34.186	localhost	1935	http://localhost:1935/liveabr/smil:myStream.smil/manifest.f4m	127.0.0.1	http (sanjose)	-	Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0.1	866373026	0	0	17	0	0	0	myStream.smil	-	-	-	-	-	http://localhost:1935/liveabr/smil:myStream.smil/manifest.f4m	http://localhost:1935/liveabr/smil:myStream.smil/manifest.f4m	-	http://localhost:1935/liveabr/smil:myStream.smil/manifest.f4m	-
    2012-07-17	11:54:21	EEST	disconnect	sanjose	INFO	200	866373026	-	_defaultVHost_	liveabr	_definst_	6075.966	localhost	1935	http://localhost:1935/liveabr/smil:myStream.smil/manifest.f4m	127.0.0.1	http (sanjose)	-	Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0.1	866373026	0	0	-	0	-	-	myStream.smil	-	-	-	-	-	http://localhost:1935/liveabr/smil:myStream.smil/manifest.f4m	http://localhost:1935/liveabr/smil:myStream.smil/manifest.f4m	-	http://localhost:1935/liveabr/smil:myStream.smil/manifest.f4m	-
    Last edited by tujixx; 07-17-2012 at 02:10 AM. Reason: Additional Information

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

    Default

    Hi
    Is the file "myStream.smil" in the content directory?
    It may have the extension .txt on the end of the file name "myStream.smil.txt" which will give you the error you're getting.

    To change the extension in Windows the location is here,
    Start > Control Panel > Appearance and Personalization > Folder Options > View > Hide Extensions For Known File Types (un-tick)

    You may also not have started the stream called "myStream_312"

    Jason

Similar Threads

  1. GetAppInstance returns null!
    By Atmapuri in forum Wowza Streaming Server Java API
    Replies: 3
    Last Post: 04-23-2014, 11:42 AM
  2. Wowza HttpStreamerAdapterSanJoseStreamer.onPlaylist NullPointerException
    By lmarin in forum Server Administration Discussion
    Replies: 1
    Last Post: 12-12-2012, 06:44 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
  •