Add helper to query scalability structure configuration
without creating svc controller for it. Bug: chromium:1187565 Change-Id: I219f88203e73036bf48bce04527bb8e46ccf1c33 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/231128 Reviewed-by: Johannes Kron <kron@webrtc.org> Reviewed-by: Philip Eliasson <philipel@webrtc.org> Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/main@{#34968}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
b32650e219
commit
5d3bf6ae2a
@ -14,6 +14,7 @@
|
||||
#include <vector>
|
||||
|
||||
#include "absl/strings/string_view.h"
|
||||
#include "absl/types/optional.h"
|
||||
#include "modules/video_coding/svc/scalable_video_controller.h"
|
||||
|
||||
namespace webrtc {
|
||||
@ -24,6 +25,11 @@ namespace webrtc {
|
||||
std::unique_ptr<ScalableVideoController> CreateScalabilityStructure(
|
||||
absl::string_view name);
|
||||
|
||||
// Returns descrption of the scalability structure identified by 'name',
|
||||
// Return nullopt for unknown name.
|
||||
absl::optional<ScalableVideoController::StreamLayersConfig>
|
||||
ScalabilityStructureConfig(absl::string_view name);
|
||||
|
||||
} // namespace webrtc
|
||||
|
||||
#endif // MODULES_VIDEO_CODING_SVC_CREATE_SCALABILITY_STRUCTURE_H_
|
||||
|
||||
Reference in New Issue
Block a user