An H264Frame object provides H.264 (Annex B) data from the MediaStream to the applicaiton.
H.264 is standard format for highly compressed video and may be suited to recording video data to disk or providing video data to VMS applications.
Available in version 7.2 of Decoder SDK. Requires a server version greater than 6.0
#include <H264Frame.h>
Public Member Functions | |
| DB_EDGEVIS_SDK int32_t | GetLength () const |
| Will return the length of the byte array representing the H.264 frame. | |
| DB_EDGEVIS_SDK byte_array | GetBytes () const |
| Get a pointer to the byte array representing the entire H264Frame. | |
| DB_EDGEVIS_SDK H264FrameType | GetFrameType () const |
| Determine the type of this H.264 frame. | |
| DB_EDGEVIS_SDK std::wstring | GetSDP () const |
| Retrieve the Session Description Protocol including SPS and PPS for this H.264 frame. | |
| Public Member Functions inherited from EdgeVisDecoderSDK::VideoData | |
| DB_EDGEVIS_SDK int32_t | GetWidth () const |
| Return the width of the image. | |
| DB_EDGEVIS_SDK int32_t | GetHeight () const |
| Return the height of the image. | |
| DB_EDGEVIS_SDK int64_t | GetEncodeTimeStamp () const |
| Return the timestamp of the image. | |
| DB_EDGEVIS_SDK int64_t | GetDisplayTimeStamp () const |
| Return the timestamp of the image. | |
| DB_EDGEVIS_SDK StreamTimestampContext | GetTimeStampContext () const |
| Return context of the image timestamp. | |
| DB_EDGEVIS_SDK int64_t | GetViewerTimeoutTimeStamp () const |
| Return the timestamp at which the stream will timeout. | |
| DB_EDGEVIS_SDK int32_t | GetInput () const |
| Returns what video input this image is coming from. | |
| DB_EDGEVIS_SDK EdgeVisSDKCore::AspectRatio | GetAspectRatio () const |
| Returns the aspect ratio of this image. | |
| DB_EDGEVIS_SDK bool | IsCached () const |
| This flag determines if the image has been cached at the remote encoder end for the Full Resolution. | |
| DB_EDGEVIS_SDK ArchivePlaybackSpeed | GetArchivePlaybackSpeed () const |
| Get the playback speed of the stream. | |
| DB_EDGEVIS_SDK int32_t | GetArchivePlaybackSpeedMultiplier () const |
| Get the playback speed multiplier of the stream. | |
| DB_EDGEVIS_SDK VideoFrameLayout | GetVideoFrameLayout () const |
| Returns the VideoFrameLayout describing the sources used to construct the received YCbCrFrame for the specified input. | |
| Public Member Functions inherited from EdgeVisDecoderSDK::StreamData | |
| DB_EDGEVIS_SDK std::wstring | TypeName () const |
| Returns the type a StreamData this it. | |
| DB_EDGEVIS_SDK int32_t EdgeVisDecoderSDK::H264Frame::GetLength | ( | ) | const |
Will return the length of the byte array representing the H.264 frame.
| DB_EDGEVIS_SDK byte_array EdgeVisDecoderSDK::H264Frame::GetBytes | ( | ) | const |
Get a pointer to the byte array representing the entire H264Frame.
If the frame is an I-frame, this includes the SPS and PPS values.
| DB_EDGEVIS_SDK H264FrameType EdgeVisDecoderSDK::H264Frame::GetFrameType | ( | ) | const |
Determine the type of this H.264 frame.
An H.264 frame may be either H264_I_Frame or H264_P_Frame.
| DB_EDGEVIS_SDK std::wstring EdgeVisDecoderSDK::H264Frame::GetSDP | ( | ) | const |
Retrieve the Session Description Protocol including SPS and PPS for this H.264 frame.