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

2022-01-12 Thread Victor Vitkovskiy
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 Vitkovskiy Senior software developer mailto: victor.vitkovs...@mirasys.com

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
Hello Ross, I have tried to override OnDemandServerMediaSubsession and create my own H264FramedSource but I have exception here: void FramedSource::getNextFrame(unsigned char* to, unsigned maxSize, afterGettingFunc* afterGettingFunc, void* afterGettingClientData, onCloseFunc* onCloseFunc, void

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
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 launch stream from IP camera, those streams may be down in case of no RTSP client

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
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 information how to do this :). If I don't need to subclass from RTSPServer then how

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

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

2022-01-12 Thread Victor Vitkovskiy
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? 1. We need to create RTSP server that will stream data from our system if client connects to it. Unfortunately, I have not found any