When sniffing in an audio or video context to achieve a deterministic sniff in a majority of cases, the number of bytes sniffed needs to be more than or equal to 1445. ORB asks for 1024. We should at least change this to be reading-the-resource-header instead.
A caveat here is that this might not be enough. In some cases we need up to 8k for aac in adts (I'm citing stuff I've learned from @padenot here), but we should at least do 1445, which we would do if we change to using reading-the-resource-header.
When sniffing in an audio or video context to achieve a deterministic sniff in a majority of cases, the number of bytes sniffed needs to be more than or equal to 1445. ORB asks for 1024. We should at least change this to be reading-the-resource-header instead.
A caveat here is that this might not be enough. In some cases we need up to 8k for aac in adts (I'm citing stuff I've learned from @padenot here), but we should at least do 1445, which we would do if we change to using reading-the-resource-header.