nx_server_plugin_sdk 1.0 Server Plugin SDK

Public Member Functions | List of all members
MediaEncoder Class Reference

`#include <media_encoder.h>`

Inheritance diagram for MediaEncoder:

## Public Member Functions
| MediaEncoder (CameraManager *const cameraManager, int encoderNumber, unsigned int frameDurationUsec)
virtual void * | queryInterface (const nxpl::NX_GUID &interfaceID) override
| Implementation of nxpl::PluginInterface::queryInterface.
virtual int | addRef () const override
| Implementation of nxpl::PluginInterface::addRef.
virtual int | releaseRef () const override
| Implementation of nxpl::PluginInterface::releaseRef.
virtual int | getMediaUrl (char *urlBuf) const override
| Implementation of nxcip::CameraMediaEncoder::getMediaUrl.
virtual int | getResolutionList (nxcip::ResolutionInfo *infoList, int *infoListCount) const override
| Implementation of nxcip::CameraMediaEncoder::getResolutionList.
virtual int | getMaxBitrate (int *maxBitrate) const override
| Implementation of nxcip::CameraMediaEncoder::getMaxBitrate.
virtual int | setResolution (const nxcip::Resolution &resolution) override
| Implementation of nxcip::CameraMediaEncoder::setResolution.
virtual int | setFps (const float &fps, float *selectedFps) override
| Implementation of nxcip::CameraMediaEncoder::setFps.
virtual int | setBitrate (int bitrateKbps, int *selectedBitrateKbps) override
| Implementation of nxcip::CameraMediaEncoder::setBitrate.
virtual nxcip::StreamReader * | getLiveStreamReader () override
| Implementation of nxcip::CameraMediaEncoder::setBitrate.
virtual int | getAudioFormat (nxcip::AudioFormat *format) const override
| Returns audio format, if audio is supported.

## Detailed Description

Note
  Delegates reference counting to AxisCameraManager instance

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

- samples/device/image_library_plugin/src/media_encoder.h
- samples/device/image_library_plugin/src/media_encoder.cpp