[Live-devel] Easiest way to implement custom RTSP messages?
Aleksandar Milenkovic
Aleksandar.Milenkovic at rt-rk.com
Tue Mar 27 05:24:27 PDT 2012
Hello,
I was unable to find a detailed / concrete answer to my question, so
sorry if I haven't searched hard enough to find it...
Anyways, the question is - What is the best way to implement custom RTSP
messages?
I want to add a new RTSP message type, and use it to transfer a list of
files I can play from server.
Is RTCP the way to do it like some mails have suggested?
Thanks in advance,
Aleksandar
*Aleksandar Milenkovic*
Software Engineer
Phone: +381-(0)21-4801-139
Fax: +381-(0)21-450-721
Mobile: +381-(0)64-31-666-82
E-mail: Aleksandar.Milenkovic at rt-rk.com
<mailto:Aleksandar.Milenkovic at rt-rk.com>
RT-RK Computer Based Systems LLC
Fruskogorska 11
21000 Novi Sad, Serbia
www.rt-rk.com <http://www.rt-rk.com>
*RT-RK* invites you to visit us @ *IBC2011*, September 9-13 2011, stand
*5.A01*, Amsterdam RAI.
For more information please visit www.bbt.rs <http://www.bbt.rs/>
On 3/26/2012 1:58 PM, live-devel-request at ns.live555.com wrote:
> Send live-devel mailing list submissions to
> live-devel at lists.live555.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.live555.com/mailman/listinfo/live-devel
> or, via email, send a message with subject or body 'help' to
> live-devel-request at lists.live555.com
>
> You can reach the person managing the list at
> live-devel-owner at lists.live555.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of live-devel digest..."
>
>
> Today's Topics:
>
> 1. Re: RTSP server delivers HTTP 404 describe response to
> certain clients (Ross Finlayson)
> 2. RTSP server delivers HTTP 404 describe response tocertain
> clients (Shaheed Abdol)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 26 Mar 2012 00:55:36 -0700
> From: Ross Finlayson<finlayson at live555.com>
> To: LIVE555 Streaming Media - development& use
> <live-devel at ns.live555.com>
> Subject: Re: [Live-devel] RTSP server delivers HTTP 404 describe
> response to certain clients
> Message-ID:<130340B0-DA38-416B-A167-8CA05830C1AD at live555.com>
> Content-Type: text/plain; charset="us-ascii"
>
>> I am using the StreamUCast.cpp file to run an RTSP server
> "StreamUCast.cpp" is not our file. It seems that you are working from the code for someone else's RTSP server application (that happens to be using our code). If that's the case, then perhaps you should first ask whoever it was who provided you with the "StreamUCast.cpp" file?
>
> But anyway, you talk about getting "HTTP - 404" responses. You should not be trying to access the server using HTTP (unless you really know what you're doing, and are using RTSP-over-HTTP tunneling)? Instead, at least at first, you should be accessing the stream using RTSP only.
>
>
>> I have tried the RTSP client code provided in testProgs, but as expected I get the same "HTTP - 404" error in the continueAfterDESCRIBE function.
> Once again, why are you getting ***HTTP*** errors. I suggest that you first try using our (unmodified!) "testRTSPClient" application. If you continue to get HTTP (rather than RTSP) responses from your server, then there is something badly wrong with the way that you (or someone else) made use of (or modified) the LIVE555 RTSP server code, in which case I'm not going to be able to help you.
>
>
> Ross Finlayson
> Live Networks, Inc.
> http://www.live555.com/
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:<http://lists.live555.com/pipermail/live-devel/attachments/20120326/6ff2a04d/attachment-0001.html>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 26 Mar 2012 13:58:25 +0200
> From: "Shaheed Abdol"<Shaheed at scansoft.co.za>
> To:<live-devel at ns.live555.com>
> Subject: [Live-devel] RTSP server delivers HTTP 404 describe response
> tocertain clients
> Message-ID:<002962EA5927BE45B2FFAB0B5B5D67970A8C7B at SSTSVR1.sst.local>
> Content-Type: text/plain; charset="us-ascii"
>
> Good morning Ross,
>
> Firstly, thank you for the notification about the file name issue. It
> seems the previous developer copied the testOnDemandRTSPServer code,
> modified and saved it so a file named StreamUCast. My initial subject
> line is incorrect - it should say "RTSP - 404 ...", which is generated
> in the RTSPServer class - due to the RTPSink not being created in the
> createNewRTPSink function.
>
> I have poured over the FAQ and mailing list and have written my own
> FramedSource class which encapsulates my live device source, and an
> MP4VideoRTPSink which does nothing. I have replaced the MP4VideoRTPSink
> with the MPEG4ESVideoRTPSink in the createNewRTPSink function in my
> COnDemandSubsession class. This allows me to connect to my subsession,
> but the frames I'm getting are not valid. I am using the unmodified
> testRTSPClient and VLC to get the data for the frames. I have found a
> previous issue: "Live555 Streaming from a live source", where you
> instruct the developers to insert an MPEG4VideoStreamDiscreteFramer
> downstream which will handle the data. I'm sure I must be a bother by
> now, but a little bit more background on this would be appreciated,
> since I cannot return the mp4 discrete framer from my createNewRTPSink
> function. I am returning a derived DeviceSource instance which allows me
> to get live data from the createNewStreamSource function. I'm not
> exactly sure how to insert the MPEG4DiscreteFramer in this sequence of
> filters. Should I allow my derived DeviceSource to inherit from the
> discrete framer, or should I simply return the discrete framer from the
> createNewStreamSource function? I do not see any method for the
> FramedSource to query the OnDemandVideoInputSubsession (my own class)
> for video data, and the DeviceSource class is (should be) the last
> filter in the sequence.
>
> Thank you
> Regards
> ___________________________________
>
> Shaheed Abdol
>
>
>
> Web: www.scansoft.co.za<http://www.scansoft.co.za/>
> Tel: +27 21 913 8664
> Cell: +27 79 835 8771
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:<http://lists.live555.com/pipermail/live-devel/attachments/20120326/e6db3d18/attachment.html>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: not available
> Type: image/png
> Size: 32497 bytes
> Desc: SST Email.png
> URL:<http://lists.live555.com/pipermail/live-devel/attachments/20120326/e6db3d18/attachment.png>
>
> ------------------------------
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
>
>
> End of live-devel Digest, Vol 101, Issue 32
> *******************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120327/44a38152/attachment-0001.html>
More information about the live-devel
mailing list