[Live-devel] Receiving slice-based frames
d.gordenin at ngslab.ru
d.gordenin at ngslab.ru
Fri Feb 21 04:10:23 PST 2025
Hello
I need to receive slice-based frames from a video server. These frames,
as you know come by slices. The last slice (packet) comes with Mark=True
in the RTP header.
I have a class which receives the frames:
class VideoSink final : public MediaSink {}
It has afterGettingFrame() method which gets the frames and works well
for usual frames. After getting frames I save them in archive and later
send them to a receiver. So, when I send them, I need to set the Mark
flag to say the receiver what is it - a intermediate slice or a last
slice or a usual frame. But I don't know nothing about the Mark, because
I receive only video payload.
So, how to get this flag, or is there other method to know about which
slice comes?
More information about the live-devel
mailing list