mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-21 07:29:53 +00:00
LibWeb/EME: Implement get_supported_capabilities_for_audio_video_type
This commit is contained in:
parent
d65f599f92
commit
8f2886733c
Notes:
github-actions[bot]
2025-08-27 07:59:35 +00:00
Author: https://github.com/stelar7
Commit: 8f2886733c
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5665
Reviewed-by: https://github.com/gmta ✅
Reviewed-by: https://github.com/trflynn89
4 changed files with 149 additions and 0 deletions
20
Libraries/LibWeb/EncryptedMediaExtensions/Algorithms.h
Normal file
20
Libraries/LibWeb/EncryptedMediaExtensions/Algorithms.h
Normal file
|
@ -0,0 +1,20 @@
|
|||
/*
|
||||
* Copyright (c) 2025, stelar7 <dudedbz@gmail.com>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <AK/Optional.h>
|
||||
#include <AK/Types.h>
|
||||
#include <AK/Vector.h>
|
||||
#include <LibURL/URL.h>
|
||||
#include <LibWeb/EncryptedMediaExtensions/KeySystem.h>
|
||||
|
||||
namespace Web::EncryptedMediaExtensions {
|
||||
|
||||
bool supports_container(Utf16String const& container);
|
||||
Optional<Vector<Bindings::MediaKeySystemMediaCapability>> get_supported_capabilities_for_audio_video_type(KeySystem const&, CapabilitiesType, Vector<Bindings::MediaKeySystemMediaCapability>, Bindings::MediaKeySystemConfiguration, MediaKeyRestrictions);
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue