Digital Barriers
Digital Barriers EdgeVis Decoder SDK
Loading...
Searching...
No Matches
H264Frame.h
Go to the documentation of this file.
1
2// Copyright (c) 2018 Digital Barriers
4
20
21#pragma once
22
23#include "VideoData.h"
24#include "H264FrameTypes.h"
25#include "EdgeVisSDK.h"
26#include "Pimpl.h"
27
28namespace EdgeVisDecoderSDK
29{
30 class H264FrameImpl;
31
32 class H264Frame : public VideoData
33 {
34 public:
35 DB_EDGEVIS_SDK H264Frame();
36 H264Frame(std::weak_ptr<H264FrameImpl> pimpl);
37 DB_EDGEVIS_SDK H264Frame(StreamData data);
38 DB_EDGEVIS_SDK virtual ~H264Frame();
39
40 public:
41
47 DB_EDGEVIS_SDK int32_t GetLength() const;
48
55 DB_EDGEVIS_SDK byte_array GetBytes() const;
56
63 DB_EDGEVIS_SDK H264FrameType GetFrameType() const;
64
72 DB_EDGEVIS_SDK std::wstring GetSDP() const;
73 };
74}
DB_EDGEVIS_SDK int32_t GetLength() const
Will return the length of the byte array representing the H.264 frame.
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.
DB_EDGEVIS_SDK byte_array GetBytes() const
Get a pointer to the byte array representing the entire H264Frame.
This is the base class for the StreamData objects.
Definition StreamData.h:28
H264FrameType
@tyepdef H.264 frame types that may be provided by the MediaStream.
Definition H264FrameTypes.h:23
The EdgeVis Decoder SDK namespace.