6 #ifndef INCLUDE_SAMSUNG_WASM_ELEMENTARY_MEDIA_STREAM_SOURCE_H_ 7 #define INCLUDE_SAMSUNG_WASM_ELEMENTARY_MEDIA_STREAM_SOURCE_H_ 21 class HTMLMediaElement;
26 class ElementaryMediaStreamSourceListener;
27 struct ElementaryAudioTrackConfig;
28 struct ElementaryVideoTrackConfig;
285 bool IsValid()
const;
325 on_finished_callback);
369 on_finished_callback);
478 const char* GetURL()
const;
481 std::function<void(OperationResult, int32_t handle)> GetOnAddTrackDoneCb(
484 on_finished_callback);
492 std::unique_ptr<char, decltype(&std::free)> url_;
493 bool use_session_id_emulation_;
502 #endif // INCLUDE_SAMSUNG_WASM_ELEMENTARY_MEDIA_STREAM_SOURCE_H_
std::chrono::duration< double > Seconds
Default duration type used throughout the API.
OperationResult
Enumerates possible outcomes of WASM function calls.
Contains audio ElementaryMediaTrack config.
Contains video ElementaryMediaTrack config.