Shaka Packager SDK
Loading...
Searching...
No Matches
stream_descriptor.h
1// Copyright 2014 Google LLC. All rights reserved.
2//
3// Use of this source code is governed by a BSD-style
4// license that can be found in the LICENSE file or at
5// https://developers.google.com/open-source/licenses/bsd
6
7#ifndef APP_STREAM_DESCRIPTOR_H_
8#define APP_STREAM_DESCRIPTOR_H_
9
10#include <optional>
11#include <string>
12
13#include <packager/packager.h>
14
15namespace shaka {
16
24std::optional<StreamDescriptor> ParseStreamDescriptor(
25 const std::string& descriptor_string);
26
27} // namespace shaka
28
29#endif // APP_STREAM_DESCRIPTOR_H_
All the methods that are virtual are virtual for mocking.
std::optional< StreamDescriptor > ParseStreamDescriptor(const std::string &descriptor_string)