Tizen WASM Player
Tizen TV WebAssembly Media Player extension allowing for a low-level elementary media stream playback.
operation_result.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_OPERATION_RESULT_H_
7 #define INCLUDE_SAMSUNG_WASM_OPERATION_RESULT_H_
8 
9 namespace samsung {
10 namespace wasm {
11 
13 enum class OperationResult {
15  kSuccess = 0,
16 
20 
23 
26 
30 
33 
36 
43 
47 
51 
57 
61 
65 
71 
77 
81 
85 
93 
97 
102 
104  kAborted,
105 
107  kFailed,
108 
109  // Config verification errors:
110 
113 
116 
119 
122 
125 
128 
131 
132  // Packet append errors:
133 
141 
147 
156 
159 
162 
165 
170 
174 
177 
181 
182  // Encrypted packet append errors:
183 
186 
189 
192 
196 
199 
205 
209 
213 
214  // Media key errors:
215 
218 
221 
222  // Video decoder errors:
223 
227 
230 
235 
240 };
241 
242 } // namespace wasm
243 } // namespace samsung
244 
245 #endif // INCLUDE_SAMSUNG_WASM_OPERATION_RESULT_H_
The append failed because encrypted packet decryption failed.
The append failed because decryption key is not available.
The append failed because decryptor needs more data to decrypt frame.
An operation ended successfully.
A provided config is invalid for an undetermined reason.
The append failed because encrypted packet has missing or bad key id.
The append failed because packet has missing or negative pts.
OperationResult
Enumerates possible outcomes of WASM function calls.
The operation failed due to an unspecified reason.
The append failed because packet has no duration.
A listener passed as an argument not assigned to this object.
The append failed because packet has missing or negative dts.
The requested operation was called with an invalid argument.
The operation was aborted.
Cannot perform requested operation in a current ready state.
The requested operation failed because invalid video texture was provided.
The append failed because packet has no data.
Performing requested operation is not allowed.