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

Thread: How to start a live streaming setup

  1. #1

    Default How to start a live streaming setup

    Hi,

    Sorry for not searching the forum before posting. Don't have time for today. Just hoping I can get some direction for my requirements.

    1. I tried installing wowza myself and I can't get it to work. Is there any company providing professional installation service out here?

    2. I need to stream live video that can be view on iPhone, iPad, and likes. Let say I have my wowza server running from question 1, What else do I need? What encoder I can use? Something like Flash Media encoder it it exist?

    3. Which is beter platform for wowza in terms of stability and performance, Windows or Linux?


    Thanks

  2. #2

    Default

    Hello littleantz,

    1. The simplest way to get Wowza going is to follow the VOD Tutorial. You can also request a list of independent consultants by sending an email to sales@wowza.com.

    2. For live streaming you will need a stream, encoded in a format Wowza accepts. There's a list of specific encoder tech here: http://www.wowza.com/forums/content....g-and-encoders. Flash Media Live Encoder is a good start.

    3. I have heard reports of users being able to provide more streams in Linux. Probably due to the reduced overhead of not running a GUI.

  3. #3

    Default Live streaming setup

    I manage to install wowza from my server support team.

    I tried to follow this steps: http://www.wowza.com/forums/content.php?36 to start my live streaming using Flash Media Encoder but without success.

    My updated Aplication.xml is here

    <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>
    			<!-- Properties defined here will override any properties defined in conf/MediaCasters.xml for any MediaCasters loaded by this applications -->
    			<Properties>
    				<Property>
    				    <Name>forceInterleaved</Name>
    				    <Value>true</Value>
    				    <Type>Boolean</Type>
    				</Property>			
    				<Property>
    					<Name>callFCSubscribe</Name>
    					<Value>true</Value>
    					<Type>Boolean</Type>
    				</Property>
    			</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>
    			<LiveStreamPacketizers>cupertinostreamingpacketizer, smoothstreamingpacketizer, sanjosestreamingpacketizer</LiveStreamPacketizers>
    			</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 upload it in the location and restart wowza service still I get "failure to connect" error on my Flash Media Live Encoder.

    Can anyone help me how to do it properly. I want to be able to stream live video from flash media encoder.

    Thanks

  4. #4

    Default

    Can you browse to http://[Wowza-IP]:1935 from the computer where you are running FMLE? You should see the Wowza version info. If not, then most likely your firewall is blocking port 1935.

    I see you have streamtype: live, playmethod: none, and the correct LiveStreamPacketizers.. so that looks correct. Possibly, you have a typo in your FMS URL in FMLE. Or, maybe you have not created the "live" folder in [Wowza]/applications. Or, you have not copied the correct Application.xml to [Wowza]/conf/live. You can post a screen shot of your FMLE settings.
    Last edited by randall; 11-06-2011 at 08:51 PM.

  5. #5

    Default

    Got it working..

    the install of wowza itself was the problem. Reinstall it and now it's OK.

    By the way.. in FMLE there is H.264 format. Will I be able to watch in iOS (iphone ipad) if I stream using that format?

    Thanks

  6. #6

    Default

    Good news!

    For iDevices use:
    H.264 baseline profile, level 3.0, 2 second key frame frequency and AAC or MP3 audio. If it is MP3, make it stereo, 44.1kHz, 128kbps.
    Last edited by randall; 11-07-2011 at 03:28 AM.

  7. #7

    Default

    Hi,

    I did that settings but still I can't get it to play on iDevices.

    JW Player team said I should get M3U8 file from you to make it work.

    So far this is what I got on my live streaming

    http://livestream.mcgi.me/public/test.html

    It works OK on desktop browser but not on iDevices.

    Can you give me that M3U8 playlist?

    Thanks

  8. #8

    Default

    Hi littleantz,

    What URL are you using to play the stream in your iPhone?

  9. #9

  10. #10

    Default

    That page is in flash. Does your iPhone support flash?

    littleantz, there is a very good resource here that you should review: http://www.wowza.com/forums/content.php?4-tutorials

Page 1 of 2 12 LastLast

Similar Threads

  1. How to setup WOWZA to do VOD and Live Streaming at same time?
    By rs.ming in forum Live Streaming and Encoders
    Replies: 11
    Last Post: 07-07-2014, 05:18 AM
  2. Need help in Live streaming setup!
    By dearsasidhar in forum Wowza Media Server 3 for Amazon EC2 Discussion
    Replies: 3
    Last Post: 02-02-2012, 05:26 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
  •