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;
372 bool IsValid()
const;
412 on_finished_callback);
456 on_finished_callback);
585 const char* GetURL()
const;
589 std::function<void(OperationResult, int32_t handle)> GetOnAddTrackDoneCb(
592 on_finished_callback);
600 std::unique_ptr<char, decltype(&std::free)> url_;
601 bool use_session_id_emulation_;
610 #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 video ElementaryMediaTrack config.