Re: [Live-devel] Delay problem using PassiveServerMediaSubsession

2015-01-29 Thread whitfy
Well, actually I am already doing this... I tried to reuse as much code as possible form the proxy example. I can also see that these information are sent correctly to the viewer. Maybe some other information are not sent to the viewer? For example I see that in the SDP description of the proxy

Re: [Live-devel] Delay problem using PassiveServerMediaSubsession

2015-01-28 Thread Ross Finlayson
> Actually the delay seems to be proportional to the GOP size and I do not find > any way to insert SPS and PPS... Because you are not creating your 'front-end' RTSP server until you start receiving frames from the 'back-end' server, you can easily get the SPS and PPS NAL units - in encoded for

Re: [Live-devel] Delay problem using PassiveServerMediaSubsession

2015-01-28 Thread whitfy
Actually the delay seems to be proportional to the GOP size and I do not find any way to insert SPS and PPS... So do you think the problem is in the RTSPClient? Do you think there is a a way to avoid this behaviour? For me it is not a problem if we have a latency at the beginning of the stream

Re: [Live-devel] Delay problem using PassiveServerMediaSubsession

2015-01-28 Thread whitfy
might be I will do some test and let you know. Thanks Il 2015-01-27 13:15 Jeff Shanab ha scritto: Since it is 1 to 2 seconds in delay which could be a "GOP" in size, Is it possible since axis makes it optional to insert the SPS and PPS that there is a delay getting the info necessary for th

Re: [Live-devel] Delay problem using PassiveServerMediaSubsession

2015-01-27 Thread Jeff Shanab
Since it is 1 to 2 seconds in delay which could be a "GOP" in size, Is it possible since axis makes it optional to insert the SPS and PPS that there is a delay getting the info necessary for the SDP package that ends up persisting? On Tue, Jan 27, 2015 at 6:49 AM, Ross Finlayson wrote: > No, whe

Re: [Live-devel] Delay problem using PassiveServerMediaSubsession

2015-01-27 Thread Ross Finlayson
> On Jan 27, 2015, at 3:49 AM, Ross Finlayson wrote: > >> No, when I connect directly to the source I do not have any delay. I have it >> only when connecting through the proxy. > > The only thing I can think of that *might* be causing this is excessive > socket buffering in the proxy's OS.

Re: [Live-devel] Delay problem using PassiveServerMediaSubsession

2015-01-27 Thread Ross Finlayson
> No, when I connect directly to the source I do not have any delay. I have it > only when connecting through the proxy. The only thing I can think of that *might* be causing this is excessive socket buffering in the proxy's OS. By default, our code sets each input socket'sOS buffer size to at

Re: [Live-devel] Delay problem using PassiveServerMediaSubsession

2015-01-27 Thread whitfy
No, when I connect directly to the source I do not have any delay. I have it only when connecting through the proxy. I am connecting through a Gigabit ethernet. I have a switch dedicated to this test: I just have the video server, a pc with the proxy and a pc with the viewers. I have the same

Re: [Live-devel] Delay problem using PassiveServerMediaSubsession

2015-01-26 Thread Ross Finlayson
> Once I connect a client to my proxy everything works correctly except that I > receive the video with has a significant delay (1 or 2 seconds). > I noticed this opening with the same player (Axis Media Control) both > streams: the original and the proxied one. Just to be clear - are you saying

[Live-devel] Delay problem using PassiveServerMediaSubsession

2015-01-26 Thread whitfy
Hello, I am trying to create a simple RTSP Proxy which makes use of PassiveServerMediaSubsession instead of OnDemandServerMediaSubsession. What I am doing is just a test just to see if the result is acceptable for our application ad is as follows: The source of my video is an Axis Q7424-R serve