Results 1 to 3 of 3

Thread: Live Stream Problem

  1. #1

    Question Live Stream Problem

    Hi,

    I want to service live streaming. Then I installed Wowza 3.1.2 Trail (30day License).

    I step to manual, vod play well done. I found 'How to set up live streaming using an RTMP-based encoder' page, I step it.

    I opened page to [install-dir]/examples/LiveVideoStreaming/client/live.html, I put live stream info....

    server: rtmp://192.168.1.2/live
    stream: mp4:sample.mp4
    but don't play and follow message.

    Failed to play sample.mp4; stream not found.
    I have change logging. follow log4j.properties changing.

    #log4j.rootCategory=INFO, stdout, serverAccess, serverError
    log4j.rootCategory=DEBUG, stdout, serverAccess, serverError
    then, I start server 'standalone' mode. I replay live streaming on the web that flash rtmp. but Failed.
    I have no idea. I don't know what's the problems. follow is 'DEBUG' log.

    help.

    INFO server comment - handshake0: 1537
    DEBUG server comment - Handshake[1]: length:1938
    DEBUG server comment - Handshake[2]: length:402
    DEBUG server comment - cmd: connect
    DEBUG server comment - queryStr:
    DEBUG server comment - Loading Application.xml: file:///usr/local/WowzaMediaServer/conf/live/Application.xml
    DEBUG server comment - load module: name:base class:com.wowza.wms.module.ModuleCore
    DEBUG server comment - add method (method): publish
    DEBUG server comment - add method (method): getVersion
    DEBUG server comment - add method (method): getRepeaterOriginUrl
    DEBUG server comment - add method (method): getStreamType
    DEBUG server comment - add method (method): setRepeaterOriginUrl
    DEBUG server comment - add method (method): setStreamType
    DEBUG server comment - add method (method): getReferrer
    DEBUG server comment - add method (method): getPageUrl
    DEBUG server comment - add method (method): setBufferTime
    DEBUG server comment - add method (method): getStreamBitrate
    DEBUG server comment - add method (method): getStreamLength
    DEBUG server comment - add method (method): getLiveStreamPacketizer
    DEBUG server comment - add method (method): initLiveStreamRepeating
    DEBUG server comment - add method (method): receiveAudio
    DEBUG server comment - add method (method): receiveVideo
    DEBUG server comment - add method (method): setLiveStreamPacketizer
    DEBUG server comment - add method (method): getClientID
    DEBUG server comment - add method (method): seek
    DEBUG server comment - add method (method): play
    DEBUG server comment - add method (method): createStream
    DEBUG server comment - add method (method): initStream
    DEBUG server comment - add method (method): pause
    DEBUG server comment - add method (method): getLastStreamId
    DEBUG server comment - add method (method): FCPublish
    DEBUG server comment - add method (method): FCSubscribe
    DEBUG server comment - add method (method): FCUnPublish
    DEBUG server comment - add method (method): FCUnSubscribe
    DEBUG server comment - add method (method): FCUnpublish
    DEBUG server comment - add method (method): FCUnsubscribe
    DEBUG server comment - add method (method): closeStream
    DEBUG server comment - add method (method): deleteStream
    DEBUG server comment - add method (method): pauseRaw
    DEBUG server comment - add method (method): play2
    DEBUG server comment - add method (method): releaseStream
    DEBUG server comment - add method (method): setBandwidthLimit
    DEBUG server comment - load module: nameroperties class:com.wowza.wms.module.ModuleProperties
    DEBUG server comment - add method (method): getAppInstanceProperty
    DEBUG server comment - add method (method): getApplicationProperty
    DEBUG server comment - add method (method): getClientProperty
    DEBUG server comment - add method (method): getStreamProperty
    DEBUG server comment - add method (method): setAppInstanceProperty
    DEBUG server comment - add method (method): setApplicationProperty
    DEBUG server comment - add method (method): setClientProperty
    DEBUG server comment - add method (method): setStreamProperty
    DEBUG server comment - load module: name:logging class:com.wowza.wms.module.ModuleClientLogging
    DEBUG server comment - add method (method): logDebug
    DEBUG server comment - add method (method): logError
    DEBUG server comment - add method (method): logInfo
    DEBUG server comment - add method (method): logWarn
    DEBUG server comment - load module: name:flvplayback class:com.wowza.wms.module.ModuleFLVPlayback
    DEBUG server comment - add method (event): onDisconnect
    DEBUG server comment - add method (event): onConnect
    DEBUG server comment - add method (event): onConnectAccept
    DEBUG server comment - add method (event): onConnectReject
    DEBUG server comment - add method (method): checkBandwidth
    DEBUG server comment - SharedObjectReadAccess: *
    DEBUG server comment - SharedObjectWriteAccess: *
    DEBUG server comment - StreamReadAccess: *
    DEBUG server comment - StreamWriteAccess: *
    DEBUG server comment - StreamAudioSampleAccess:
    DEBUG server comment - StreamVideoSampleAccess:
    DEBUG server comment - explodeStorageDir: ${com.wowza.wms.context.VHostConfigHome}/content=/usr/local/WowzaMediaServer/content
    DEBUG server comment - validateStoragePath: start: /usr/local/WowzaMediaServer/content
    DEBUG server comment - explodeStorageDir: ${com.wowza.wms.context.VHostConfigHome}/keys=/usr/local/WowzaMediaServer/keys
    DEBUG server comment - validateStoragePath: start: /usr/local/WowzaMediaServer/keys
    DEBUG server comment - explodeStorageDir: =
    DEBUG server comment - validateStoragePath: start:
    DEBUG server comment - parent: null
    INFO application app-start _definst_ live/_definst_
    DEBUG server comment - connect: connectapp=live
    DEBUG server comment - connect: connectflashVer=WIN 11,3,31,331
    DEBUG server comment - connect: connectswfUrl=http://192.168.1.2/examples/LiveVideoStreaming/client/live.swf <- RTMP flash player
    DEBUG server comment - connect: connecttcUrl=rtmp://192.168.1.2/live
    DEBUG server comment - connect: connectfpad=false
    DEBUG server comment - connect: connectcapabilities=239.0
    DEBUG server comment - connect: connectaudioCodecs=3575.0
    DEBUG server comment - connect: connectvideoCodecs=252.0
    DEBUG server comment - connect: connectvideoFunction=1.0
    DEBUG server comment - connect: connectpageUrl=http://192.168.1.2/examples/LiveVideoStreaming/client/live.html
    DEBUG server comment - connect: connectobjectEncoding=3.0
    INFO session connect-pending 192.168.1.2 -
    INFO session connect 192.168.1.2 -
    DEBUG server comment - cmd: createStream
    DEBUG server comment - LiveReceiver.onFlushNotifyClients[live/_definst_/]: false
    DEBUG server comment - LiveReceiver.flushInterval[live/_definst_/]: 75
    DEBUG server comment - LiveReceiver.verboseDebug[live/_definst_/]: false
    INFO stream create - -
    DEBUG server comment - cmd: play
    DEBUG server comment - cmd: setBufferTime
    DEBUG session setbuffertime [1798710923,1]: 3000 3000
    and follow 'live/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>
    <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>
    <RTP>
    <RTSP>
    <!-- udp, interleave -->
    <RTPTransportMode>interleave</RTPTransportMode>
    </RTSP>
    </RTP>
    <!-- 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>
    </Properties>
    </Application>
    </Root>
    Wowza 3.1.2 Trail license has restrict live streaming? Help me.
    Last edited by Hyun Seung Bum; 10-01-2012 at 02:00 AM.

  2. #2
    Join Date
    Jun 2012
    Posts
    723

    Default

    Hi,

    You didn't say anything about your live source. What do you use to feed the live stream into Wowza?
    There is a very nice video tutorial in the Articles/Tutorials section of this forum. You should check it out and maybe you can find your answer.
    This is the tutorial I am talking about: How to configure your live stream for web playback (video tutorial)

    Zoran

  3. #3
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    First, turn off DEBUG logging, revert to INFO level so you can see what is going on. The debug messages are not necessary for what you are doing.

    You need to publish a live stream, and that is not happening. You are trying to play a file: "sample.mp4" not a live stream.

    You can play a file as a live stream. If that is actually what you want to do, take a look at this scheduler:
    http://www.wowza.com/forums/content....rver-listener)

    Richard

Similar Threads

  1. Live stream recording (Problem)
    By _2in1_ in forum General Forum
    Replies: 2
    Last Post: 09-18-2012, 05:21 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
  •