Re: [Live-devel] send error callback

2012-07-17 Thread Ross Finlayson
> What I want is RTSPServer to behave like the inactivity timer went off when > it detects a write error on the TCP socket. Unfortunately I don't know of a way to do this. > It is not an option to make the client behave nicely. Well then that's too bad, because I have zero interest in supporti

Re: [Live-devel] Using MPEG4GenericRTPSink for AAC on client?

2012-07-17 Thread Ross Finlayson
> I am attempting to receive and play AAC encoded audio from a webcam via RTSP. > I have successfully done this for uLaw encoded audio using a custom MediaSink > subclass class modeled heavily on the testRTSPClient.cpp example. > > How do I do this for AAC encoded audio? Apparently it's not as s

[Live-devel] send error callback

2012-07-17 Thread Dirk Dugger
Ross Says: > I'm looking at the case where I'm streaming rtp/tcp and the socket closes > without a TEARDOWN. In general it's a bad idea to complicate your application by trying to optimize the handling of an unusual situation. Especially because our server implementation already automatically

[Live-devel] Using MPEG4GenericRTPSink for AAC on client?

2012-07-17 Thread Frank Vernon
Hi list- I feel like this is likely a newbie question, so my apologies in advance. I did read the FAQ and search the email archive first, I promise. I am attempting to receive and play AAC encoded audio from a webcam via RTSP. I have successfully done this for uLaw encoded audio using a custom

Re: [Live-devel] How to remove ServerMediaServer dynamically

2012-07-17 Thread Lan Zang
Hi,  Thanks for your quick response. I think I might not state my question very clearly. I am working on a solution to add or remove the stream dynamically. I studied the codes in DynamicRTSPServer.cpp too.  My codes are rather simple. In some time point, I use RTSPServer::addServerMediaSessi

[Live-devel] MPEG1or2VideoStreamDiscreteFramer frame rate

2012-07-17 Thread Ketan Gholap
*Hello Sir I do in a need to find out the frame rate in a live media server and i made an application in which i am using video source:- videoSource = MPEG1or2VideoStreamDiscreteFramer::createNew(*env, videoES); Please explain some what how to calculate frame rate in **MPEG1or2VideoStreamDiscr

Re: [Live-devel] Enhancements in some RTSP fields detection

2012-07-17 Thread Ross Finlayson
> please find attached a patch to improve the parsing/detection of some > RTSP fields to attempt to be closer to the behaviour expected by the > RFC. OK, thanks. This change will be included in the next release of the software. Ross Finlayson Live Networks, Inc. http://www.live555.com/ ___

[Live-devel] Enhancements in some RTSP fields detection

2012-07-17 Thread Lionel Orry
Hello, please find attached a patch to improve the parsing/detection of some RTSP fields to attempt to be closer to the behaviour expected by the RFC. Thank you for your comments about it. With kind regards, Lionel live555_enhance_rtsp_fields.patch Description: Binary data

Re: [Live-devel] Some project organization advice

2012-07-17 Thread Sid Price
Ross, I am not going to debate whether I should be using Windows Compact 7 or not, that is a totally different issue. We should set that discussion aside. Now your suggestion of writing a new fprintf or other required functions makes very much sense and it is the path I will investigate. Also,

Re: [Live-devel] Some project organization advice

2012-07-17 Thread Ross Finlayson
> I am going to be moving forward with a couple of implementations using > Live555 on embedded platforms using Windows Compact 7. My initial work > required a lot of changes to deal with the fact that all the systems are > headless and the printfs etc are not supported. In short, if you can't u

Re: [Live-devel] Detecting socket close when receiving streams via TCP

2012-07-17 Thread Ross Finlayson
> I am troubleshooting an issue similar to Dirk Dugger when receiving RTP over > TCP via the RTSPClient class. If the server closes the connection mid > stream, the client gets no notification. As I also said in response to Dirk's question: In general it's a bad idea to complicate your applica

Re: [Live-devel] send error callback

2012-07-17 Thread Ross Finlayson
> I'm looking at the case where I'm streaming rtp/tcp and the socket closes > without a TEARDOWN. In general it's a bad idea to complicate your application by trying to optimize the handling of an unusual situation. Especially because our server implementation already automatically handles thi

[Live-devel] Detecting socket close when receiving streams via TCP

2012-07-17 Thread Barry Stump
I am troubleshooting an issue similar to Dirk Dugger when receiving RTP over TCP via the RTSPClient class. If the server closes the connection mid stream, the client gets no notification. I have traced the problem to the readSocket() function in GroupsockHelper.cpp where recvfrom() is used to get

[Live-devel] Some project organization advice

2012-07-17 Thread Sid Price
Hi Ross, I am going to be moving forward with a couple of implementations using Live555 on embedded platforms using Windows Compact 7. My initial work required a lot of changes to deal with the fact that all the systems are headless and the printfs etc are not supported. As you know there are l

[Live-devel] send error callback

2012-07-17 Thread Dirk Dugger
Hi All, I saw that there was a patch a while back to register a send error callback - fOnSendErrorFunc/Data to deal with socket write errors (like from socket FIN/RST). I am currently streaming live using testOnDemandRTSPServer as a model. Where do I set that callback and how do I cleanly shu

Re: [Live-devel] How to integrate LIVE555 Streaming Media for OpenRTSP into my Android Application

2012-07-17 Thread techvalens testing
Hi, Thanks for reply. Can you please tell me that how to use testRTSPClient in our android application, i know that JNI is one solution. is there any wrapper around testRTSPClient that i can use. Please reply me as soon as possible. On Tue, Jul 17, 2012 at 12:03 PM, Ross Finlayson wrote: >

Re: [Live-devel] How can i use Live555 to stream Client -> Server ?

2012-07-17 Thread Ross Finlayson
"How can i use Live555 to stream Client -> Server ?" In short, you don't. Data sources - in particular network cameras - should be RTSP servers, which deliver data in response to requests by clients. If you want your camera (server) to deliver data to another server, then the way to do this is