Re: [Live-devel] RTSP server on live555 start send client on I-Frame (h264)

2024-03-10 Thread Ross Finlayson
> On Mar 11, 2024, at 4:08 AM, dan_desjardins > wrote: > > Sorry if this appear dumb, but why not just throw everything away until you > receive an I-Frame. As I noted before, the OP could program his video input source to do this - which would give him what he wants if there is only one cl

Re: [Live-devel] RTSP server on live555 start send client on I-Frame (h264)

2024-03-10 Thread dan_desjardins
. -Original Message- From: live-devel On Behalf Of ?? ?? Sent: Sunday, March 10, 2024 7:29 AM To: LIVE555 Streaming Media - development & use Subject: Re: [Live-devel] RTSP server on live555 start send client on I-Frame (h264) I want something a little different.

Re: [Live-devel] RTSP server on live555 start send client on I-Frame (h264)

2024-03-10 Thread Худаев Илья Евгеньевич
for the next packet. All other subsequent packets are sent by default -Original Message- От: "Ross Finlayson" Кому: "LIVE555 Streaming Media - development & use" Отправленные: Среда, 28 Февраль 2024 г 14:41:20 Тема: Re: [Live-devel] RTSP server on live555 star

Re: [Live-devel] RTSP server on live555 start send client on I-Frame (h264)

