[Live-devel] Axis RTSP Relay

Tom Pepper tom at silocorp.com
Mon Jul 5 21:12:45 PDT 2010


Bryan:

I believe Wowza can actively retrieve a stream via RTP/RTSP - check the wowza forums for documentation on StreamManager and MediaCaster.  You basically define an xml config that references an .sdp and it re-streams on demand or at wowza startup.  The rtplive application is where you want to start.

-t

On Jul 5, 2010, at 7:58 PM, Bryan Thrasher wrote:

> The way the Wowza server works in my usgage is you tell it to pull a stream
> from the camera via RTSP.  The M1011 only allow MPEG4 and H.264 over RTSP
> (maybe that's an RTSP specification).  The camera produces the h.264
> Baseline level 3 which is packaged up in a playlist for the iPhone.  But the
> underlying stream format must be iPhone compatible because Wowza does not do
> any transcoding.
> 
> The Wowza server can also listen for rtsp connections from encoders like
> VLC.
> 
> The crux of my issue is that the Axis camera cannot initiate the connection
> to the Wowza server.  It can only listen as a server.  So what I am trying
> to accomplish is loading some software on the camera that will initiate an
> rtsp connection to Wowza and send the output from the encoder that is built
> into the camera, or hand off to Wowza to let it start pulling it.
> 
> I saw somewhere on the openRTSP pages that you can initiate a connection
> with openRTSP and then have another program handle the actual streaming
> data.  I have extremely limited knowledge of RTSP.  But, would it be
> possible for openRTSP or even a shell script running on the camera to
> initiate the RTSP connection and let Wowza take over the interaction?
> Theoretically, can you speculate on what that RTSP "exchange" would look
> like?  I could take that and pose it to the Wowza developers to see if they
> can work with it.
> 
> Thanks for your help!
> 
> -----Original Message-----
> From: live-devel-bounces at ns.live555.com
> [mailto:live-devel-bounces at ns.live555.com] On Behalf Of Ross Finlayson
> Sent: Monday, July 05, 2010 10:17 PM
> To: LIVE555 Streaming Media - development & use
> Subject: Re: [Live-devel] Axis RTSP Relay
> 
>> What I would like to do is both of the following:
>> 1)      Run a program on the M1011 that will "restream" to the Wowza 
>> Server acting as a client.
>> a.       It will either pull directly from the h.264 encoder or from 
>> the rtsp server built into the camera and send to Wowza.
>> b.      It would need to initiate the connection to Wowza on start up
>> c.       It would need to recover the connection if it dropped.
>> 2)      Run a program on a Linux PC on the same network as the cameras.
>> a.       It will pull from each camera and send to Wowza.
>> b.      It would also record the streams.
>> c.       It would need to have some sort of way to send recordings 
>> to the Wowza server on-demand.  Maybe there would be a program that 
>> would poll the server every so often looking to see if a recording 
>> was needed.
>> 
>> It seems like a combination of LIVE555 Media Server and openRTSP 
>> could work assuming they can be wired together, sort of in reverse.
> 
> I don't know what protocol(s) the 'Wowza' server uses to receive 
> incoming streams (that it then re-streams to clients, as a server), 
> but if it uses the same protocol that Apple 'Darwin Streaming Server' 
> uses, then you may be able to use our "DarwinInjector" class.
> 
> (For two example applications that use this class, see the code for 
> "testMPEG1or2AudioVideoToDarwin" and "testMPEG4VideoToDarwin")
> 
> 
>> It may also make sense to use LIVE555 Media Server instead of 
>> Wowza.  Can it stream to iPhone?
> 
> Not at present, because the iPhone doesn't use RTSP/RTP.  Instead, it 
> uses Apple's "HTTP live streaming protocol".  I have thought about 
> possibly supporting this as an option in our server, but right now 
> it's just a thought (there are so many other things on my plate).
> -- 
> 
> Ross Finlayson
> Live Networks, Inc.
> http://www.live555.com/
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
> 
> 
> 
> 
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel




More information about the live-devel mailing list