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

Thread: Apple HTTP Streaming using Wowza 2

  1. #1

    Default Apple HTTP Streaming using Wowza 2

    I setup Apple HTTP Streaming using instructions at http://www.wowzamedia.com/forums/showthread.php?t=6469 .

    However, when I plug in the url (http://[wowza-address]:443/rtplive/m.../playlist.m3u8), in my Safari browser (on Mac), it downloades a file, instead of playing the video. My port is 443 and not 1935. The downloaded file contains the following

    #EXTM3U
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=64000
    http://[wowza-address]:443/rtplive/m...onid=394549218

    I have verified mySteam.sdp exists in the content folder.

    Any suggestions on what might be wrong?

  2. #2

    Default

    What version of Safari are you using? Only Safari 4.0 or later on a Mac can play these streams natively. On any other browser you'll get the result you are describing.

  3. #3

    Default

    I am using Version 4.0.4 (6531.21.10) of Safari.

  4. #4

    Default

    It only works if running on snow leopard.

    C

  5. #5

    Default

    I am trying it on Snow Leopard (10.6.2 Build 10C540), using Version 4.0.4 (6531.21.10) of Safari. Below is my application.xml file. Can you take a look and tell me what I might be doing wrong?

    <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>rtp-live</StreamType>
    <StorageDir>${com.wowza.wms.context.VHostConfigHom e}/content</StorageDir>
    <KeyDir>${com.wowza.wms.context.VHostConfigHome}/keys</KeyDir>
    <!-- LiveStreamPacketizers (separate with commas): cupertinostreamingpacketizer, smoothstreamingpacketizer, cupertinostreamingrepeater, smoothstreamingrepeater -->
    <LiveStreamPacketizers>cupertinostreamingpacketize r,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,smoothstreamin g</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>
    </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>

  6. #6

    Default

    Charlie/Dobrushin/Richard, Any suggestions?

  7. #7

    Default

    The instructions are here:

    http://www.wowzamedia.com/forums/showthread.php?t=6469

    Follow them carefully. Be sure yoiu use the stream manager to start the stream.

    Charlie

  8. #8

    Default

    So I was able to get this to work after I used the stream manager. Couple of questions

    1. How can I avoid using Stream Manager? I dont want to have to manually start each stream using a web interface. Need to be able to automate that part
    2. I am able to play the stream both in Quick Time and using video tag of HTML5. However, when I plugin the url in Safari's address bar, it downloads the file. I am using Safari version 4.0.4

    Thanks,
    Vivek

  9. #9
    Join Date
    Dec 2007
    Posts
    25,664

    Default

    The easiest way is to use /conf/StartUpStreams.xml to startup multiple streams automatically when the server starts.

    Or you can write a Module or HTTProvider around this code:
    http://www.wowzamedia.com/forums/showthread.php?t=7694

    Richard

  10. #10

    Default

    Richard,

    A newbie question: I have wowza streaming to flash working w/o having to use the stream manager. Why do I need that for Apple HTTP streaming? What exactly is the stream manager doing?

    I can't really use StartupStreams.xml, since my streams are on-demand. So starting a few on server startup is not really an option.

    Vivek

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
  •