2024-02-28 Thread Ross Finlayson
> On Feb 28, 2024, at 9:20 PM, Худаев Илья wrote: > > I connected to several real IP cameras and saw that the first packages that I > received were NAL units with SPS, PPS and I-frame. Yes, and you could easily change the implementation of your video input source (which is your code, so I ca

Re: [Live-devel] RTSP server on live555 start send client on I-Frame (h264)

2024-02-28 Thread Худаев Илья
: Wednesday, February 28, 2024 12:39 PM To: LIVE555 Streaming Media - development & use Subject: Re: [Live-devel] RTSP server on live555 start send client on I-Frame (h264) > How can I make the new client start receiving data from the last GOP (SPS, > PPS and I-FRAME)? You can’t do this if you

Re: [Live-devel] RTSP server on live555 start send client on I-Frame (h264)

2024-02-27 Thread Ross Finlayson
> How can I make the new client start receiving data from the last GOP (SPS, > PPS and I-FRAME)? You can’t do this if you ever want to have more than one client playing/receiving the stream concurrently, otherwise your server would need to (somehow) arrange to send different data, at different

[Live-devel] RTSP server on live555 start send client on I-Frame (h264)

2024-02-27 Thread Худаев Илья
I wrote a simple RTSP server with a dummy realtime source. I used the ffmpeg library as a source for the encoder and wrote a class that encodes something all the time. I took most of the code from here

Re: [Live-devel] RTSP Server - Fetch Frames from Socket instead of File

2022-06-03 Thread Weber, Patrick
I did something similar for a client using FFMpeg libraries to read the encoded stream and - if needed - parse the H264/H265 NALs, add a KLV metadata stream, then send the two streams to a Live555 RTSP server using the liveMedia libraries. It's custom code, and not a sharable solution (the code

Re: [Live-devel] RTSP Server - Fetch Frames from Socket instead of File

2022-06-02 Thread Ross Finlayson
> On Jun 2, 2022, at 6:09 AM, Arjav Parikh wrote: > > Hi All, > > I am looking to fetch encoded video frames from socket in live555 Media > Server instead of file. Is there any reference available with such a concept > or where actually the minimal changes are required to achieve this? Arja

[Live-devel] RTSP Server - Fetch Frames from Socket instead of File

2022-06-02 Thread Arjav Parikh
Hi All, I am looking to fetch encoded video frames from socket in live555 Media Server instead of file. Is there any reference available with such a concept or where actually the minimal changes are required to achieve this? *Best Regards,* Arjav Parikh -- _Disclaimer: _© 2022 VVDN Technolog

Re: [Live-devel] RTSP server status code reference

2022-01-26 Thread Ross Finlayson
> On Jan 27, 2022, at 9:51 AM, Zhang, David via live-devel > wrote: > > > From: "Zhang, David" > Subject: RTSP server status code reference > Date: January 27, 2022 at 9:51:27 AM GMT+13 > To: "live-devel@lists.live555.com" > > > Hi, our software is preparing to map ResultCode from live555

[Live-devel] RTSP server status code reference

2022-01-26 Thread Zhang, David via live-devel
--- Begin Message --- Hi, our software is preparing to map ResultCode from live555 rtsp server to our own code, we found that we will get not only RTSP status code but also some TCP error codes. Is there a comprehensive list of ResultCode we will get for all scenarios? Thanks David Z --- End Me

Re: [Live-devel] RTSP server - Parsing URL parameters

2020-11-30 Thread Ross Finlayson
> On Dec 1, 2020, at 5:15 PM, Idan Freiberg wrote: > > Hi live555 developers, > > I wonder if it’s possible to pass parameters through the RTSP url and fetch > them on the MediaSession level when getting the request and after the > MediaSession has been registered. > > For example: I would

[Live-devel] RTSP server: detecting congestion when using TCP as transport protocol for UDP

2018-12-17 Thread Massimo Perrone via live-devel
--- Begin Message --- Hi everybody, I am developing an RTSP server based on openRTSP. The source streams consist of H264 video from IP cameras, which are handled by other processes. Basically, the server should forward H264 streams as they are received from the cameras, with the constraint tha

Re: [Live-devel] RTSP Server question regarding async I/O

2017-12-15 Thread Ross Finlayson
> On Dec 16, 2017, at 11:33 AM, Rob Cole wrote: > > Hello, > > I have been using live555 to build a RTSP server. I have reviewed hundreds > of questions on this list, it’s a big help. I have followed some suggestions > about spinning up a separate async thread to handle the blocking I/O,

[Live-devel] RTSP Server question regarding async I/O

2017-12-15 Thread Rob Cole
Hello, I have been using live555 to build a RTSP server. I have reviewed hundreds of questions on this list, it’s a big help. I have followed some suggestions about spinning up a separate async thread to handle the blocking I/O, then thread calls triggerEvent() to signal live555 that data is

Re: [Live-devel] RTSP Server grey frames

2016-11-04 Thread Ross Finlayson
> We try to use live555 testOnDemandRTSPServer example with some modification > to stream "low-latency" live video together with hardware HEVC encoder. > Almost everything works fine inside the local network and we are able to > playback video via VLC player. However, our goal is to transmit vid

[Live-devel] RTSP Server grey frames

2016-11-04 Thread Lukáš Neumann
Hello, We try to use live555 testOnDemandRTSPServer example with some modification to stream "low-latency" live video together with hardware HEVC encoder. Almost everything works fine inside the local network and we are able to playback video via VLC player. However, our goal is to transmit vi

Re: [Live-devel] RTSP server support get RTP data from RTSP client

2016-10-28 Thread Ross Finlayson
> Can I know live555 is support RTSP server get RTP stream to RTSP client? > I want to develop RTSP server to get RTP data from RTSP client. I’m sorry, but I don’t understand your question. Are you referring to the “LIVE555 Proxy Server”; see http://live555.com/proxyServer/ ? Ross Fin

[Live-devel] RTSP server support get RTP data from RTSP client

2016-10-28 Thread Renish Tala
Hi, Can I know live555 is support RTSP server get RTP stream to RTSP client? I want to develop RTSP server to get RTP data from RTSP client. Thanks & Regards, Renish Tala Engineer | PES | e-infochips ***

Re: [Live-devel] RTSP Server Even Port

2016-03-14 Thread Ross Finlayson
> I wanted to ask about the limitation in openRTSP lib na playCommon.cpp file > about -p parameter. > Why there is a check that port should be even? Because of the way that RTP/RTCP is defined (in the relevant IETF standards). The even-numbered port is used for RTP; the next port number (i.e.,

[Live-devel] RTSP Server Even Port

2016-03-14 Thread Marcin
Hi Ross, I wanted to ask about the limitation in openRTSP lib na playCommon.cpp file about -p parameter. Why there is a check that port should be even? I.e. 557 will not work on snapshot (there is a check for it in code) but removing the check in code and recompiling it works without problems.

Re: [Live-devel] RTSP Server Packet Loss

2015-12-01 Thread Martin Sherburn
something back. Regards, Martin. From: live-devel [mailto:live-devel-boun...@ns.live555.com] On Behalf Of Jeff Shanab Sent: 01 December 2015 01:46 To: LIVE555 Streaming Media - development & use Subject: Re: [Live-devel] RTSP Server Packet Loss I concour. Here are some data points. I ha

Re: [Live-devel] RTSP Server Packet Loss

2015-12-01 Thread Jeff Shanab
I concour. Here are some data points. I have been streaming 4K cameras recently one of them is actually 4000x3000 resolution. A Sony is the normal 3840 x 2150 streaming at 30 fps, It puts out 5 slices for each frame type. I,P,B Slices also enable us to parallelize the decoding so it can be r

Re: [Live-devel] RTSP Server Packet Loss

2015-11-30 Thread Ross Finlayson
> I have a 40 Mb/s 1920x1080 H264 source video file running at 30 frames per > second. So each frame is roughly 160 kB being bursted out every 33ms. I doubt that *each* frame is 160 kBytes - presumably only the ‘key frames’. But in any case, with key frames this large, I recommend that you rec

Re: [Live-devel] RTSP Server Packet Loss

2015-11-30 Thread Martin Sherburn
& use Subject: Re: [Live-devel] RTSP Server Packet Loss Message-ID: <7eb75df7-2d99-43c0-927d-70a86e972...@live555.com> Content-Type: text/plain; charset=utf-8 No, there is no bug here (and so, there will be no change to the code). UDP packets are not expected to be sent/received reliably; oc

Re: [Live-devel] RTSP Server Packet Loss

2015-11-27 Thread Ross Finlayson
No, there is no bug here (and so, there will be no change to the code). UDP packets are not expected to be sent/received reliably; occasional packet loss can (and in general, will) occur. This can occur for several reasons - including congestion on your network, which is the case here. If a U

[Live-devel] RTSP Server Packet Loss

2015-11-27 Thread Martin Sherburn
Dear Live555 Developers, I have discovered a bug whereby UDP packets are getting lost using live555MediaServer. The issue is that the socket used for sending the packets is set to non-blocking mode. Occasionally when the application sends a lot of data in a short amount of time the sendto funct

Re: [Live-devel] RTSP Server suddenly stops streaming

2015-10-21 Thread Tiago Fonseca
Your explanation about fDurationInMicroseconds really helped me understanding a little bit more about FramedSource. About h264 stream stop, I removed any delays that I was inserting in deliverFrame() and still no improvement. Here is the output from Wireshark: 348458 2024.77485 10.5.2.39

Re: [Live-devel] RTSP Server suddenly stops streaming

2015-10-19 Thread Ross Finlayson
(First, note that if you are receiving the mailing list as a ‘digest’, you should fix the “Subject:” line of your emails when you compose a reply.) >> Why are you delaying the call to "FramedSource::afterGetting(this)" by 50 ms? > > > But why not? Because it’s putting the delay in the wrong p

Re: [Live-devel] RTSP Server suddenly stops streaming

2015-10-16 Thread Ross Finlayson
> nextTask() = envir().taskScheduler().scheduleDelayedTask(5, > (TaskFunc*)FramedSource::afterGetting, this); Why are you delaying the call to “FramedSource::afterGetting(this)” by 50 ms? Once you’ve delivered a frame of data to the downstream object, you should call FramedSou

Re: [Live-devel] RTSP Server suddenly stops streaming

2015-10-16 Thread Tiago Fonseca
; } Best Regards, Tiago Fonseca -- Message: 1 Date: Wed, 14 Oct 2015 09:33:37 + From: Tiago Fonseca To: "live-devel@lists.live555.com" Subject: [Live-devel] RTSP Server suddenly stops streaming Message-ID:

Re: [Live-devel] RTSP Server suddenly stops streaming

2015-10-14 Thread Ross Finlayson
> For the last month, I have been reading about live555 and going through as > much examples as I can. > With all the information I was able to get, I manage to make my own RTSP > Server and Client. > > My RTSP Client runs perfectly and non-stop days and days but there’s > something about my R

[Live-devel] RTSP Server suddenly stops streaming

2015-10-14 Thread Tiago Fonseca
Hi all, For the last month, I have been reading about live555 and going through as much examples as I can. With all the information I was able to get, I manage to make my own RTSP Server and Client. My RTSP Client runs perfectly and non-stop days and days but there's something about my RTSP Se

Re: [Live-devel] RTSP server behind a router (Ross Finlayson)

2015-10-01 Thread Giovanni Iamonte
Hi, Ross First of all, we now use the latest release 2015.09.24. Secondly, you are right, we are behind a router in which we have setup the NAT and we enabled the UPnP. Looking at the rtsp messages exchange between an IP Axis camera (behind the router) and the testrtspclient, we have

Re: [Live-devel] RTSP server behind a router

2015-09-24 Thread Ross Finlayson
From what you describe, it sounds like you’re not just behind a ‘router’, but that you’re behind a NAT box (that translates IP addresses). RTSP was never intended to work in such an environment, but the fact that you’re able to get it to work may just be luck (and something specific to your par

[Live-devel] RTSP server behind a router

2015-09-24 Thread Giovanni Iamonte
Hi Ross, we have an issue regarding a RTSP server behind a router. The client is able to access the streaming but it displays the first frame after more than 12 seconds from the start time, then usually playback stops after about 40 seconds. If we access the streamin

Re: [Live-devel] RTSP server: how to correlate RTSPClientConnection and RTSPClientSession

2015-08-06 Thread Nathan
Thank you very much for your prompt and helpful response Ross. > You should definitely upgrade. Not only do we not support old versions of the > code, but (most importantly) newer versions fix several, often-important bugs, > including security vulnerabilities. You are putting your system at g

Re: [Live-devel] RTSP server: how to correlate RTSPClientConnection and RTSPClientSession

2015-08-06 Thread Ross Finlayson
> We rely on a now-ancient version (2009-09-04) of LIVE555 Streaming Media > library as the basis for the RTSP streaming server in our [open source] > product. I'm trying to assess how feasible it would be to upgrade to the > latest version of LIVE555 in the near future. You should definitely u

[Live-devel] RTSP server: how to correlate RTSPClientConnection and RTSPClientSession

2015-08-06 Thread Nathan
Hello We rely on a now-ancient version (2009-09-04) of LIVE555 Streaming Media library as the basis for the RTSP streaming server in our [open source] product. I'm trying to assess how feasible it would be to upgrade to the latest version of LIVE555 in the near future. Obviously there are challen

Re: [Live-devel] RTSP Server Crash when switching from multicast to unicast

2015-05-01 Thread david . myers
I've inherited most of this code and I'm supporting it but I'm not really an expert at it. >I'd still like to know exactly where/how/why the crash was happening, to make >sure that it's not a problem with our code. (As always, I assume that you're >using the latest version of the code.) Yes

Re: [Live-devel] RTSP Server Crash when switching from multicast to unicast

2015-04-30 Thread Ross Finlayson
I’d still like to know exactly where/how/why the crash was happening, to make sure that it’s not a problem with our code. (As always, I assume that you’re using the latest version of the code.) Also, you haven’t said anything about your “ServerMediaSubsession” object (i.e., “stream->sms” in yo

Re: [Live-devel] RTSP Server Crash when switching from multicast to unicast

2015-04-30 Thread david . myers
Thanks for the advice, I haven't fixed the crash, but I've stopped it from happening, I think. In case anyone else hits this issue, I moved the call to deleteServerMediaSession() to before the calls to close down the streams, so my server shutdown code now looks like this:- void CRTSPWrapper

Re: [Live-devel] RTSP Server Crash when switching from multicast to unicast

2015-04-27 Thread Ross Finlayson
Unfortunately, because the crash is triggered by (though not necessarily occurring in) your own application, which I can’t reproduce, you’re going to have to be specific about exactly where the crash is occurring, and why. (If you’re not already doing so, I suggest replacing the “-O” compile fl

[Live-devel] RTSP Server Crash when switching from multicast to unicast

2015-04-27 Thread david . myers
In order to switch my server implementation from multicast to unicast, I use the following function in my live555 wrapper code to close the current session before re-opening the new session. void CRTSPWrapper::RemoveSMS() { streamStream_t *stream = m_StreamArray[m_StreamIndex]; if (stream->i

Re: [Live-devel] RTSP Server lost packet when stream multi-file.

2014-07-28 Thread Ross Finlayson
> can you help me explain and fix this problem? What is the value of "reuseFirstSource" in your application? Ross Finlayson Live Networks, Inc. http://www.live555.com/ ___ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/ma

[Live-devel] RTSP Server lost packet when stream multi-file.

2014-07-27 Thread Cường Lê
Hi! I'm use your class rtsp server. if I creat below, it is operator very good with multi-client connected to ServerMediaSession. No packet loss. ServerMediaSession* sms = ServerMediaSession::createNew(*env, streamName, streamName, descriptionString); sms->addSubsession(H264Vid

Re: [Live-devel] RTSP Server: streaming filr .mp4

2014-07-22 Thread Ross Finlayson
> I 'm using your live555. I very like it. > I have builded and streamed file .mkv, .h264, .m4v..., it can operate very > good. > When I try to streamed file .mp4, i have used VLC client capture URL but it > can't display and error. > Can you help me to stream file .mp4 in RTSP server? Sorry, bu

[Live-devel] RTSP Server: streaming filr .mp4

2014-07-20 Thread Cường Lê
Hi! I 'm using your live555. I very like it. I have builded and streamed file .mkv, .h264, .m4v..., it can operate very good. When I try to streamed file .mp4, i have used VLC client capture URL but it can't display and error. Can you help me to stream file .mp4 in RTSP server? Thank you very much!

Re: [Live-devel] RTSP server taking MPEG2 TS as input using TCP

2014-06-22 Thread Ross Finlayson
> I know live555 can server taking UDP TS as input using > MPEG2TransportUDPServerMediaSubsession. > I'd like to build a RTSP server that can takes a "TCP" Transport Stream as > input. That's easy to do. Just use the code for the "testOnDemandRTSPServer" demo application. At line 239-240 of "

[Live-devel] RTSP server taking MPEG2 TS as input using TCP

2014-06-19 Thread SingHa Winter
Hi, I know live555 can server taking UDP TS as input using MPEG2TransportUDPServerMediaSubsession. I'd like to build a RTSP server that can takes a "TCP" Transport Stream as input. My relay server will stream TS file using TCP to my live555 streaming server. I made "MPEG2TransportStreamLiveSour

Re: [Live-devel] RTSP Server streaming problem: disconnect after some time

2014-02-28 Thread Ross Finlayson
> we have developed a RTSP video streaming server using Live555 (version > 07/2011). This is *extremely* out of date! As explained clearly in the FAQ (that you were asked to read before posting to the mailing list), we support only the latest version of the "LIVE555 Streaming Media" software:

[Live-devel] RTSP Server streaming problem: disconnect after some time

2014-02-28 Thread Andrea Beoldo
Hi, we have developed a RTSP video streaming server using Live555 (version 07/2011). With the same verison of Live lib we have also implemented a RTSP Client to show the stream. We use this client without any problem to acquire stream from different cameras. The problem is that with when I con

Re: [Live-devel] RTSP Server TCP Negotiation only

2013-09-26 Thread David Cassany Viladomat
Thanks Ross, I had something similar in mind, so I believe I will take this path :) Thanks once again, you've been really helpful. David Cassany 2013/9/25 Ross Finlayson > I have been having a look in live555 source code for some time right now > in order to find out how cloud I implement an

Re: [Live-devel] RTSP Server TCP Negotiation only

2013-09-25 Thread Ross Finlayson
> I have been having a look in live555 source code for some time right now in > order to find out how cloud I implement an RTSP server using live555 and > using at the same time my own UDP/RTP sender functions. I believe you can do this, by defining your own subclass of "ServerMediaSubsession"

[Live-devel] RTSP Server TCP Negotiation only

2013-09-25 Thread David Cassany Viladomat
Hi all, I am working in project where I will have to implement an rstp server over an already existing application which is already capable to transmit RTPstreams. I have been having a look in live555 source code for some time right now in order to find out how cloud I implement an RTSP server us

Re: [Live-devel] RTSP server reclarmation time

2013-09-03 Thread PROMONET Michel
P INTERNAL @@] De : live-devel-boun...@ns.live555.com [mailto:live-devel-boun...@ns.live555.com] De la part de Ross Finlayson Envoyé : jeudi 29 août 2013 11:21 À : LIVE555 Streaming Media - development & use Objet : Re: [Live-devel] RTSP server reclarmation time But the server side was using

Re: [Live-devel] RTSP server reclarmation time

2013-08-29 Thread Ross Finlayson
> But the server side was using a reclamation timeout of 5s and the RR are sent > with a period computed with a quite complex logic. > The experience show that the RR are send each about 5-10 seconds. > > In RTSPServer the default value is 65 seconds, clearly 5 seconds is too low. > Is there a p

Re: [Live-devel] RTSP server reclarmation time

2013-08-29 Thread PROMONET Michel
Finlayson Envoyé : vendredi 23 août 2013 10:59 À : LIVE555 Streaming Media - development & use Objet : Re: [Live-devel] RTSP server reclarmation time Do you think that an RTCP Client should sent RTCP RR reports while it is paused ? Yes. (And, FYI, our implementation will do this (because

Re: [Live-devel] RTSP server reclarmation time

2013-08-23 Thread Ross Finlayson
> Do you think that an RTCP Client should sent RTCP RR reports while it is > paused ? Yes. (And, FYI, our implementation will do this (because the "RTCPInstance" stays active and working, even when the stream is paused.) Ross Finlayson Live Networks, Inc. http://www.live555.com/ _

Re: [Live-devel] RTSP server reclarmation time

2013-08-23 Thread PROMONET Michel
3 22:17 À : LIVE555 Streaming Media - development & use Objet : Re: [Live-devel] RTSP server reclarmation time Do you think it could be an evolution in the RTSP Server ? No. http://lists.live555.com/pipermail/live-devel/2013-June/017061.html Ross Finlayson Live Networks, Inc. http://www.liv

Re: [Live-devel] RTSP server reclarmation time

2013-08-22 Thread Ross Finlayson
> Do you think it could be an evolution in the RTSP Server ? No. http://lists.live555.com/pipermail/live-devel/2013-June/017061.html Ross Finlayson Live Networks, Inc. http://www.live555.com/ ___ live-devel mailing list live-devel@lists.live555.com h

[Live-devel] RTSP server reclarmation time

2013-08-22 Thread PROMONET Michel
Hi Ross, We use the reclamationTestSeconds argument of the RTSPServer, but this information doesnot seem to be sent to the RTSP client. The RTSP SETUP answer always answer with "Session:", without timeout value. As some video player use this argument to do keepAlive on RTSP, it could

Re: [Live-devel] rtsp server for live audio

2012-10-29 Thread Ross Finlayson
> Anything similar for linux? No (at least, not in our source code distribution). Ross Finlayson Live Networks, Inc. http://www.live555.com/ ___ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel

Re: [Live-devel] rtsp server for live audio

2012-10-29 Thread Roman Gaufman
Anything similar for linux? On 28 October 2012 17:50, Ross Finlayson wrote: > i find WindowsAudioInputDevice maybe a way to stream live audio.but i > could not find any documents or examples about how to use > > > From : > "This is an implementation of the "liv

Re: [Live-devel] rtsp server for live audio

2012-10-28 Thread Ross Finlayson
> i find WindowsAudioInputDevice maybe a way to stream live audio.but i could > not find any documents or examples about how to use From : "This is an implementation of the "liveMedia" library's "AudioInputDevice" abstract class. This can be used by a Windows a

Re: [Live-devel] rtsp server for live audio

2012-10-26 Thread reply2010
HI, i find WindowsAudioInputDevice maybe a way to stream live audio.but i could not find any documents or examples about how to use WindowsAudioInputDevice.anyone could give me a example for WindowsAudioInputDevice. thanks At 2012-10-26 06:21:52,reply2010 wrote: Hi,respectable live555 ex

[Live-devel] rtsp server for live audio

2012-10-25 Thread reply2010
Hi,respectable live555 experts I have two questions: 1,Could live555's rtsp server or other application in live555 stream for live audio such as PC microphone device?I want to stream live audio by my PC's microphone.the type of audio stream could be amr or aac or g711 etc. 2,openRTSP say as below

[Live-devel] RTSP Server Problem

2012-09-01 Thread Tarun Batra
Hello ~ Sir i made an RTSP client,it works when first time the request is made to RTSP SERVER(made from your code .i.e.test on demand rtsp server.cpp) over TCP Protocol. But there is a problem that when i close the socket through which i have made the TCP socket connection with server and again op

Re: [Live-devel] RTSP server delivers HTTP 404 describe response tocertain clients

2012-03-26 Thread Ross Finlayson
I didn't really understand your message; it seems to be flailing around, talking about lots of different, unrelated things. But your immediate problem - the one that you need to fix first, before worrying about anything else - is the RTSP 404 errors. These are usually caused by the "RTSPServer

[Live-devel] RTSP server delivers HTTP 404 describe response tocertain clients

2012-03-26 Thread Shaheed Abdol
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 generate

Re: [Live-devel] RTSP server delivers HTTP 404 describe response to certain clients

2012-03-26 Thread Ross Finlayson
> 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 p

[Live-devel] RTSP server delivers HTTP 404 describe response to certain clients

2012-03-25 Thread Shaheed Abdol
Good afternoon, I am using the StreamUCast.cpp file to run an RTSP server, I am not providing data from files, but rather providing real-time data acquired by other means (from hardware) and providing it to a subclass of ServerMediaSession, when using this approach to stream audio, everything wo

Re: [Live-devel] RTSP Server in separate thread

2012-02-06 Thread Фазлеев Максим
In main.cpp  pthread_cond_t cond = PTHREAD_COND_INITIALIZER;pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;void *liveMedia(void *arg){    pthread_mutex_lock(&mutex);    H264VideoCamSource **videoSource = (H264VideoCamSource **) arg;    TaskScheduler* scheduler = BasicTaskScheduler::createNew(); 

Re: [Live-devel] RTSP Server in separate thread

2012-02-05 Thread Ross Finlayson
> I'm creating a RTSP Server in a separate thread. My encoder (libx264) > produces arrays x264 nal units. When the encoder processes the first frame it > produces an array of 4 nal units. Then I pass by one unit in my DeviceSource > and call signalNewFrameData every time. But it seems this separ

[Live-devel] RTSP Server in separate thread

2012-02-03 Thread Фазлеев Максим
I'm creating a RTSP Server in a separate thread. My encoder (libx264) produces arrays x264 nal units. When the encoder processes the first frame it produces an array of 4 nal units. Then I pass by one unit in my DeviceSource and call signalNewFrameData every time. But it seems this separate thre

Re: [Live-devel] RTSP Server Crash with Milestone Client

2011-11-15 Thread Ross Finlayson
I can't figure out exactly why your server is crashing with the "Milestone" client, but it appears to be related to the fact that this client is behaving in a very strange and non-standard way. For some reason, it is sending two different copies of each "DESCRIBE" request. In particular, it is

Re: [Live-devel] RTSP Server Crash with Milestone Client

2011-11-02 Thread Ross Finlayson
> I have developed an (mpeg4)RTSP streamer(server) using live555 libs. It's > unicast based on OnDemandServer example module. > Thanks for your priceless contribution to the media community. > > The application takes rgb frames from a buffer, encodes it, and passes it to > the derived FramedSour

[Live-devel] RTSP Server Crash with Milestone Client

2011-11-02 Thread Viswanatha Reddy
Dear Ross, I have developed an (mpeg4)RTSP streamer(server) using live555 libs. It's unicast based on OnDemandServer example module. Thanks for your priceless contribution to the media community. The application takes rgb frames from a buffer, encodes it, and passes it to the derived FramedSourc

Re: [Live-devel] RTSP server socket bind error

2011-07-25 Thread Eric Lammerts
On 07/25/11 06:10, Ross Finlayson wrote: No, SO_REUSEADDR (and SO_REUSEPORT) is turned off for the server for a very simple reason: We can't have more than one server on the same host using the same port at the same time! On Linux you can't bind twice even with SO_REUSEADDR, so it might make s

Re: [Live-devel] RTSP server socket bind error

2011-07-25 Thread Ross Finlayson
Thanks for your reply. I agree that SO_LINGER is not the recommended way of getting round the TIME_WAIT state. I had a closer look at the RTSP server code and realized that the SO_REUSEADDR option is turned off at the server socket in RTSPServer::setUpOurSocket() and that is why the server cann

Re: [Live-devel] RTSP server socket bind error

2011-07-25 Thread Stathis Voukelatos
Hi Ross, Thanks for your reply. I agree that SO_LINGER is not the recommended way of getting round the TIME_WAIT state. I had a closer look at the RTSP server code and realized that the SO_REUSEADDR option is turned off at the server socket in RTSPServer::setUpOurSocket() and that is why the

Re: [Live-devel] RTSP server socket bind error

2011-07-21 Thread Ross Finlayson
I run the 'testH264VideoStreamer' app and view the video with an RTSP client (eg VLC). If I kill 'testH264VideoStreamer' while the client is connected and then try to run it again straight away I get the following error: Failed to create RTSP server: bind() error (port number: 8554): Addr

[Live-devel] RTSP server socket bind error

2011-07-21 Thread Stathis Voukelatos
Hi, I run the 'testH264VideoStreamer' app and view the video with an RTSP client (eg VLC). If I kill 'testH264VideoStreamer' while the client is connected and then try to run it again straight away I get the following error: Failed to create RTSP server: bind() error (port number: 85

Re: [Live-devel] RTSP Server crash on TEARDOWN

2011-06-24 Thread Ross Finlayson
The server is basically working and I can connect via a client such as VLC. However, when I click on Stop in the client, which sends a TEARDOWN command, my server crashed with a SIGPIPE error. I've built my app with a debug version of Live555 and managed to get the following debug trace. Howeve

Re: [Live-devel] RTSP server and MediaSource input

2011-06-18 Thread Ross Finlayson
I would like to develop the RTSP server using MediaSource object as a input. In order to do that I base on the "testOnDemandRTSPServer" example where the file is used as the input stream. Do you know any hints or possibilities to create MediaSubsession which will be based on MediaSource instead of

[Live-devel] RTSP server and MediaSource input

2011-06-18 Thread Piotr Piwko
Hello, I would like to develop the RTSP server using MediaSource object as a input. In order to do that I base on the "testOnDemandRTSPServer" example where the file is used as the input stream. Do you know any hints or possibilities to create MediaSubsession which will be based on MediaSource ins

Re: [Live-devel] RTSP server in multicast: livenessTimeoutTask API

2011-03-06 Thread Ross Finlayson
Am I understood correctly: client session object deleted in multicast mode, even one client from multi has a timeout Yes, but note that the "RTSPClientSession" object is specific to that particular client (and it's TCP RTSP connection to the server). If that times out, then only that one

Re: [Live-devel] RTSP server in multicast: livenessTimeoutTask API

2011-03-06 Thread Marat Shchuchinsky
Mr. Ross, Thank you very much for quick answer. Am I understood correctly: client session object deleted in multicast mode, even one client from multi has a timeout ThanX again. On Sun, Mar 6, 2011 at 12:33 PM, Ross Finlayson wrote: > why multicast checking removed from livenessTimeoutTask A

Re: [Live-devel] RTSP server in multicast: livenessTimeoutTask API

2011-03-06 Thread Ross Finlayson
why multicast checking removed from livenessTimeoutTask API??? Because there was no longer any need to exclude multicast sessions from the normal client liveness checking. I.e., as with all RTSP/RTP streams, the server will timeout the stream if it doesn't receive any indication of 'liveness

[Live-devel] RTSP server in multicast: livenessTimeoutTask API

2011-03-06 Thread Marat Shchuchinsky
Dear Sir! I upgrade my old version of live555 on one latest (from 2011/Jan/24) and pay attention on small difference in functionality in RTSP server that I don't clearly understood. I mean this API: void RTSPServer::RTSPClientSession ::livenessTimeoutTask(RTSPClientSession* clientSession); As wri

[Live-devel] RTSP server to accept RECORD

2010-12-23 Thread Calavera
Hi. I'm working on a setup in which I can stream content from a source client (probably through RTP) to be stored (and possibly served live) by a server. I believe one choice would be to create a RTSP server which support RECORD requests, but I'm struggling to find support for that option in curren

Re: [Live-devel] rtsp server scale.

2010-11-22 Thread Ross Finlayson
if rtsp client request scale = 0.5. my rtsp server must slow down the send speed by using fDurationInMicroseconds /= m_scale; what other should i do.should i change the pts?and the duration? Yes. "fDurationInMicroseconds" merely tells the downstream object ("RTPSink") how often to request

[Live-devel] rtsp server scale.

2010-11-21 Thread 44072429
hi,my friends. you didn't reply my old question about h264fuaframer deleted caused the afterGetting task call crash. and i have a new question. if rtsp client request scale = 0.5. my rtsp server must slow down the send speed by using fDurationInMicroseconds /= m_scale; what ot

Re: [Live-devel] RTSP Server.

2010-10-09 Thread Jeremy Noring
On Fri, Oct 8, 2010 at 5:15 AM, Sukhbir Singh wrote: > Hi All, > > I need to know that how many simultaneous RTSP Client requests can be > handled by mediaServer (RTSP Server for .m4e files)? > > Depends on your server hardware, how much bandwidth you have, and the bitrate of your .m4e files, so y

[Live-devel] RTSP Server.

2010-10-09 Thread Sukhbir Singh
Hi All, I need to know that how many simultaneous RTSP Client requests can be handled by mediaServer (RTSP Server for .m4e files)? Thanks ___ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel

Re: [Live-devel] RTSP server hang

2010-06-15 Thread Ross Finlayson
For whatever reason, fRequestBuffer gets set to a very large number (i.e. greater than 10K), which causes this function to crash with an access violation. It would be nice to figure out what this "whatever reason" actually is, because it's better to fix a bug than paper over it. However, I'v

Re: [Live-devel] RTSP server hang

2010-06-15 Thread Jeremy Noring
On Tue, Jun 15, 2010 at 2:55 AM, Ross Finlayson wrote: > I've now installed a new version (2010.06.15) of the code that completely > removes the "blockUntilReadable()" function. This means that "readSocket()" > no longer calls "select()", which > should improve the performance of both client and

Re: [Live-devel] RTSP server hang

2010-06-15 Thread Ross Finlayson
I've now installed a new version (2010.06.15) of the code that completely removes the "blockUntilReadable()" function. This means that "readSocket()" no longer calls "select()", which should improve the performance of both client and server applications. On a related note, here's one other h

Re: [Live-devel] RTSP server hang

2010-06-14 Thread Jeremy Noring
On Sun, Jun 13, 2010 at 7:16 PM, Ross Finlayson wrote: I.e., you should be able to remove the following code from the > implementation of "readSocket()" in "groupsock/GroupsockHelper.cpp" (line > 265): > >int result = blockUntilReadable(env, socket, timeout); >if (timeout != NULL && result

  1   2   >