Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Wowza and iPhone SDK4 -> not working anymore?

  1. #1
    Join Date
    Jun 2010
    Posts
    18

    Unhappy Wowza and iPhone SDK4 -> not working anymore?

    I was wondering if it was a problem with my server settings: I stream audio only and it seems to work fine on iphone safari on OS 3.0 to 3.2. But on OS 4.0, it seems that it just doesn't work? Is somebody else is experiencing the same issue or is it just me?

  2. #2
    Join Date
    Dec 2007
    Posts
    25,635

    Default

    I update IPhone 3gs from OS 3.2 to OS4 and haven't seen any change in stream capabilities. Make sure the Safari Plugins is turned on: Settings > Safari > Plugins "On"

    Richard

  3. #3
    Join Date
    Jun 2010
    Posts
    18

    Default

    I don't see any plugin settings in OS 4? Do you need to do something special to have access to it in 4.0?

    Also, I don't think you can install 3.2 on your iphone since it's only a release for the iPad.

  4. #4
    Join Date
    Dec 2007
    Posts
    25,635

    Default

    Sorry, you're right. That setting doesn't exist anymore.

    I'm pretty sure I had OS 3.2 on my IPhone 3gs. I can't confirm with my phone because I updated, but you can search "iphone os 3.2", lots of results for that.

    Try playing the Wowza IPhone sample:
    http://www.wowzamedia.com/iphone.html

    Richard

  5. #5
    Join Date
    Jun 2010
    Posts
    18

    Default

    Interesting, the sample works fine. So, it's probably a problem with the settings on my end?

    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>live</StreamType>
    			<StorageDir>${com.wowza.wms.context.VHostConfigHome}/content</StorageDir>
    			<KeyDir>${com.wowza.wms.context.VHostConfigHome}/keys</KeyDir>
    			<!-- LiveStreamPacketizers (separate with commas): cupertinostreamingpacketizer, smoothstreamingpacketizer, cupertinostreamingrepeater, smoothstreamingrepeater -->
    			<LiveStreamPacketizers>cupertinostreamingpacketizer,smoothstreamingpacketizer</LiveStreamPacketizers>			
    			<!-- Properties defined here will override any properties defined in conf/Streams.xml for any streams types loaded by this application -->
    			<Properties>
    			</Properties>
    		</Streams>
    		<!-- HTTPStreamers (separate with commas): cupertinostreaming, smoothstreaming -->
    		<HTTPStreamers>cupertinostreaming</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>none</PublishMethod>
    				<PlayMethod>none</PlayMethod>
    			</Authentication>
    			<!-- RTP/AVSyncMethod. Valid values are: senderreport, systemclock, rtptimecode -->
    			<AVSyncMethod>senderreport</AVSyncMethod>
    			<MaxRTCPWaitTime>12000</MaxRTCPWaitTime>
    			<IdleFrequency>25</IdleFrequency>
    			<IncomingDatagramPortRanges>*</IncomingDatagramPortRanges>
    			<!-- Properties defined here will override any properties defined in conf/RTP.xml for any depacketizers loaded by this application -->
    			<Properties>
                                    <Property>
                                            <Name>audioIsAligned</Name>
                                            <Value>false</Value>
                                            <Type>Boolean</Type>
                                    </Property>
    
    			</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>
    			</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>
    			<Property>
    				<Name>smoothStreamingMediaMajorVersion</Name>
    				<Value>2</Value>
    				<Type>Integer</Type>
    			</Property>
    		</Properties>
    	</Application>
    </Root>
    Last edited by AngeDeLaMort; 06-25-2010 at 08:31 AM.

  6. #6
    Join Date
    Jun 2010
    Posts
    18

    Default

    I have tried many different settings with the server and still no success with my audio stream (aac). I will try with different media to see if the problem is with the source data. But it's weird because it works fine in the other OS as I said previously.

  7. #7
    Join Date
    Jun 2010
    Posts
    18

    Default

    triple post!

    Ok, I've done several tests with my local server. It seems that only video is able to go through the new OS4 media player. An audio only stream doesn't seem to play. Even simple on demand mp3 streaming isn't working. I will try to contact apple support since Wowza works fine on previous OS.

    Would be nice if someone else could confirm that as well.

  8. #8
    Join Date
    Dec 2007
    Posts
    25,635

    Default

    Do you have a url I can test? Also, are you looking at the access logs? Wowza reports video and audio format, profile and level when you start playing.

    Richard

  9. #9
    Join Date
    Jun 2010
    Posts
    18

    Default

    Right now, it's impossible to put the url accessible, but I'll see what I can do.

    Using the sound stream: Everything seems fine server side.
    Code:
    NFO server comment - RTPMediaCaster.create
    INFO server comment - RTPMediaCaster.init
    INFO server comment - RTPMediaCaster.Reconnector: start
    INFO server comment - RTPSessionDescriptionDataProviderBasic.getStreamInfo: URI: udp://0.0.0.0:10001
    INFO server comment - HTTPStreamManager.onHTTPRequest: Publish stream successfully started [rtplive/_definst_]: galaxie1.stream
    INFO stream create - -
    INFO server comment - RTPDePacketizerMPEGTS.init: audioIsAligned: false
    INFO stream publish galaxie1.stream -
    INFO server comment - RTPUDPTransport.bind: /0.0.0.0:10001
    INFO server comment - RTPMediaCaster.Reconnector: stop
    INFO server comment - RTPDePacketizerMPEGTS.handleRTPPacket: audioPID: 0x501
    INFO server comment - UDPTransport.firstPacket: /0.0.0.0:10001
    INFO server comment - LiveStreamPacketizerCupertino.init[rtplive/_definst_/galaxie1.stream]: chunkDurationTarget: 10000
    INFO server comment - LiveStreamPacketizerCupertino.init[rtplive/_definst_/galaxie1.stream]: chunkDurationTolerance: 500
    INFO server comment - LiveStreamPacketizerCupertino.init[rtplive/_definst_/galaxie1.stream]: audioGroupCount: 3
    INFO server comment - LiveStreamPacketizerCupertino.init[rtplive/_definst_/galaxie1.stream]: playlistChunkCount:3
    INFO server comment - MediaStreamMap.getLiveStreamPacketizer: Create live stream packetizer: cupertinostreamingpacketizer:galaxie1.stream
    INFO server comment - MediaStreamMap.getLiveStreamPacketizer: Create live stream packetizer: smoothstreamingpacketizer:galaxie1.stream
    INFO server comment - LiveStreamPacketizerSmoothStreaming.startStream[rtplive/_definst_/galaxie1.stream]
    INFO server comment - CupertinoPacketHandler.startStream[rtplive/_definst_/galaxie1.stream]
    INFO server comment - LiveStreamPacketizerCupertino.handlePacket: Audio codec: AAC
    INFO server comment - LiveStreamPacketizerCupertino.handlePacket: Audio info[rtplive/_definst_/galaxie1.stream]: {AACFrame: size: 0, rate:24000, channels:2, samples:1024, errorBitsAbsent:true, profileObjectType:2}
    INFO server comment - LiveStreamPacketizerSmoothStreaming.flushPendingAudio: Bitrate[rtplive/_definst_/galaxie1.stream]: 94070
    INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[rtplive/_definst_/galaxie1.stream]: Add chunk: id:1 a/v/k:79/0/0 duration:10155
    INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[rtplive/_definst_/galaxie1.stream]: Add chunk: id:2 a/v/k:79/0/0 duration:10112
    INFO cupertino connect 1510138164 -
    INFO stream create galaxie1.stream -
    INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[rtplive/_definst_/galaxie1.stream]: Add chunk: id:3 a/v/k:79/0/0 duration:10112
    INFO cupertino connect 1171917959 -
    INFO stream create galaxie1.stream -
    INFO stream play galaxie1.stream -
    INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[rtplive/_definst_/galaxie1.stream]: Add chunk: id:4 a/v/k:79/0/0 duration:10112
    INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[rtplive/_definst_/galaxie1.stream]: Add chunk: id:5 a/v/k:79/0/0 duration:10112
    INFO stream destroy galaxie1.stream -
    INFO cupertino disconnect 1510138164 -
    For the MP3 test: Looks like Wowza doesn't support it yet
    Code:
    INFO application app-start _definst_ vod/_definst_
    INFO cupertino connect 1483487372 -
    INFO stream create ff7.mp3 -
    ERROR server comment - MediaReaderFactory: getInstance: Missing definition for mp3cupertino
    INFO cupertino connect 1383390919 -
    INFO stream create ff7.mp3 -
    ERROR server comment - MediaReaderFactory: getInstance: Missing definition for mp3cupertino
    INFO stream destroy ff7.mp3 -
    INFO cupertino disconnect 1483487372 -

  10. #10
    Join Date
    Apr 2010
    Posts
    17

    Default

    Whoops, I replied to the wrong thread here:
    http://www.wowzamedia.com/forums/sho...ghlight=iphone

    I have a similar problem. I think my steam was working fine with the iphone OS 3, but not with 4.

    Here is a link. Can anyone get this to load with iphone OS3? I have 4 now, and it doesn't work.

    http://cam.ly:1935/rtplive/camera3.stream/playlist.m3u8

Page 1 of 2 12 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
  •