Page 1 of 3 123 LastLast
Results 1 to 10 of 24

Thread: Not streaming on ipad/iphone, but everything else works fine

  1. #1

    Default Not streaming on ipad/iphone, but everything else works fine

    Please I am using Adobe media flash encoder with settings:
    FMS URL: rmtp://ipaddress:1935/live/myStream
    Stream: myStream

    where live is my application name and myStream is the stream name.

    I selected for video: H.264 and audio: mp3

    In my jwplayer I set 'http://ipAddress:1935/myStream/live/playlist.m3u8' for file.

    When I run it on a ipad I get this error in the log file:

    WARN server comment 2012-09-19 11:26:51 - 2.278 - live MediaReaderH264.open[1]: java.io.FileNotFoundException: C:\inetpub\wwwroot\xxxxx\videos\live (Access is denied)
    ERROR server comment 2012-09-19 11:26:51 - 2.278 - MediaReaderH264Cupertino.indexFile:java.lang.NullPointerException

    Everything works well every where else but on ipad and iphone it doesn't. I have set this folder publice but still doesn't work.


    What am I doing wrong? Can anyone please help?

    Thanks

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

    Default

    Hi
    Here is the tutorial for live streaming,
    http://www.wowza.com/forums/content....-based-encoder

    FMLE setup should look like this:

    FMS URL: rmtp://wowza-address:1935/live/
    Stream: myStream

    You should be able to play the stream using this url for JWPlayer
    rtmp://[wowza-address]:1935/live/myStream/
    Jason
    Last edited by JasonH; 09-19-2012 at 07:48 AM.

  3. #3
    Join Date
    Jul 2009
    Posts
    135

    Default

    Also, here is the Wowza / JW Player tutorial for RTMP (desktop) with HTML5 (iPhone/iPad) failover:

    http://www.wowza.com/forums/content....a-Media-Server

  4. #4

    Default

    Thanks JasonH & susta004 for getting back to me.

    I have read the tutorial and changed the settings like u said. It still works well for other platforms but not on ipad/iphone.
    I now get the follow error:


    WARN server comment 2012-09-20 10:18:03 - - 48335.845 - - HTTPStreamerAdapterCupertinoStreamer.getAppInstance: Stream not found [live/myStream/playlist.m3u8]: myStream
    WARN server comment 2012-09-20 10:21:14 - - 48526.322 - - HTTPStreamerAdapterCupertinoStreamer.getAppInstance: Stream not found [live/myStream/playlist.m3u8]: myStream



    My setting now looks like this:

    FMS URL: rmtp://ipaddress:1935/live
    Stream: myStream

    My player:

    <div id="player">You need Flash or iOS to play this stream--</div>
    <script type="text/javascript">
    jwplayer("player").setup({ height: 270, players:
    [{ config: { file: 'myStream', streamer: 'rtmp://ipaddress:1935/live' },
    type: 'flash', src: 'jwplayer/player.swf'
    }, {
    config: { file: 'http://ipaddress:1935/live/myStream/playlist.m3u8' },
    type: 'html5'
    }],
    plugins: { 'myStream': { end: 1314921600, start: 1314907200, title: 'Live broadcast test'} }, width: 480
    });</script>


    Can u please tell me what I am doing wrong?
    Thanks.
    Last edited by hfogwe; 09-20-2012 at 03:42 AM.

  5. #5
    Join Date
    Jul 2009
    Posts
    135

    Default

    Not sure where you are getting your JW Player code -- it's definitely not the same as the example link I posted earlier, or the sample at the JW Player site:

    http://www.longtailvideo.com/support...html5-fallback

    I would try using that exact JW Player embed code (substituting your Wowza address, of course):

    <script type='text/javascript' src='jwplayer.js'></script>
    
    <div id='mediaplayer'></div>
    
    <script type="text/javascript">
      jwplayer('mediaplayer').setup({
        'id': 'playerID',
        'width': '480',
        'height': '270',
        'provider': 'rtmp',
        'streamer': 'rtmp://[wowza-address]:1935/live',
        'file': 'myStream',
        'modes': [
            {type: 'flash', src: 'player.swf'},
    	{type: 'html5', config:
    		{
    		'file': "http://[wowza-address]:1935/live/myStream/playlist.m3u8",
    		provider: 'video'
    		}
    	}
        ]
      });
    </script>
    If you can, post the link too and maybe we can see if others can access it.

  6. #6

    Default

    I have copied and pasted ur example and only modified the links.

    This is the link: http://www.lci-mediazone.com/test.aspx

    On PCs it works well but on ipad it says that either the network failed or the format is not suported.
    Error log:

    2012-09-20 12:17:32 UTC comment server WARN 200 - HTTPStreamerAdapterCupertinoStreamer.getAppInstance: Stream not found [live/myStream/playlist.m3u8]: myStream - 213.769


    Thanks
    Last edited by hfogwe; 09-20-2012 at 05:22 AM.

  7. #7

    Default

    Can anyone please help me on this?

  8. #8
    Join Date
    Jul 2009
    Posts
    135

    Default

    Do you have this line in your Application.xml file?

    <LiveStreamPacketizers>cupertinostreamingpacketizer</LiveStreamPacketizers>
    This is part of the tutorial linked earlier.

    If you do have this line, and it still doesn't work, post your Application.xml for us.
    Last edited by susta004; 09-21-2012 at 07:52 AM.

  9. #9

    Default

    Hi hfogwe,

    Since JWPlayer is not a Wowza product, you will probably get the most up-to-date information by checking with the JWPlayer support resources.

    We can help you verify that the Cupertino streaming works on your iDevice. Take a look at the VOD tutorial, and see the section "To play using an Apple iOS device" for the correct playback URL which you can type into your Safari browser URL bar.

  10. #10

    Default

    Here is my 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>
    I don't think the jwplayer is the problem cos it works well when streaming an mp4 file.
    Last edited by hfogwe; 09-21-2012 at 06:29 PM.

Page 1 of 3 123 LastLast

Similar Threads

  1. Live streaming stuck on smooth player, works fine on HLS player (iPad)
    By Strashila in forum Live Streaming and Encoder Discussion
    Replies: 1
    Last Post: 12-02-2013, 10:56 AM
  2. Apple iOS not streaming, everything else works fine.
    By rviteri in forum Live Streaming and Encoder Discussion
    Replies: 14
    Last Post: 11-24-2012, 04:17 PM
  3. Live stream works on iPad but not on iPhone or Android.
    By glbntv in forum Wowza Media Server 3 for Amazon EC2 Discussion
    Replies: 8
    Last Post: 10-11-2012, 08:03 AM
  4. Replies: 19
    Last Post: 10-31-2011, 09: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
  •