aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorgnattu <gnattuoc@me.com>2024-09-13 18:19:05 +0800
committergnattu <gnattuoc@me.com>2024-09-13 18:19:05 +0800
commitde8bb15c7854858e4391982e72fe6eb686a6fd87 (patch)
treefd2feacd6cd9c5469f497347bdf6e3f12e8cc5cb /tests
parent6395f4889d18bf4b12567ca7c28e9d5a22506e73 (diff)
Return more precise transcoding reasons
Using the first profile's reason is somewhat arbitrary, as many clients' first profile may not be the most compatible one. For instance, browsers often set WebM as the first profile, which doesn’t support common codecs like H.264 and AAC by design. This causes `VideoCodecNotSupported` and `AudioCodecNotSupported` to be returned, even if the browser supports those codecs. Only use those reasons when all profiles indicate that the codec is not supported. Signed-off-by: gnattu <gnattuoc@me.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions