28 #ifndef NATIVE_PLAYER_INC_COMMUNICATOR_MESSAGE_SENDER_H_ 29 #define NATIVE_PLAYER_INC_COMMUNICATOR_MESSAGE_SENDER_H_ 34 #include "nacl_player/common.h" 35 #include "nacl_player/media_common.h" 120 const pp::Var& text);
129 void SetTextTracks(
const std::vector<Samsung::NaClPlayer::TextTrackInfo>&
137 inline void PostMessage(
const pp::Var& message);
139 pp::Instance* instance_;
144 #endif // NATIVE_PLAYER_INC_COMMUNICATOR_MESSAGE_SENDER_H_
void SetTextTracks(const std::vector< Samsung::NaClPlayer::TextTrackInfo > &textInfo)
MessageSender(pp::Instance *instance)
void ChangeRepresentation(StreamType stream_type, int32_t id)
~MessageSender()
Destroys the MessageSender object.
void BufferingCompleted()
void ShowSubtitles(Samsung::NaClPlayer::TimeTicks duration, const pp::Var &text)
This class is designed to create and post messages from the player using the communication channel...
void SetMediaDuration(Samsung::NaClPlayer::TimeTicks duration)
void CurrentTimeUpdate(Samsung::NaClPlayer::TimeTicks time)
void SetRepresentations(const std::vector< AudioStream > &stream)