Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 23

Thread: Using 2 or more servers to broadcast same Live stream

  1. #11

    Default

    Last edited by markcunningham07; 07-06-2010 at 01:20 AM.

  2. #12
    Join Date
    Dec 2007
    Posts
    25,645

    Default

    What is the contents of /content/akamai.stream?

    It looks like there is a square bracket, which doesn't belong.

    And can you play the origin stream directly?:

    Server: rtmp://[fms-address]/live
    Stream: myStream@2440

    And what is the values of Wowza Server/edge Application.xml /orginURL

    Make sure the originURL is empty in this case.

    Richard

  3. #13

    Default

    Content of /content/akamai.stream

    * rtmp://173.193.6.194/live/myStream@2440

    There is no bracket
    yes, i can play it on VLC or flash player

    Where do i find " Wowza Server/edge Application.xml /orginURL"

    I dont have such a folder call edge.

    Thank you

  4. #14
    Join Date
    Dec 2007
    Posts
    25,645

    Default

    The "[" "]" brackets indicate place holders.

    You can make a folder called edge in /application and /conf folder if you want the app to be named edge, but akamai is fine.

    Richard

  5. #15

    Default

    Still get an error. Could any one please explain.
    http://img819.imageshack.us/img819/7495/wowzaerror3.jpg

    Thank you

  6. #16

    Default

    Error keep repeating

  7. #17

    Default

    My application.xml on conf/akamai

    <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>liverepeater-edge</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></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>digest</PublishMethod>
    <PlayMethod>digest</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>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>
    </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>
    Last edited by markcunningham07; 07-06-2010 at 11:28 PM.

  8. #18

    Default

    I tried it

    <Properties>
    <Property>
    <Name>callFCSubscribe</Name>
    <Value>true</Value>
    <Type>Boolean</Type>
    </Property>
    </Properties>

    also

    <Property>
    <Name>callFCSubscribe</Name>
    <Value>true</Value>
    <Type>Boolean</Type>
    </Property>


    (with out Properties tag, just property tag)

  9. #19

    Default

    <OriginURL></OriginURL>

    I do not have any value under above tag

  10. #20
    Join Date
    Dec 2007
    Posts
    25,645

    Default

    The "@2440" in the stream name seems to be the problem. I tested without it and it works fine. This is how to do this:

    1. Test the orgin stream. You can use SimpleVideoStreaming example player:

      Server: rtmp://173.193.6.194/live
      Stream: myStream

      At this time, I see a cricket game. So all is good so far.

    2. Make an edge application on the Wowza server. Let's call it "edge". Create these two folders:

      /application/edge
      /conf/edge
    3. Copy /conf/Application.xml to /conf/edge/Application

    4. Open the new file /conf/edge/Application.xml in a text editor and make one change only, make StreamType "liverepeater-edge

      <StreamType>liverepeater-edge</StreamType>
      This is all you are need to do to the Application.xml

    5. Create a new text file with a .stream extension in the /content folder, call it myStream.stream
      /content/myStream.stream

    6. Open /content/myStream.stream in a text editor and add the full origin rtmp url + stream name:
      rtmp://173.193.6.194/live/myStream

    7. Now test this with SimpleVideoStreaming:

    Server: rtmp://[wowza-address]:/edge
    Stream: myStream.stream

    That's all. I am watching it now from an edge that I created here. "Cricket Plus"

    Richard

Page 2 of 3 FirstFirst 123 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •