Re: [Live-devel] [Mirasys] Live555 RTSP server questions

2022-03-11 Thread Ross Finlayson
> On Mar 11, 2022, at 9:56 PM, Victor Vitkovskiy > wrote: > > Hello Ross, > >>> But I wonder if the problem that you’re seeing is caused by the fact that >>> the “testRTSPClient” demo application produces a line of output for every >>> NAL unit that it receives? This might be slowing down

Re: [Live-devel] [Mirasys] Live555 RTSP server questions

2022-03-11 Thread g.jaegy
Re: [Live-devel] [Mirasys] Live555 RTSP server questions > On Mar 11, 2022, at 7:05 AM, g.jaegy wrote: > > Just joining the conversation... What order of magnitude do you recommend > setting the NAL unit size to ? MTU size ? 64kB ? More ? You should try to make the NAL size

Re: [Live-devel] [Mirasys] Live555 RTSP server questions

2022-03-11 Thread Victor Vitkovskiy
--- Victor Vitkovskiy Senior software developer mailto: victor.vitkovs...@mirasys.com www.mirasys.com -Original Message- From: live-devel On Behalf Of Ross Finlayson Sent: Friday, 11 March 2022 08:51 To: LIVE555 Streaming Media - development & use Subject: Re: [Liv

Re: [Live-devel] [Mirasys] Live555 RTSP server questions

2022-03-10 Thread Ross Finlayson
> On Mar 11, 2022, at 7:37 PM, Victor Vitkovskiy > wrote: > > If we compare with VLC - it can receive all frames correctly in this setup, > so that's why I am asking you is this is possible to tune / speedup Live555 > RTSP client somehow. Note that VLC also uses the LIVE555 library for its

Re: [Live-devel] [Mirasys] Live555 RTSP server questions

2022-03-10 Thread Victor Vitkovskiy
tkovs...@mirasys.com www.mirasys.com -Original Message- From: live-devel On Behalf Of Ross Finlayson Sent: Thursday, 10 March 2022 18:37 To: LIVE555 Streaming Media - development & use Subject: Re: [Live-devel] [Mirasys] Live555 RTSP server questions EXTERNAL Congratulations - you

Re: [Live-devel] [Mirasys] Live555 RTSP server questions

2022-03-10 Thread Ross Finlayson
> On Mar 11, 2022, at 7:05 AM, g.jaegy wrote: > > Just joining the conversation... What order of magnitude do you recommend > setting the NAL unit size to ? MTU size ? 64kB ? More ? You should try to make the NAL sizes as small as you can (although it seems unlikely that you’d be able to get

Re: [Live-devel] [Mirasys] Live555 RTSP server questions

2022-03-10 Thread g.jaegy
& use Subject: Re: [Live-devel] [Mirasys] Live555 RTSP server questions Congratulations - you’ve discovered datagrams! They sometimes get lost. You can try to (1) reduce the rate at which datagrams get lost, and/or (2) reduce the *effect* of a datagram getting lost. For (1): - Do

Re: [Live-devel] [Mirasys] Live555 RTSP server questions

2022-03-10 Thread Ross Finlayson
Congratulations - you’ve discovered datagrams! They sometimes get lost. You can try to (1) reduce the rate at which datagrams get lost, and/or (2) reduce the *effect* of a datagram getting lost. For (1): - Do you have one or more middleboxes - somewhere between your server and client -

Re: [Live-devel] [Mirasys] Live555 RTSP server questions

2022-03-10 Thread Victor Vitkovskiy
ng Media - development & use Subject: Re: [Live-devel] [Mirasys] Live555 RTSP server questions EXTERNAL > On Feb 7, 2022, at 11:04 PM, Victor Vitkovskiy > wrote: > > Hello Ross, > > Actually, we have a requirement to support at least some secured streaming > variant, so if we

Re: [Live-devel] [Mirasys] Live555 RTSP server questions

2022-02-07 Thread Ross Finlayson
> On Feb 7, 2022, at 11:04 PM, Victor Vitkovskiy > wrote: > > Hello Ross, > > Actually, we have a requirement to support at least some secured streaming > variant, so if we can use RTSP over TLS it will be good even if HTTPS is not > supported. > Could you please advise me how I can use th

Re: [Live-devel] [Mirasys] Live555 RTSP server questions

2022-02-07 Thread Victor Vitkovskiy
reaming Media - development & use Subject: Re: [Live-devel] [Mirasys] Live555 RTSP server questions EXTERNAL > On Feb 7, 2022, at 10:25 PM, Victor Vitkovskiy > wrote: > > Hello Ross, > > Thank you for your answers. > Related to HTTPS support - I have found this metho

Re: [Live-devel] [Mirasys] Live555 RTSP server questions

2022-02-07 Thread Ross Finlayson
> On Feb 7, 2022, at 10:25 PM, Victor Vitkovskiy > wrote: > > Hello Ross, > > Thank you for your answers. > Related to HTTPS support - I have found this method for RTSP server - > setTLSState where we need to specify certificate and private keys. > So, this is not related to HTTPS or this

Re: [Live-devel] [Mirasys] Live555 RTSP server questions

2022-02-07 Thread Victor Vitkovskiy
evel] [Mirasys] Live555 RTSP server questions EXTERNAL > On Feb 7, 2022, at 8:46 PM, Victor Vitkovskiy > wrote: > > Currently when I create RTSP server with several sessions based on > OnDemandServerMediaSubsession, seems that RTSP server supports any transport > that client wants -

Re: [Live-devel] [Mirasys] Live555 RTSP server questions

2022-02-07 Thread Ross Finlayson
> On Feb 7, 2022, at 8:46 PM, Victor Vitkovskiy > wrote: > > Currently when I create RTSP server with several sessions based on > OnDemandServerMediaSubsession, seems that RTSP server supports any transport > that client wants - it can be RTP over UDP or RTP over RTSP, all depends on > clie

Re: [Live-devel] [Mirasys] Live555 RTSP server questions

2022-02-06 Thread Victor Vitkovskiy
Of Ross Finlayson Sent: Friday, 28 January 2022 16:18 To: LIVE555 Streaming Media - development & use Subject: Re: [Live-devel] [Mirasys] Live555 RTSP server questions EXTERNAL > On Jan 28, 2022, at 10:15 PM, Victor Vitkovskiy > wrote: > > Hello Ross, > > Could you please

Re: [Live-devel] [Mirasys] Live555 RTSP server questions

2022-01-28 Thread Ross Finlayson
> On Jan 28, 2022, at 10:15 PM, Victor Vitkovskiy > wrote: > > Hello Ross, > > Could you please advise me how to shutdown RTSP server completely and free > all resources used by it? Call: exit(0); Ross Finlayson Live Networks, Inc. http://www.live555.com/

Re: [Live-devel] [Mirasys] Live555 RTSP server questions

2022-01-28 Thread Victor Vitkovskiy
ailto: victor.vitkovs...@mirasys.com www.mirasys.com -Original Message- From: Victor Vitkovskiy Sent: Friday, 28 January 2022 11:16 To: LIVE555 Streaming Media - development & use Subject: RE: [Live-devel] [Mirasys] Live555 RTSP server questions Hello Ross, Could you please advise me how to

Re: [Live-devel] [Mirasys] Live555 RTSP server questions

2022-01-28 Thread Victor Vitkovskiy
re developer mailto: victor.vitkovs...@mirasys.com www.mirasys.com -Original Message- From: live-devel On Behalf Of Ross Finlayson Sent: Wednesday, 26 January 2022 19:19 To: LIVE555 Streaming Media - development & use Subject: Re: [Live-devel] [Mirasys] Live555 RTSP server questions

Re: [Live-devel] [Mirasys] Live555 RTSP server questions

2022-01-26 Thread Ross Finlayson
> On Jan 27, 2022, at 2:37 AM, Victor Vitkovskiy > wrote: > > Hello Ross, > > So, if I understood correctly, if OutPacketBuffer::maxSize is smaller then > frame, then all that is more then this value will be lost in any way? Yes. > I thought that if frame is bigger then buffer then I ne

Re: [Live-devel] [Mirasys] Live555 RTSP server questions

2022-01-26 Thread Victor Vitkovskiy
, - Victor Vitkovskiy Senior software developer mailto: victor.vitkovs...@mirasys.com www.mirasys.com -Original Message- From: live-devel On Behalf Of Ross Finlayson Sent: Wednesday, 26 January 2022 14:48 To: LIVE555 Streaming Media - development & use Subject: Re: [Live-devel] [Mirasys] Liv

Re: [Live-devel] [Mirasys] Live555 RTSP server questions

2022-01-26 Thread Ross Finlayson
> On Jan 27, 2022, at 1:39 AM, Victor Vitkovskiy > wrote: > > Hello Ross, > > Yes, I know that OutPacketBuffer::maxSize=3 is not enough for handling > 56Kb frame, I just trying to handle a situation when OutPacketBuffer::maxSize > is set to lower value then a frame that we need to send

Re: [Live-devel] [Mirasys] Live555 RTSP server questions

2022-01-26 Thread Victor Vitkovskiy
: live-devel On Behalf Of Ross Finlayson Sent: Wednesday, 26 January 2022 14:03 To: LIVE555 Streaming Media - development & use Subject: Re: [Live-devel] [Mirasys] Live555 RTSP server questions EXTERNAL > On Jan 26, 2022, at 10:28 PM, Victor Vitkovskiy > wrote: > > Hello Ross, >

Re: [Live-devel] [Mirasys] Live555 RTSP server questions

2022-01-26 Thread Ross Finlayson
> On Jan 26, 2022, at 10:28 PM, Victor Vitkovskiy > wrote: > > Hello Ross, > > Thank you for information. > > I have tried like you said, but I have this error: > MultiFramedRTPSink::afterGettingFrame1(): The input frame data was too large > for our buffer size (30480). 26917 bytes of tra

Re: [Live-devel] [Mirasys] Live555 RTSP server questions

2022-01-26 Thread Victor Vitkovskiy
al Message- From: live-devel On Behalf Of Ross Finlayson Sent: Wednesday, 26 January 2022 09:54 To: LIVE555 Streaming Media - development & use Subject: Re: [Live-devel] [Mirasys] Live555 RTSP server questions EXTERNAL > On Jan 26, 2022, at 8:43 PM, Victor Vitkovskiy > wrote:

Re: [Live-devel] [Mirasys] Live555 RTSP server questions

2022-01-26 Thread Ross Finlayson
> On Jan 26, 2022, at 8:43 PM, Victor Vitkovskiy > wrote: > > Hello Ross, > > I have one question regarding the copying data to output buffer when I am > implementing own FramedSource. > There is an fTo buffer that has a maximum size fMaxSize, this fMaxSize is > taken from OutPacketBuffer:

Re: [Live-devel] [Mirasys] Live555 RTSP server questions

2022-01-25 Thread Victor Vitkovskiy
developer mailto: victor.vitkovs...@mirasys.com www.mirasys.com -Original Message- From: live-devel On Behalf Of Victor Vitkovskiy Sent: Thursday, 20 January 2022 11:26 To: LIVE555 Streaming Media - development & use Subject: Re: [Live-devel] [Mirasys] Live555 RTSP server questions EXTE

Re: [Live-devel] [Mirasys] Live555 RTSP server questions

2022-01-20 Thread Victor Vitkovskiy
: Thursday, 20 January 2022 10:57 To: LIVE555 Streaming Media - development & use Subject: Re: [Live-devel] [Mirasys] Live555 RTSP server questions EXTERNAL Hello Ross, I have implemented MetadataServerMediaSubsession as in this example: http://lists.live555.com/pipermail/live-devel/2021-Au

Re: [Live-devel] [Mirasys] Live555 RTSP server questions

2022-01-20 Thread Victor Vitkovskiy
g Media - development & use Subject: Re: [Live-devel] [Mirasys] Live555 RTSP server questions EXTERNAL > On Jan 15, 2022, at 2:42 AM, Victor Vitkovskiy > wrote: > > Hello Ross, > > I was able to create H.264 / 265 streams from my sources, it works fine now > even for s

Re: [Live-devel] [Mirasys] Live555 RTSP server questions

2022-01-14 Thread Ross Finlayson
> On Jan 15, 2022, at 2:42 AM, Victor Vitkovskiy > wrote: > > Hello Ross, > > I was able to create H.264 / 265 streams from my sources, it works fine now > even for several URI's and clients. > Could you please advise me how to stream xml metadata? > > What RTPSink and Framer I should us

Re: [Live-devel] [Mirasys] Live555 RTSP server questions

2022-01-14 Thread Victor Vitkovskiy
bject: Re: [Live-devel] [Mirasys] Live555 RTSP server questions EXTERNAL Hello Ross, Yes, that was the case, now it works, thank you for your help. I will continue with this, still we have opened question with metadata streaming. Best regards, - Victor V

Re: [Live-devel] [Mirasys] Live555 RTSP server questions

2022-01-12 Thread Victor Vitkovskiy
www.mirasys.com -Original Message- From: live-devel On Behalf Of Ross Finlayson Sent: Wednesday, 12 January 2022 12:57 To: LIVE555 Streaming Media - development & use Subject: Re: [Live-devel] [Mirasys] Live555 RTSP server questions EXTERNAL Your "H264ServerMediaS

Re: [Live-devel] [Mirasys] Live555 RTSP server questions

2022-01-12 Thread Ross Finlayson
FYI, this is also wrong: >u_int8_t sps[] = { 0x00, 0x00, 0x01, 0x67, 0x42, 0x00, 0x29, 0xE2, 0x90, > 0x0A, 0x00, 0xB7, 0x60, 0x2D, 0xC0, 0x40, 0x40, 0x78, 0x78, 0x91, 0x15 }; >u_int8_t pps[] = { 0x00, 0x00, 0x01, 0x68, 0xCE, 0x3C, 0x80 }; Your SPS and PPS NAL units here should not have a

Re: [Live-devel] [Mirasys] Live555 RTSP server questions

2022-01-12 Thread Ross Finlayson
Your "H264ServerMediaSubsession::createNewStreamSource()” function needs to create a *new* “H264FramedSource” object each time it’s called. You can’t create just one of those objects in advance, and try to reuse it. So this code is wrong: > H264ServerMediaSubsession::H264ServerMediaSubsession

Re: [Live-devel] [Mirasys] Live555 RTSP server questions

2022-01-12 Thread Victor Vitkovskiy
-- Victor Vitkovskiy Senior software developer mailto: victor.vitkovs...@mirasys.com www.mirasys.com -Original Message- From: live-devel On Behalf Of Ross Finlayson Sent: Wednesday, 12 January 2022 12:07 To: LIVE555 Streaming Media - development & use Subject: R

Re: [Live-devel] [Mirasys] Live555 RTSP server questions

2022-01-12 Thread Ross Finlayson
> On Jan 12, 2022, at 11:20 PM, Victor Vitkovskiy > wrote: > > Hello Ross, > > Got it, thanks, I will try. > > According to this: >>> Our RTSP server code does this (detect/manage the connection/disconnection >>> of clients) for you > We need to detect client connect to RTSP server to la

Re: [Live-devel] [Mirasys] Live555 RTSP server questions

2022-01-12 Thread Victor Vitkovskiy
o: victor.vitkovs...@mirasys.com www.mirasys.com -Original Message- From: live-devel On Behalf Of Ross Finlayson Sent: Wednesday, 12 January 2022 12:07 To: LIVE555 Streaming Media - development & use Subject: Re: [Live-devel] [Mirasys] Live555 RTSP server questions EXTERNAL > On J

Re: [Live-devel] [Mirasys] Live555 RTSP server questions

2022-01-12 Thread Ross Finlayson
> On Jan 12, 2022, at 10:29 PM, Victor Vitkovskiy > wrote: > > Hello Ross, > > Thank you for your answers. > > Still I have some opened questions: >>> You don’t need to be concerned at all with the internals of the LIVE555 >>> code to do what you want here. > This doesn't give me any info

Re: [Live-devel] [Mirasys] Live555 RTSP server questions

2022-01-12 Thread Victor Vitkovskiy
victor.vitkovs...@mirasys.com www.mirasys.com -Original Message- From: live-devel On Behalf Of Ross Finlayson Sent: Wednesday, 12 January 2022 11:02 To: LIVE555 Streaming Media - development & use Subject: Re: [Live-devel] [Mirasys] Live555 RTSP server questions EXTERNAL > On Ja

Re: [Live-devel] [Mirasys] Live555 RTSP server questions

2022-01-12 Thread Ross Finlayson
> On Jan 12, 2022, at 9:41 PM, Victor Vitkovskiy > wrote: > > Dear Support, > > My name is Victor, I am investigating possibility to use Live555 in Mirasys > VMS system and I have several questions, could you please help me? > > • We need to create RTSP server that will stream data