nx_cloud_storage_sdk  1.0
Cloud Storage SDK
Public Types | Public Member Functions | List of all members
nx::sdk::cloud_storage::IMediaDataPacket Class Referenceabstract

#include <i_media_data_packet.h>

Inheritance diagram for nx::sdk::cloud_storage::IMediaDataPacket:
nx::sdk::Interface< IMediaDataPacket > nx::sdk::IRefCountable

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
 
- Public Member Functions inherited from nx::sdk::Interface< IMediaDataPacket >
virtual IRefCountablequeryInterface (const InterfaceId *id)
 
Ptr< InterfacequeryInterface ()
 
Ptr< const InterfacequeryInterface () const
 
- Public Member Functions inherited from nx::sdk::IRefCountable
virtual ~IRefCountable ()=default
 
template<class Interface >
Ptr< InterfacequeryInterface ()
 
template<class Interface >
Ptr< const InterfacequeryInterface () const
 
virtual int addRef () const =0
 
virtual int releaseRef () const =0
 
int refCountThreadUnsafe () const
 

Additional Inherited Members

- Static Public Member Functions inherited from nx::sdk::IRefCountable
static auto interfaceId ()
 
- Protected Member Functions inherited from nx::sdk::Interface< IMediaDataPacket >
virtual IRefCountablequeryInterface (const IRefCountable::InterfaceId *id) override
 
IRefCountablequeryInterfaceSupportingDeprecatedId (const IRefCountable::InterfaceId *id, const Uuid &deprecatedInterfaceId)
 
- Static Protected Member Functions inherited from nx::sdk::IRefCountable
template<int len>
static constexpr const InterfaceIdmakeId (const char(&charArray)[len])
 
template<class TemplateInstance , class TemplateArg , int len>
static const InterfaceIdmakeIdForTemplate (const char(&baseIdCharArray)[len])
 

Detailed Description

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.


The documentation for this class was generated from the following file: