Shaka Packager SDK
stream_descriptor.h
1 // Copyright 2014 Google Inc. 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 <string>
11 
12 #include "packager/base/optional.h"
13 #include "packager/packager.h"
14 
15 namespace shaka {
16 
24 base::Optional<StreamDescriptor> ParseStreamDescriptor(
25  const std::string& descriptor_string);
26 
27 } // namespace shaka
28 
29 #endif // APP_STREAM_DESCRIPTOR_H_
base::Optional< StreamDescriptor > ParseStreamDescriptor(const std::string &descriptor_string)
All the methods that are virtual are virtual for mocking.