Tizen WASM Player
Tizen TV WebAssembly Media Player extension allowing for a low-level elementary media stream playback.
elementary_media_track_config.h
Go to the documentation of this file.
1 // Copyright 2020 Samsung Electronics
2 // TizenTV Emscripten extensions are available under two separate licenses, the
3 // MIT license and the University of Illinois/NCSA Open Source License. Both
4 // these licenses can be found in the LICENSE file.
5 
6 #ifndef INCLUDE_SAMSUNG_WASM_ELEMENTARY_MEDIA_TRACK_CONFIG_H_
7 #define INCLUDE_SAMSUNG_WASM_ELEMENTARY_MEDIA_TRACK_CONFIG_H_
8 
9 #include <cstdint>
10 #include <string>
11 #include <vector>
12 
13 namespace samsung {
14 namespace wasm {
15 
19 
21  std::vector<uint8_t> extradata)
22  : mime_type(std::move(mime_type)), extradata(std::move(extradata)) {}
23 
25  std::string mime_type;
26 
28  std::vector<uint8_t> extradata;
29 };
30 
31 } // namespace wasm
32 } // namespace samsung
33 
34 #endif // INCLUDE_SAMSUNG_WASM_ELEMENTARY_MEDIA_TRACK_CONFIG_H_
ElementaryMediaTrackConfig(std::string mime_type, std::vector< uint8_t > extradata)
std::vector< uint8_t > extradata
Extra data for codec.
std::string mime_type
MIME containing codec and profile.
Common part of audio and video configs.