nx_cloud_storage_sdk
1.0
Cloud Storage SDK
|
#include <i_media_data_packet.h>
Public Types | |
enum | Type { audio, video, metadata, unknown } |
Public Member Functions | |
virtual int64_t | timestampUs () const =0 |
virtual Type | type () const =0 |
virtual const void * | data () const =0 |
virtual unsigned int | dataSize () const =0 |
virtual unsigned int | channelNumber () const =0 |
virtual nxcip::CompressionType | codecType () const =0 |
virtual bool | isKeyFrame () const =0 |
virtual const void * | encryptionData () const =0 |
virtual int | encryptionDataSize () const =0 |
![]() | |
virtual IRefCountable * | queryInterface (const InterfaceId *id) |
Ptr< Interface > | queryInterface () |
Ptr< const Interface > | queryInterface () const |
![]() | |
virtual | ~IRefCountable ()=default |
template<class Interface > | |
Ptr< Interface > | queryInterface () |
template<class Interface > | |
Ptr< const Interface > | queryInterface () const |
virtual int | addRef () const =0 |
virtual int | releaseRef () const =0 |
int | refCountThreadUnsafe () const |
Additional Inherited Members | |
![]() | |
static auto | interfaceId () |
![]() | |
virtual IRefCountable * | queryInterface (const IRefCountable::InterfaceId *id) override |
IRefCountable * | queryInterfaceSupportingDeprecatedId (const IRefCountable::InterfaceId *id, const Uuid &deprecatedInterfaceId) |
![]() | |
template<int len> | |
static constexpr const InterfaceId * | makeId (const char(&charArray)[len]) |
template<class TemplateInstance , class TemplateArg , int len> | |
static const InterfaceId * | makeIdForTemplate (const char(&baseIdCharArray)[len]) |
Media data packet abstraction. Data and encryptionData are opaque binary data arrays which should not be parsed or processed by the plugin in any way. Media data packet is provided to the plugin by the StreamWriter and is expected to be exactly the same when returned by the StreamReader object.