Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Why not use STAP-A in RtpPacketizerH265 #99

Open
getroot opened this issue Sep 2, 2020 · 0 comments
Open

Why not use STAP-A in RtpPacketizerH265 #99

getroot opened this issue Sep 2, 2020 · 0 comments

Comments

@getroot
Copy link

getroot commented Sep 2, 2020

Looking at the RtpPacketizerH265::GeneratePackets function, you can see code like this:

if (fragment_len> single_packet_capacity)
     {
       PacketizeFu(i);
       ++i;
     }
     else
     {
       Packetize Single Nalu(i);
       ++i;
     }

I think it's better to use PacketizeAp instead of PacketizeSingleNalu here. Is this intended? Or is it a mistake? I wonder why the H265Packetizer uses SingleNalu instead of STAB-A if it is intended to waste the remaining space of a RTP packet.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant