Results 1 to 6 of 6

Thread: multicast in rtmp

  1. #1
    Join Date
    Apr 2013
    Posts
    4

    Default multicast in rtmp

    Hello. Trying to set up a multicast conversion rtmp, but not yet obtained.
    1-st step: install Wowza.
    2-nd: create folder "live" into conf and copy Application.xml
    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>rtp-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, dvrstreamingpacketizer, dvrstreamingrepeater -->
    			<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>
    		<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, -->
    			<!-- either define the general Application/Repeater/OriginURL below to point back to the origin -->
    			<!-- or define this one (which affects only DVR origin-edge).  e.g. http://localhost/dvrorigin -->
    			<Repeater>
    				<ChunkOriginURL></ChunkOriginURL>
    			</Repeater>
    
    			<!-- Properties for DVR -->
    			<Properties>
    			</Properties>
    		</DVR>
    
    		<TimedText>
    			<!-- VOD caption providers (separate with commas): vodcaptionprovidermp4_3gpp, vodcaptionproviderttml, vodcaptionprovidersrt, vodcaptionproviderscc -->
    			<VODTimedTextProviders>vodcaptionprovidermp4_3gpp</VODTimedTextProviders>
    			
    			<!-- Properties for TimedText -->
    			<Properties>
    			</Properties>		
    		</TimedText>
    		
    		<!-- 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>192.168.100.11</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>
    3-rd: create file "mpegts.stream" in folder "content"
    mpegts.stream:
    udp://239.255.5.11:1234
    In jwplayer from site:
    index.php:
    <center><div id='mediaspace'>This text will be replaced</div><center>
    					<script type='text/javascript'>
    					jwplayer('mediaspace').setup({
    					'flashplayer': 'player.swf',
    					'file': 'mpegts.stream',
    					'streamer': 'rtmp://192.168.100.11:1935/live',
    					//'provider': "rtmp",
    					'controlbar': 'bottom',
    					'width': '400',
    					'height': '400',
    					'autoStart' : 'true'
    					});
    					</script>
    /usr/local/WowzaMediaServer/logs/wowzamediaserver_access.log:
    2013-04-05      16:51:45        EEST    connect-pending session INFO    100     192.168.100.250 -       _defaultVHost_  vod     _definst_       0.045   [any]   1935    rtmp://192.168.100.11:1935/vod/ 192.168.100.250 rtmp    http://hw.ardinvest.com/tv/player.swf?&file=sample.mp4&streamer=rtmp://192.168.100.11:1935/vod/      WIN 11,6,602,180        1360474576      3461    3073    -       -       -       -       -       -       -       -       -       -       -       -   -rtmp://192.168.100.11:1935/vod/ -
    2013-04-05      16:51:45        EEST    connect session INFO    200     192.168.100.250 -       _defaultVHost_  vod     _definst_       0.046   [any]   1935    rtmp://192.168.100.11:1935/vod/ 192.168.100.250 rtmp    http://hw.ardinvest.com/tv/player.swf?&file=sample.mp4&streamer=rtmp://192.168.100.11:1935/vod/      WIN 11,6,602,180        1360474576      3461    3073    -       -       -       -       -       -       -       -       -       -       -       -       -   rtmp://192.168.100.11:1935/vod/  -
    2013-04-05      16:51:45        EEST    create  stream  INFO    200     -       -       _defaultVHost_  vod     _definst_       0.001   [any]   1935    rtmp://192.168.100.11:1935/vod/ 192.168.100.250 rtmp    http://hw.ardinvest.com/tv/player.swf?&file=sample.mp4&streamer=rtmp://192.168.100.11:1935/vod/      WIN 11,6,602,180        1360474576      3532    3413    1       -       0       0       -       -       -       -       0       0.0     rtmp://192.168.100.11:1935/vod/      rtmp://192.168.100.11:1935/vod/ -       rtmp://192.168.100.11:1935/vod/ -
    2013-04-05      16:51:45        EEST    play    stream  INFO    200     sample.mp4      -       _defaultVHost_  vod     _definst_       0.051   [any]   1935    rtmp://192.168.100.11:1935/vod/ 192.168.100.250 rtmp    http://hw.ardinvest.com/tv/player.swf?&file=sample.mp4&streamer=rtmp://192.168.100.11:1935/vod/      WIN 11,6,602,180        1360474576      3642    3495    1       0       0       0       sample.mp4      -       /usr/local/WowzaMediaServer/content/sample.mp4       mp4     39115156        596.458 rtmp://192.168.100.11:1935/vod//sample.mp4      rtmp://192.168.100.11:1935/vod//sample.mp4      -       rtmp://192.168.100.11:1935/vod/ -
    2013-04-05      16:52:42        EEST    pause   stream  INFO    200     sample.mp4      -       _defaultVHost_  vod     _definst_       57.248  [any]   1935    rtmp://192.168.100.11:1935/vod/ 192.168.100.250 rtmp    http://hw.ardinvest.com/tv/player.swf?&file=sample.mp4&streamer=rtmp://192.168.100.11:1935/vod/      WIN 11,6,602,180        1360474576      3762    4078715 1       63659   0       4074774 sample.mp4      -       /usr/local/WowzaMediaServer/content/sample.mp4       mp4     39115156        596.458 rtmp://192.168.100.11:1935/vod//sample.mp4      rtmp://192.168.100.11:1935/vod//sample.mp4      -       rtmp://192.168.100.11:1935/vod/ -
    2013-04-05      16:55:26        EEST    comment server  INFO    200     -       RTPMediaCaster.streamTimeout[1169368970:live/_definst_:mpegts.stream]: timeout:12000 diff:12002 reason:101      -       -       -       1499.039        -   --       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2013-04-05      16:55:26        EEST    comment server  INFO    200     -       RTPMediaCaster.resetConnection[1169368970:live/_definst_:mpegts.stream]:        -       -       -       1499.039        -       -       -       -       -   --       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2013-04-05      16:55:26        EEST    comment server  INFO    200     -       RTPMediaCaster.closeRTPSession[1169368970:live/_definst_:mpegts.stream] -       -       -       1499.039        -       -       -       -       -       -   --       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2013-04-05      16:55:26        EEST    comment server  INFO    200     -       MulticastTransport.unbind[live/_definst_]: 239.255.5.11/1234 sent:0 recv:474882 -       -       -       1499.04 -       -       -       -       -       -   --       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2013-04-05      16:55:26        EEST    unpublish       stream  INFO    200     mpegts.stream   -       _defaultVHost_  live    _definst_       1423.785        -       80      null    127.0.0.1       rtsp    -       known   32379992    624944712        0       3       96347696        624944712       0       mpegts.stream   -       -       -       -       -       null    null    -       null    -
    2013-04-05      16:55:26        EEST    destroy stream  INFO    200     mpegts.stream   -       _defaultVHost_  live    _definst_       1423.786        -       80      null    127.0.0.1       rtsp    -       known   32379992        624944712    0       3       0       624944712       0       mpegts.stream   -       -       -       -       -       null    null    -       null    -
    2013-04-05      16:55:26        EEST    comment server  INFO    200     -       RTPMediaCaster.Reconnector[1169368970:live/_definst_:mpegts.stream]: start: 2   -       -       -       1499.041        -       -       -       -       -   --       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2013-04-05      16:55:26        EEST    comment server  INFO    200     -       RTPMulticastListener.run(stop)  _defaultVHost_  live    _definst_       1499.043        -       80      null    127.0.0.1       rtsp    -       known   32379992     0       0       -       -       -       -       -       -       -       -       -       -       -       -       -       null    -
    2013-04-05      16:55:26        EEST    comment server  INFO    200     -       RTPSessionDescriptionDataProviderBasic.getStreamInfo[live/_definst_]: URI: udp://239.255.5.11:1234      -       -       -       1499.142        -       -   --       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2013-04-05      16:55:26        EEST    create  stream  INFO    200     -       -       _defaultVHost_  live    _definst_       0.0     -       80      null    127.0.0.1       rtsp    -       known   22572541        0       0       4   00       0       mpegts.stream   -       -       -       -       -       null    null    -       null    -
    2013-04-05      16:55:26        EEST    comment server  INFO    200     -       MulticastTransport.bind[live/_definst_]: 239.255.5.11/1234      _defaultVHost_  live    _definst_       1499.144        -       80      null    127.0.0.1   rtsp     -       known   22572541        0       0       -       -       -       -       -       -       -       -       -       -       -       -       -       null    -
    2013-04-05      16:55:26        EEST    publish stream  INFO    200     mpegts.stream   -       _defaultVHost_  live    _definst_       0.002   -       80      null    127.0.0.1       rtsp    -       known   22572541        0       0   40       0       0       mpegts.stream   -       -       -       -       -       null    null    -       null    -
    2013-04-05      16:55:26        EEST    comment server  INFO    200     -       RTPMediaCaster.Reconnector[1169368970:live/_definst_:mpegts.stream]: done: 2    -       -       -       1499.145        -       -       -       -       -   --       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2013-04-05      16:55:38        EEST    comment server  INFO    200     -       RTPMediaCaster.streamTimeout[1169368970:live/_definst_:mpegts.stream]: timeout:12000 diff:12003 reason:101      -       -       -       1511.544        -   --       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2013-04-05      16:55:38        EEST    comment server  INFO    200     -       RTPMediaCaster.resetConnection[1169368970:live/_definst_:mpegts.stream]:        -       -       -       1511.545        -       -       -       -       -   --       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2013-04-05      16:55:38        EEST    comment server  INFO    200     -       RTPMediaCaster.closeRTPSession[1169368970:live/_definst_:mpegts.stream] -       -       -       1511.545        -       -       -       -       -       -   --       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2013-04-05      16:55:38        EEST    comment server  INFO    200     -       MulticastTransport.unbind[live/_definst_]: 239.255.5.11/1234 sent:0 recv:0      -       -       -       1511.546        -       -       -       -       -   --       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2013-04-05      16:55:38        EEST    unpublish       stream  INFO    200     mpegts.stream   -       _defaultVHost_  live    _definst_       12.403  -       80      null    127.0.0.1       rtsp    -       known   22572541        0   04       0       0       0       mpegts.stream   -       -       -       -       -       null    null    -       null    -
    2013-04-05      16:55:38        EEST    destroy stream  INFO    200     mpegts.stream   -       _defaultVHost_  live    _definst_       12.404  -       80      null    127.0.0.1       rtsp    -       known   22572541        0       0   40       0       0       mpegts.stream   -       -       -       -       -       null    null    -       null    -
    2013-04-05      16:55:38        EEST    comment server  INFO    200     -       RTPMediaCaster.Reconnector[1169368970:live/_definst_:mpegts.stream]: start: 3   -       -       -       1511.547        -       -       -       -       -   --       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2013-04-05      16:55:38        EEST    comment server  INFO    200     -       RTPMulticastListener.run(stop)  _defaultVHost_  live    _definst_       1511.565        -       80      null    127.0.0.1       rtsp    -       known   22572541     0       0       -       -       -       -       -       -       -       -       -       -       -       -       -       null    -
    2013-04-05      16:55:38        EEST    comment server  INFO    200     -       RTPSessionDescriptionDataProviderBasic.getStreamInfo[live/_definst_]: URI: udp://239.255.5.11:1234      -       -       -       1511.648        -       -   --       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2013-04-05      16:55:38        EEST    create  stream  INFO    200     -       -       _defaultVHost_  live    _definst_       0.0     -       80      null    127.0.0.1       rtsp    -       known   680964877       0       0       5   00       0       mpegts.stream   -       -       -       -       -       null    null    -       null    -
    2013-04-05      16:55:38        EEST    comment server  INFO    200     -       MulticastTransport.bind[live/_definst_]: 239.255.5.11/1234      _defaultVHost_  live    _definst_       1511.65 -       80      null    127.0.0.1       rtsp-known   680964877       0       0       -       -       -       -       -       -       -       -       -       -       -       -       -       null    -
    2013-04-05      16:55:38        EEST    publish stream  INFO    200     mpegts.stream   -       _defaultVHost_  live    _definst_       0.001   -       80      null    127.0.0.1       rtsp    -       known   680964877       0       0   50       0       0       mpegts.stream   -       -       -       -       -       null    null    -       null    -
    2013-04-05      16:55:38        EEST    comment server  INFO    200     -       RTPMediaCaster.Reconnector[1169368970:live/_definst_:mpegts.stream]: done: 3    -       -       -       1511.651        -       -       -       -       -   --       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2013-04-05      16:55:51        EEST    comment server  INFO    200     -       RTPMediaCaster.streamTimeout[1169368970:live/_definst_:mpegts.stream]: timeout:12000 diff:12003 reason:101      -       -       -       1524.05 -       -   --       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2013-04-05      16:55:51        EEST    comment server  INFO    200     -       RTPMediaCaster.resetConnection[1169368970:live/_definst_:mpegts.stream]:        -       -       -       1524.051        -       -       -       -       -   --       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2013-04-05      16:55:51        EEST    comment server  INFO    200     -       RTPMediaCaster.closeRTPSession[1169368970:live/_definst_:mpegts.stream] -       -       -       1524.051        -       -       -       -       -       -   --       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2013-04-05      16:55:51        EEST    comment server  INFO    200     -       MulticastTransport.unbind[live/_definst_]: 239.255.5.11/1234 sent:0 recv:0      -       -       -       1524.052        -       -       -       -       -   --       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2013-04-05      16:55:51        EEST    unpublish       stream  INFO    200     mpegts.stream   -       _defaultVHost_  live    _definst_       12.404  -       80      null    127.0.0.1       rtsp    -       known   680964877       0   05       0       0       0       mpegts.stream   -       -       -       -       -       null    null    -       null    -
    2013-04-05      16:55:51        EEST    destroy stream  INFO    200     mpegts.stream   -       _defaultVHost_  live    _definst_       12.404  -       80      null    127.0.0.1       rtsp    -       known   680964877       0       0   50       0       0       mpegts.stream   -       -       -       -       -       null    null    -       null    -
    2013-04-05      16:55:51        EEST    comment server  INFO    200     -       RTPMediaCaster.Reconnector[1169368970:live/_definst_:mpegts.stream]: start: 4   -       -       -       1524.053        -       -       -       -       -   --       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2013-04-05      16:55:51        EEST    comment server  INFO    200     -       RTPMulticastListener.run(stop)  _defaultVHost_  live    _definst_       1524.07 -       80      null    127.0.0.1       rtsp    -       known   680964877   00       -       -       -       -       -       -       -       -       -       -       -       -       -       null    -
    2013-04-05      16:55:51        EEST    comment server  INFO    200     -       RTPSessionDescriptionDataProviderBasic.getStreamInfo[live/_definst_]: URI: udp://239.255.5.11:1234      -       -       -       1524.154        -       -   --       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2013-04-05      16:55:51        EEST    create  stream  INFO    200     -       -       _defaultVHost_  live    _definst_       0.0     -       80      null    127.0.0.1       rtsp    -       known   1891173400      0       0       6   00       0       mpegts.stream   -       -       -       -       -       null    null    -       null    -
    2013-04-05      16:55:51        EEST    comment server  INFO    200     -       MulticastTransport.bind[live/_definst_]: 239.255.5.11/1234      _defaultVHost_  live    _definst_       1524.156        -       80      null    127.0.0.1   rtsp     -       known   1891173400      0       0       -       -       -       -       -       -       -       -       -       -       -       -       -       null    -
    2013-04-05      16:55:51        EEST    publish stream  INFO    200     mpegts.stream   -       _defaultVHost_  live    _definst_       0.001   -       80      null    127.0.0.1       rtsp    -       known   1891173400      0       0   60       0       0       mpegts.stream   -       -       -       -       -       null    null    -       null    -
    2013-04-05      16:55:51        EEST    comment server  INFO    200     -       RTPMediaCaster.Reconnector[1169368970:live/_definst_:mpegts.stream]: done: 4    -       -       -       1524.157        -       -       -       -       -   --       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2013-04-05      16:56:03        EEST    comment server  INFO    200     -       RTPMediaCaster.streamTimeout[1169368970:live/_definst_:mpegts.stream]: timeout:12000 diff:12003 reason:101      -       -       -       1536.557        -   --       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2013-04-05      16:56:03        EEST    comment server  INFO    200     -       RTPMediaCaster.resetConnection[1169368970:live/_definst_:mpegts.stream]:        -       -       -       1536.557        -       -       -       -       -   --       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2013-04-05      16:56:03        EEST    comment server  INFO    200     -       RTPMediaCaster.closeRTPSession[1169368970:live/_definst_:mpegts.stream] -       -       -       1536.557        -       -       -       -       -       -   --       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2013-04-05      16:56:03        EEST    comment server  INFO    200     -       MulticastTransport.unbind[live/_definst_]: 239.255.5.11/1234 sent:0 recv:0      -       -       -       1536.558        -       -       -       -       -   --       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2013-04-05      16:56:03        EEST    unpublish       stream  INFO    200     mpegts.stream   -       _defaultVHost_  live    _definst_       12.404  -       80      null    127.0.0.1       rtsp    -       known   1891173400      0   06       0       0       0       mpegts.stream   -       -       -       -       -       null    null    -       null    -
    2013-04-05      16:56:03        EEST    destroy stream  INFO    200     mpegts.stream   -       _defaultVHost_  live    _definst_       12.404  -       80      null    127.0.0.1       rtsp    -       known   1891173400      0       0   60       0       0       mpegts.stream   -       -       -       -       -       null    null    -       null    -
    2013-04-05      16:56:03        EEST    comment server  INFO    200     -       RTPMediaCaster.Reconnector[1169368970:live/_definst_:mpegts.stream]: start: 5   -       -       -       1536.56 -       -       -       -       -       -   --       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2013-04-05      16:56:03        EEST    comment server  INFO    200     -       RTPMulticastListener.run(stop)  _defaultVHost_  live    _definst_       1536.575        -       80      null    127.0.0.1       rtsp    -       known   1891173400   0       0       -       -       -       -       -       -       -       -       -       -       -       -       -       null    -
    2013-04-05      16:56:03        EEST    comment server  INFO    200     -       RTPSessionDescriptionDataProviderBasic.getStreamInfo[live/_definst_]: URI: udp://239.255.5.11:1234      -       -       -       1536.66 -       -       -   --       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2013-04-05      16:56:03        EEST    create  stream  INFO    200     -       -       _defaultVHost_  live    _definst_       0.0     -       80      null    127.0.0.1       rtsp    -       known   198292179       0       0       7   00       0       mpegts.stream   -       -       -       -       -       null    null    -       null    -
    2013-04-05      16:56:03        EEST    comment server  INFO    200     -       MulticastTransport.bind[live/_definst_]: 239.255.5.11/1234      _defaultVHost_  live    _definst_       1536.662        -       80      null    127.0.0.1   rtsp     -       known   198292179       0       0       -       -       -       -       -       -       -       -       -       -       -       -       -       null    -
    2013-04-05      16:56:03        EEST    publish stream  INFO    200     mpegts.stream   -       _defaultVHost_  live    _definst_       0.001   -       80      null    127.0.0.1       rtsp    -       known   198292179       0       0   70       0       0       mpegts.stream   -       -       -       -       -       null    null    -       null    -
    2013-04-05      16:56:03        EEST    comment server  INFO    200     -       RTPMediaCaster.Reconnector[1169368970:live/_definst_:mpegts.stream]: done: 5    -       -       -       1536.663        -
    Stream does not play. help please
    Last edited by lifeIsGame; 04-05-2013 at 06:51 AM.

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

    Default

    Try changing /conf/live/Application.xml /MediaCaster /RTP /RTSP /RTSPTransport to "udp"

    Do you have an mpeg-ts encoder running and streaming to udp://239.255.5.11:1234 ?

    You can test with VLC to produce mpeg-ts stream locally:
    http://www.wowza.com/forums/content....rver-(MPEG-TS)

    Richard

  3. #3
    Join Date
    Apr 2013
    Posts
    4

    Default

    Also the problem remains.
    /usr/local/Wowoza/conf/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>rtp-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, dvrstreamingpacketizer, dvrstreamingrepeater -->
    <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,transcode.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, -->
    <!-- either define the general Application/Repeater/OriginURL below to point back to the origin -->
    <!-- or define this one (which affects only DVR origin-edge). e.g. http://localhost/dvrorigin -->
    <Repeater>
    <ChunkOriginURL></ChunkOriginURL>
    </Repeater>

    <!-- Properties for DVR -->
    <Properties>
    </Properties>
    </DVR>

    <TimedText>
    <!-- VOD caption providers (separate with commas): vodcaptionprovidermp4_3gpp, vodcaptionproviderttml, vodcaptionprovidersrt, vodcaptionproviderscc -->
    <VODTimedTextProviders>vodcaptionprovidermp4_3gpp</VODTimedTextProviders>

    <!-- Properties for TimedText -->
    <Properties>
    </Properties>
    </TimedText>

    <!-- HTTPStreamers (separate with commas): cupertinostreaming, smoothstreaming, sanjosestreaming, dvrchunkstreaming -->
    <HTTPStreamers>cupertinostreaming,smoothstreaming,sanjosestreaming</HTTPStreamers>
    <SharedObjects>
    <StorageDir></StorageDir>
    </SharedObjects>
    <Client>
    <IdleFrequency>-1</IdleFrequency>
    <Access>
    <StreamReadAccess>192.168.100.11</StreamReadAccess>
    <StreamWriteAccess>192.168.100.11</StreamWriteAccess>
    <StreamAudioSampleAccess>192.168.100.11</StreamAudioSampleAccess>
    <StreamVideoSampleAccess>192.168.100.11</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>192.168.100.11</RTSPBindIpAddress>
    <RTSPConnectionIpAddress>192.168.100.11</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>udp</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>
    but when recording - http://ip_address:8086/livestreamrecord/, recorded audio track format .mp4
    Please help set up broadcast multicast on rtmp protocol!!!
    If I need to pay for help.

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

    Default

    So you have mpeg-ts source and you want multicast output, ?

    The PushPublish package will do multicast out from Wowza:
    http://www.wowza.com/forums/content....ther-services)

    Otherwise, please try to explain more clearly and in detail what you are trying to do.

    Richard

  5. #5
    Join Date
    Apr 2013
    Posts
    4

    Default

    Сервер
    So you have mpeg-ts source and you want multicast output, ?
    No, i have mpeg-ts source(multicast(udp)). I want rtmp output(multicast --> rtmp)
    I used the guide - http://www.wowza.com/forums/content.php?37, but he could not adjust.
    Help please!!!

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

    Default

    I think I see the problem:

    RTPMediaCaster.streamTimeout[1169368970:live/_definst_:mpegts.stream]: timeout:12000 diff:12002 reason:101

    101 is he requester has asked the server to switch protocols.

    So try changing the Application.xml /MediaCaster /RTP /RTSP /RTSPTransport to "udp". The default is "interleave" which means stream over TCP.

    Otherwise, in any case, there is a connectivity problem to the source. Once you get past that, RTMP playback will work as configured.

    Richard

Similar Threads

  1. Multicast RTMP output with Niagara encoder
    By mvineetmenon in forum Live Streaming and Encoder Discussion
    Replies: 4
    Last Post: 01-31-2014, 05:35 AM
  2. TS h.264 5mbps multicast stream in to wowza and needs to be rtmp 500k multicast out
    By panzer in forum Live Streaming and Encoder Discussion
    Replies: 1
    Last Post: 05-15-2013, 12:16 PM
  3. multicast in rtmp(udp->rtmp)
    By lifeIsGame in forum General Forum
    Replies: 0
    Last Post: 04-05-2013, 02:15 PM

Posting Permissions

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