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

Thread: PushPublish and USTREAM

  1. #1
    Join Date
    Jul 2013
    Posts
    5

    Default PushPublish and USTREAM

    Hello!
    I have some problem in setting up my wowza server to push to Ustream..
    I have a camera that streams video via internet to my wowza server, and it all works fine with a content called mpeg-ts.stream
    udp://0.0.0.0:6504
    I installed the PushPublish addon, I configured everything as written in the guide, but no way to publish in ustream.

    In \lib\ I copied wms-plugin-pushpublish.jar
    In \conf\, PushPublishMap.txt and PushPublishProfiles.xml

    I edited my /conf/live/Application.xml with
    <Module>
    	<Name>ModulePushPublish</Name>
    	<Description>Wowza PushPublishing Module</Description>
    	<Class>com.wowza.wms.plugin.pushpublish.module.ModulePushPublish</Class>
    </Module>
    and
    <Property>
    	<Name>pushPublishProfilePath</Name>
    	<Value>${com.wowza.wms.context.VHostConfigHome}/conf/PushPublishProfiles.xml</Value>
    </Property>
    <Property>
    	<Name>pushPublishMapPath</Name>
    	<Value>${com.wowza.wms.context.VHostConfigHome}/conf/PushPublishMap.txt</Value>
    </Property>
    <Property>
    	<Name>pushPublishSDPStorageDir</Name>
    	<Value>${com.wowza.wms.context.VHostConfigHome}/applications/${com.wowza.wms.context.Application}/sdp</Value>
    </Property>
    In pushpublishmap.txt I added my stream

    myStream={profile:"rtmp", host: "1.xxxxxx.fme.ustream.tv", application:"ustreamVideo", appInstance: 1317xxxx, streamName:"mystreametcetcetc", originalTimecodeThreshold:0x100000}
    Where is the mistake?

    Thank you!

  2. #2
    Join Date
    Jul 2013
    Posts
    5

    Default

    I'm a newbie and I'm asking for it because, in internet, it seems like an easy procedure...

  3. #3

    Default

    I there, I just set this up and created a free account with UStream. I was able to get it working using FLME.

    The first potential issue I see is the streamName, is this the auto generated stream name that UStream provided for you? A sample auto generated stream name looks something like this:
    y8CcYMK8BnqzFmXnfw7ZHa5uSzYbZWWH
    This from the PushPublish documentation:
    To push to UStream.tv, use the rtmp profile. On the UStream Dashboard for your channel, find the Remote tab and get the URL and Stream Key. They will look something like this:
    
    URL: rtmp://1.2345.fme.ustream.tv/ustreamVideo/67890
    StreamName: ExampleStringKeyKFMpfXrssJhbq
    If this doesn't help can you explain your set up a little more?

    Salvadore

  4. #4

    Default

    Just to clarify, you have the map format correct in the pushpublishmap.txt file, I would just check the streamName of the mapping.

    Again; from the PushPublish documentation:
    The streaming URL is broken into the following components in the map data:
    
    Host: 1.2345.fme.ustream.tv
    Application: ustreamVideo
    AppInstance: 67890
    Example map entry:
    
    myStream={profile:"rtmp", host: "1.2345.fme.ustream.tv", application:"ustreamVideo", appInstance: 67890, streamName:"ExampleStringKeyKFMpfXrssJhbq", originalTimecodeThreshold:0x100000}
    Salvadore

  5. #5
    Join Date
    Jul 2013
    Posts
    5

    Default

    Quote Originally Posted by salvadore View Post
    I there, I just set this up and created a free account with UStream. I was able to get it working using FLME.

    The first potential issue I see is the streamName, is this the auto generated stream name that UStream provided for you? A sample auto generated stream name looks something like this:
    y8CcYMK8BnqzFmXnfw7ZHa5uSzYbZWWH
    This from the PushPublish documentation:
    To push to UStream.tv, use the rtmp profile. On the UStream Dashboard for your channel, find the Remote tab and get the URL and Stream Key. They will look something like this:
    
    URL: rtmp://1.2345.fme.ustream.tv/ustreamVideo/67890
    StreamName: ExampleStringKeyKFMpfXrssJhbq
    If this doesn't help can you explain your set up a little more?

    Salvadore
    Hi Salvadore!
    I entered the streamname, the key, the appinstance etc in the format explained in the PushPublishMap.txt (what I wrote in my post is only a censored example).

    I don't how this stuff has to work!

  6. #6
    Join Date
    Jul 2013
    Posts
    5

    Default

    Here's my pushpublishmap.txt
    myStream={profile:"rtmp", host: "1.13174147.fme.ustream.tv", application:"ustreamVideo", appInstance: 13174147, streamName:"th2yjxYq7J9WWFgqykxhUehmAjbUKrUj", originalTimecodeThreshold:0x100000}

  7. #7

    Default

    Did you make sure your live stream was started? what do you see in the access logs?

    Or did changing the streamName correct this issue?

    Salvadore

  8. #8
    Join Date
    Jul 2013
    Posts
    5

    Default

    2013-07-15	17:19:26	CEST	create	stream	INFO	200	-	-	_defaultVHost_	live	_definst_	0.0	-	80	null	127.0.0.1	rtsp	-	known	1846350749	0	0	81	0	0	0	mpegts.stream	-	-	-	-	-	null	null	-	null	-
    2013-07-15	17:19:26	CEST	comment	server	INFO	200	-	RTPDePacketizerMPEGTS.init: Drop incomplete video frames	_defaultVHost_	live	_definst_	1052.89	-	80	null	127.0.0.1	rtsp	-	known	1846350749	0	0	-	-	-	-	-	-	-	-	-	-	-	-	-	null	-
    2013-07-15	17:19:26	CEST	comment	server	INFO	200	-	RTPUDPTransport.bind[live/_definst_]: /0.0.0.0:6504	_defaultVHost_	live	_definst_	1052.891	-	80	null	127.0.0.1	rtsp	-	known	1846350749	0	0	-	-	-	-	-	-	-	-	-	-	-	-	-	null	-
    2013-07-15	17:19:26	CEST	publish	stream	INFO	200	mpegts.stream	-	_defaultVHost_	live	_definst_	0.001	-	80	null	127.0.0.1	rtsp	-	known	1846350749	0	0	81	0	0	0	mpegts.stream	-	-	-	-	-	null	null	-	null	-
    2013-07-15	17:19:26	CEST	comment	server	INFO	200	-	RTPMediaCaster.Reconnector[4695761:live/_definst_:mpegts.stream]: done: 81	-	-	-	1052.892	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2013-07-15	17:19:39	CEST	comment	server	INFO	200	-	RTPMediaCaster.streamTimeout[4695761:live/_definst_:mpegts.stream]: timeout:12000 diff:12009 reason:101	-	-	-	1065.298	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2013-07-15	17:19:39	CEST	comment	server	INFO	200	-	RTPMediaCaster.resetConnection[4695761:live/_definst_:mpegts.stream]: 	-	-	-	1065.298	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2013-07-15	17:19:39	CEST	comment	server	INFO	200	-	RTPMediaCaster.closeRTPSession[4695761:live/_definst_:mpegts.stream]	-	-	-	1065.298	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2013-07-15	17:19:39	CEST	comment	server	INFO	200	-	RTPUDPTransport.unbind[live/_definst_]: /0.0.0.0:6504 sent:0 recv:0	-	-	-	1065.299	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2013-07-15	17:19:39	CEST	unpublish	stream	INFO	200	mpegts.stream	-	_defaultVHost_	live	_definst_	12.409	-	80	null	127.0.0.1	rtsp	-	known	1846350749	0	0	81	0	0	0	mpegts.stream	-	-	-	-	-	null	null	-	null	-
    2013-07-15	17:19:39	CEST	destroy	stream	INFO	200	mpegts.stream	-	_defaultVHost_	live	_definst_	12.409	-	80	null	127.0.0.1	rtsp	-	known	1846350749	0	0	81	0	0	0	mpegts.stream	-	-	-	-	-	null	null	-	null	-
    2013-07-15	17:19:39	CEST	comment	server	INFO	200	-	RTPMediaCaster.Reconnector[4695761:live/_definst_:mpegts.stream]: start: 82	-	-	-	1065.3	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2013-07-15	17:19:39	CEST	comment	server	INFO	200	-	RTPSessionDescriptionDataProviderBasic.getStreamInfo[live/_definst_]: URI: udp://0.0.0.0:6504	-	-	-	1065.4	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2013-07-15	17:19:39	CEST	create	stream	INFO	200	-	-	_defaultVHost_	live	_definst_	0.0	-	80	null	127.0.0.1	rtsp	-	known	2005144620	0	0	82	0	0	0	mpegts.stream	-	-	-	-	-	null	null	-	null	-
    2013-07-15	17:19:39	CEST	comment	server	INFO	200	-	RTPDePacketizerMPEGTS.init: Drop incomplete video frames	_defaultVHost_	live	_definst_	1065.401	-	80	null	127.0.0.1	rtsp	-	known	2005144620	0	0	-	-	-	-	-	-	-	-	-	-	-	-	-	null	-
    2013-07-15	17:19:39	CEST	comment	server	INFO	200	-	RTPUDPTransport.bind[live/_definst_]: /0.0.0.0:6504	_defaultVHost_	live	_definst_	1065.403	-	80	null	127.0.0.1	rtsp	-	known	2005144620	0	0	-	-	-	-	-	-	-	-	-	-	-	-	-	null	-
    2013-07-15	17:19:39	CEST	publish	stream	INFO	200	mpegts.stream	-	_defaultVHost_	live	_definst_	0.002	-	80	null	127.0.0.1	rtsp	-	known	2005144620	0	0	82	0	0	0	mpegts.stream	-	-	-	-	-	null	null	-	null	-
    2013-07-15	17:19:39	CEST	comment	server	INFO	200	-	RTPMediaCaster.Reconnector[4695761:live/_definst_:mpegts.stream]: done: 82	-	-	-	1065.404	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2013-07-15	17:19:51	CEST	comment	server	INFO	200	-	RTPMediaCaster.streamTimeout[4695761:live/_definst_:mpegts.stream]: timeout:12000 diff:12009 reason:101	-	-	-	1077.809	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2013-07-15	17:19:51	CEST	comment	server	INFO	200	-	RTPMediaCaster.resetConnection[4695761:live/_definst_:mpegts.stream]: 	-	-	-	1077.809	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2013-07-15	17:19:51	CEST	comment	server	INFO	200	-	RTPMediaCaster.closeRTPSession[4695761:live/_definst_:mpegts.stream]	-	-	-	1077.809	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2013-07-15	17:19:51	CEST	comment	server	INFO	200	-	RTPUDPTransport.unbind[live/_definst_]: /0.0.0.0:6504 sent:0 recv:0	-	-	-	1077.81	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2013-07-15	17:19:51	CEST	unpublish	stream	INFO	200	mpegts.stream	-	_defaultVHost_	live	_definst_	12.409	-	80	null	127.0.0.1	rtsp	-	known	2005144620	0	0	82	0	0	0	mpegts.stream	-	-	-	-	-	null	null	-	null	-
    2013-07-15	17:19:51	CEST	destroy	stream	INFO	200	mpegts.stream	-	_defaultVHost_	live	_definst_	12.41	-	80	null	127.0.0.1	rtsp	-	known	2005144620	0	0	82	0	0	0	mpegts.stream	-	-	-	-	-	null	null	-	null	-
    2013-07-15	17:19:51	CEST	comment	server	INFO	200	-	RTPMediaCaster.Reconnector[4695761:live/_definst_:mpegts.stream]: start: 83	-	-	-	1077.813	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-
    2013-07-15	17:19:51	CEST	comment	server	INFO	200	-	RTPSessionDescriptionDataProviderBasic.getStreamInfo[live/_definst_]: URI: udp://0.0.0.0:6504	-	-	-	1077.914	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-	-

  9. #9

    Default

    The stream does not appear to be starting, this is probably do to unopened UDP ports.
    Have a look at this troubleshooting guide:
    How to troubleshoot RTSP/RTP playback

    Salvadore

  10. #10
    Join Date
    Aug 2013
    Posts
    1

    Default

    I am also having the same issue, I can tell that my stream is running because I can view it off of my Wowza server but I can not get it to send to USTREAM.

    I have copied files

    In \lib\ I copied wms-plugin-pushpublish.jar
    In \conf\, PushPublishMap.txt and PushPublishProfiles.xml

    I have added at the bottom of my Application.xml file

    " <Module>
    <Name>ModulePushPublish</Name>
    <Description>Wowza PushPublishing Module</Description>
    <Class>com.wowza.wms.plugin.pushpublish.module.ModulePushPublish</Class>
    </Module>

    </Modules>
    <!-- Properties defined here will be added to the IApplication.getProperties() and IApplicationInstance.getProperties() collections -->
    <Properties>
    <Property>
    <Name>pushPublishProfilePath</Name>
    <Value>${com.wowza.wms.context.VHostConfigHome}/conf/PushPublishProfiles.xml</Value>
    </Property>
    <Property>
    <Name>pushPublishMapPath</Name>
    <Value>${com.wowza.wms.context.VHostConfigHome}/conf/PushPublishMap.txt</Value>
    </Property>
    <Property>
    <Name>pushPublishSDPStorageDir</Name>
    <Value>${com.wowza.wms.context.VHostConfigHome}/applications/${com.wowza.wms.context.Application}/sdp</Value>
    </Property>
    </Properties>
    </Application>
    </Root>"

    and in the PushPublishMap.txt

    I have:

    myStream={profile:"rtmp", host: "1.15687151.fme.ustream.tv", application:"ustreamVideo", appInstance: 15687151, streamName:"kkNva6pKBVhhnSWCcpf9UHKnu4JVn4Jx", originalTimecodeThreshold:0x100000}

    please assist.

    thanks

Page 1 of 2 12 LastLast

Similar Threads

  1. PushPublish to Ustream
    By mrsfalcon in forum AddOn: Other AddOns
    Replies: 3
    Last Post: 09-04-2014, 06:05 PM
  2. Replies: 3
    Last Post: 11-19-2012, 07:40 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
  •