> On Feb 28, 2024, at 9:20 PM, Худаев Илья <hud...@domination.one> 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 can’t help you with this) to do the same - for the FIRST CLIENT that connects each time. (But note again that having the SPS and PPS at the start of the stream doesn’t gain you anything, because they are already present in the SDP description that the client has already received.) But think: What do you want to happen if the server is already streaming to one client, and then a second (or a third, etc.) client connects later? Do you want to have the server handle the complexity of sending different data to each client? Right now, our server works by sending the exact same data (in fact, the exact same RTP packet) to each concurrent client. And that’s fine. 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