Pepper_42_C++_interfaces
|
#include <url_data_source_samsung.h>
Additional Inherited Members | |
![]() | |
MediaDataSource_Samsung () | |
MediaDataSource_Samsung (const Resource &data_source) | |
MediaDataSource_Samsung (PP_Resource resource) | |
MediaDataSource_Samsung (PassRef, PP_Resource resource) | |
![]() | |
Resource (PP_Resource resource) | |
Resource (PassRef, PP_Resource resource) | |
void | PassRefFromConstructor (PP_Resource resource) |
void | Clear () |
Sets this resource to null. This releases ownership of the resource. More... | |
Class representing Data Source handling media passed as URLs.
After creation data source can be attached to the MediaPlayer_Samsung
. When attaching to the player passed URL is validated and buffering starts.
Definition at line 31 of file url_data_source_samsung.h.
pp::URLDataSource_Samsung::URLDataSource_Samsung | ( | const InstanceHandle & | instance, |
const std::string & | url | ||
) |
Creates Data Source which is able to download data form media clip from |url| provided.
pp::URLDataSource_Samsung::URLDataSource_Samsung | ( | const URLDataSource_Samsung & | other | ) |
|
explicit |
pp::URLDataSource_Samsung::URLDataSource_Samsung | ( | PassRef | , |
PP_Resource | resource | ||
) |
|
virtual |
int32_t pp::URLDataSource_Samsung::GetStreamingProperty | ( | PP_StreamingProperty | type, |
const CompletionCallbackWithOutput< pp::Var > & | callback | ||
) |
Gets the value for specific Feature in the HTTP, MMS & Streaming Engine (Smooth Streaming, HLS, DASH, DivX Plus Streaming, Widevine).
[in] | type | A PP_StreamingProperty to gett |
[in] | callback | A CompletionCallbackWithOutput to be called upon completion. |
pp_errors.h
. URLDataSource_Samsung& pp::URLDataSource_Samsung::operator= | ( | const URLDataSource_Samsung & | other | ) |
int32_t pp::URLDataSource_Samsung::SetStreamingProperty | ( | PP_StreamingProperty | type, |
const Var & | value, | ||
const CompletionCallback & | callback | ||
) |
Sets the value for specific Feature in the HTTP, MMS & Streaming Engine (Smooth Streaming, HLS, DASH, DivX Plus Streaming, Widevine).
When special setting is required in Streaming Engine for the Start Bitrate setting or specific Content Protection (CP), the CUSTOM_MESSAGE Property can be set.
[in] | type | A PP_StreamingProperty to set |
[in] | value | New value of the property, see desciprion of PP_StreamingProperty what is requested format. |
[in] | callback | A CompletionCallback to be called upon completion. |
pp_errors.h
.