StreamPlaybackUtil_openh264 uses openh264 to decode frames. More...
#include <stream_playback_util_openh264.hpp>
Public Member Functions | |
| ~StreamPlaybackUtil_openh264 () override | |
| Destructor. | |
Public Member Functions inherited from kanzi::connect::ConnectStreamPlaybackUtil | |
| const string & | getAuxData () const |
| Get the optional data from encoder or stream provider. | |
| void | startDecoderThread () |
| Perform decoding on a dedicated thread. Deriving class should call this function after it has initialized the infra for decoding. | |
| void | stopDecoderThread () |
| Perform decoding on main thread. Releases Decoder thread if it exists. | |
| ~ConnectStreamPlaybackUtil () override | |
| Destructor. | |
| unsigned int | getWidth () override |
| unsigned int | getHeight () override |
| Gets height of video frame. | |
| void | onRendering () override |
| notify frame consumed | |
Public Member Functions inherited from kanzi::connect::StreamPlaybackUtil | |
| virtual | ~StreamPlaybackUtil () |
Static Public Member Functions | |
| static shared_ptr< StreamPlaybackUtil_openh264 > | create (Domain &domain, const string &streamId, FrameReceiverSharedPtr frameReceiver, const int maxQueueSize) |
| Creates instance of StreamPlaybackUtil_openh264. | |
Static Public Member Functions inherited from kanzi::connect::ConnectStreamPlaybackUtil | |
| static shared_ptr< ConnectStreamPlaybackUtil > | create (Domain &domain, const string &streamId, FrameReceiverSharedPtr host) |
| Create new stream playback util. | |
Protected Member Functions | |
| virtual bool | shouldProcessThisFrame (const StreamNewBlobEvent &blobMessage) override |
Protected Member Functions inherited from kanzi::connect::ConnectStreamPlaybackUtil | |
| ConnectStreamPlaybackUtil (function< void()> onProcessSampleTask, int queueMaxLength, bool dropOldOnKeyFrame) | |
| Constructor. | |
| bool | hasConfigFrame (const StreamNewBlobEvent &blobMessage) const |
| Check if the message contains a configuration frame for the encoder. | |
| bool | hasKeyFrame (const StreamNewBlobEvent &blobMessage) const |
| Check if the message contains a key frame. | |
| bool | hasPartialFrame (const StreamNewBlobEvent &blobMessage) const |
| Check if the message contains a partial frame. | |
| bool | queueHasSpace () const |
| Check if the data queue has space to add more items. | |
| void | requestEncoderParameter (const string ¶meterName) const |
| void | requestStreamInfo () const |
| void | restartEncoder () const |
| void | setEncoderParameter (const string ¶meterName, const string ¶meterValue) const |
Additional Inherited Members | |
Protected Attributes inherited from kanzi::connect::ConnectStreamPlaybackUtil | |
| FrameReceiverWeakPtr | m_frameReceiver |
StreamPlaybackUtil_openh264 uses openh264 to decode frames.
|
override |
Destructor.
|
static |
Creates instance of StreamPlaybackUtil_openh264.
|
overrideprotectedvirtual |
Reimplemented from kanzi::connect::ConnectStreamPlaybackUtil.