ArchiveAudio.h
Go to the documentation of this file.
53 DB_EDGEVIS_SDK ArchiveAudio(int16_t format, byte_array data, int8_t bits_per_sample, int32_t sample_rate, int64_t timestamp, int8_t channels, int8_t input);
55 DB_EDGEVIS_SDK ArchiveAudio(int16_t format, byte_array data, std::wstring sdpConfig, int64_t timestamp, int64_t duration);
64 DB_EDGEVIS_SDK void Assign(int16_t format, byte_array data, int8_t bits_per_sample, int32_t sample_rate, int64_t timestamp, int8_t channels, int8_t input);
DB_EDGEVIS_SDK int64_t GetTimestamp() const
Returns the timestamp of the audio data The timestamp in in milliseconds since 1970 (Unix time) ...
DB_EDGEVIS_SDK int8_t GetInput() const
Returns the video input index this audio is associated with.
DB_EDGEVIS_SDK int32_t GetSampleRate() const
Returns the bits sample rate of the audio data in Hz.
DB_EDGEVIS_SDK void Assign(int16_t format, byte_array data, int8_t bits_per_sample, int32_t sample_rate, int64_t timestamp, int8_t channels, int8_t input)
Assign new audio data to this ArchiveAudio object.
The EdgeVis Encoder SDK namespace.
DB_EDGEVIS_SDK std::wstring GetSDP() const
Returns the audio sdp packet.
DB_EDGEVIS_SDK ArchiveAudio(int16_t format, byte_array data, int8_t bits_per_sample, int32_t sample_rate, int64_t timestamp, int8_t channels, int8_t input)
Creates an ArchiveAudio object.
DB_EDGEVIS_SDK int8_t GetBitsPerSample() const
Returns the bits per sample.
DB_EDGEVIS_SDK int8_t GetChannels() const
Returns the number of audio channels within the audio data Either 1 or 2 channels.
DB_EDGEVIS_SDK int16_t GetFormat() const
Returns the audio data format.
DB_EDGEVIS_SDK byte_array GetData() const
Returns the audio data.
DB_EDGEVIS_SDK int64_t GetDuration() const
Retrieve the duration of this frame.
