Results 1 to 3 of 3

Thread: Broadcast live and recorded video. HELP!

  1. #1

    Question Broadcast live and recorded video. HELP!

    Hello, how are you?

    I do not know if I'm posting in the correct place, most if not ask to transfer to some correct location.

    My question is as follows:
    I have a VPS installed with Wowza, I'm trying to join the live broadcast with recorded video, in case I added in /usr/local/WowzaMediaServer/conf/test/Application.xml

    The following lines:
    <Module>
    <Name>ModuleStreamSwitch</Name>
    <Description>ModuleStreamSwitch</Description>
    <Class>com.wowza.wms.module.ModuleStreamSwitch</Class>
    </Module>

    I created within the directory: /usr/local/WowzaMediaServer/content the following file: streamschedule.smil.
    Within this file I inserted the following lines:

    <smil>
    <head>
    </head>
    <body>

    <stream name="teste"></stream>

    <playlist name="plalist1" playOnStream="teste" repeat="true" scheduled="2014-06-13 20:07:00">
    <video src="mp4:video1.mp4" start="0" length="-1" />
    </playlist>
    </body>
    </smil>

    To restart Wowza, I identify that the player still does not pass the video and just sits loading error log and identify the following error:

    [root@stream-video logs]# tail -f wowzamediaserver_error.log
    #Version: 1.0
    #Start-Date: 2014-06-13 19:13:45 EDT
    #Software: Wowza Media Server 2.2.4 build27452
    #Date: 2014-06-13
    #Fields: x-severity x-category x-event date time c-client-id c -ip c-port cs-bytes sc-bytes x-duration x-sname x-stre am-id x-spos sc-stream-bytes cs-stream-bytes x-file-size x-file-lengthx -ctx x-comment
    ERROR server comment 2014-06-13 19:13:47 - - - - - 2.027 - - - - - - - - l oadHTTPProvider: error parsing HTTPProvider properties: java.lang.ClassNotFoun dException: com.wowza.wms.http.HTTPProviderMediaList
    WARN server comment 2014-06-13 19:14:03 - - - - - 18.082 - - - - - - - - l oadModFunctions[teste/_definst_]: Module class not found or could not be l oaded. Check [install-dir]/conf/teste/Application.xml to be sure all Modul es/Module/Class paths are correct: name:ModuleStreamSwitch class:com.wowza.wms .module.ModuleStreamSwitch

    I would like to help you to solve this problem.
    In case I am trying to do the join in the live broadcast and recorded video.
    I await help from everyone, hug.

  2. #2

    Default

    Hello there,
    Are you following this guide?
    How to switch streams using Stream class streams
    If so you will need to build this module in the Wowza IDE.
    Here is the Wowza IDE and guide for setting it up

    Another option is to use this module:
    How to loop a pre-roll until a live stream starts (ModuleLoopUntilLive)

    I hope this information is helpful, please let us know if you need any other assistance.

    Salvadore

  3. #3

    Default

    Hello, how are you?
    I appreciate the help, but still same error, please check if I'm not doing anything wrong.

    /usr/local/WowzaMediaServer/conf/alexandre/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,sanjosestreamingpacket izer</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, sanjosestreaming -->
    <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>
    </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>ModuleLimitStreamViewers</Name>
    <Description>ModuleLimitStreamViewers</Description>
    <Class>com.wowza.wms.plugin.collection.module.ModuleLimitStreamViewers</Class>

    </Module>

    <Module>
    <Name>ModuleLoopUntilLive</Name>
    <Description>Loops filler video until live video is available.</Description>
    <Class>com.wowza.wms.plugin.collection.module.ModuleLoopUntilLive</Class>
    </Module>

    <Module>
    <Name>ModuleStreamWatchDog</Name>
    <Description>ModuleStreamWatchDog</Description>
    <Class>com.wowza.wms.plugin.collection.module.ModuleStreamWatchDog</Class>
    </Module>

    <Module>
    <Name>ModuleStreamControl</Name>
    <Description>Controls Stream class streams and playlists.</Description>
    <Class>com.wowza.wms.plugin.collection.module.ModuleStreamControl</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>

    <Module>

    <Name>ModuleRTMPAuthenticate</Name>
    <Description>ModuleRTMPAuthenticate</Description>
    <Class>com.wowza.wms.plugin.security.ModuleRTMPAuthenticate</Class>

    </Module>

    <Module>

    <Name>ModuleLimitPublishedStreamBandwidth</Name>
    <Description>Monitors module limit of published stream bandwidth.</Description>
    <Class>com.wowza.wms.plugin.collection.module.ModuleLimitPublishedStreamBandwidth</Class>

    </Module>

    <Module>
    <Name>streamPublisher</Name>
    <Description>Schedules streams and playlists.</Description>
    <Class>com.wowza.wms.plugin.collection.module.ModuleStreamPublisher</Class>
    </Module>
    </Modules>
    <!-- Properties defined here will be added to the IApplication.getProperties() and IApplicationInstance.getProperties() collections -->

    <Properties>


    <!-- Quantidade de Telespectadores (Ouvintes) -->

    <Property>

    <Name>maxStreamViewers</Name>

    <Value>50</Value>
    <Type>Integer</Type>

    </Property>

    <Property>
    <Name>loopUntilLiveSourceStreams</Name>
    <Value>alexandre</Value>
    <Type>String</Type>
    </Property>

    <Property>
    <Name>loopUntilLiveOutputStreams</Name>
    <Value>Stream1</Value>
    <Type>String</Type>
    </Property>

    <Property>
    <Name>streamPublisherVHost</Name>
    <Value>alexandre</Value>
    <Type>String</Type>
    </Property>

    <Property>
    <Name>streamPublisherApplication</Name>
    <Value>alexandre/_definst_</Value>
    <Type>String</Type>
    </Property>

    <Property>
    <Name>streamPublisherSmilFile</Name>
    <Value>streamschedule.smil</Value>
    <Type>String</Type>
    </Property>

    <!-- Bitrate de Transmissao -->

    <Property>

    <Name>limitPublishedStreamBandwidthMaxBitrate</Name>

    <Value>1200</Value>
    <Type>Integer</Type>

    </Property>

    <Property>

    <Name>rtmpEncoderAuthenticateFile</Name>
    <Value>${com.wowza.wms.context.VHostConfigHome}/conf/publish.password</Value>
    </Property>
    </Properties>
    </Application>

    </Root>

    /usr/local/WowzaMediaServer/content/streamschedule :

    <smil>
    <head>
    </head>
    <body>

    <stream name="Stream1"></stream>

    <playlist name="p11" playOnStream="Stream1" repeat="true" scheduled="2014-06-14 14:55:00">
    <video src="mp4:video1.mp4" start="0" length="20" />
    </playlist>
    </body>
    </smil>

    Posted 2 files, check for any errors?
    I'm using Wowza Media Server 2.2.4 Perpetual 2 on CentOS.

    I await help.

Similar Threads

  1. Help broadcast live video liverepeater
    By inforsepulveda in forum Live Streaming and Encoder Discussion
    Replies: 1
    Last Post: 01-27-2013, 04:35 PM
  2. broadcast multiple video files source as one live?
    By paymok in forum Live Streaming and Encoder Discussion
    Replies: 2
    Last Post: 02-25-2012, 07:34 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
  •