NVIDIA DeepStream SDK API Reference

9.2 Release
NvDsSRContext Struct Reference

Detailed Description

Holds information about smart record instance.

Definition at line 108 of file includes/gst-nvdssr.h.

Collaboration diagram for NvDsSRContext:

Data Fields

GstElement * recordbin
 parent bin element. More...
 
GstElement * recordQue
 queue element to cache the content. More...
 
GstElement * encodebin
 child bin to save the content to file. More...
 
GstElement * filesink
 filesink element More...
 
gboolean gotKeyFrame
 flag to check the key frame. More...
 
gboolean recordOn
 flag to check if recording is on More...
 
gboolean resetDone
 flag to check if encodebin is reset More...
 
gboolean isPlaying
 flag to check if encodebin is in playing state. More...
 
NvDsSRInitParams initParams
 initialization parameters More...
 
GMutex flowLock
 mutex to control the flow More...
 
GThread * resetThread
 thread to reset the encodebin More...
 
gpointer uData
 pointer to user provided data More...
 
gpointer privData
 pointer to private data More...
 

Field Documentation

◆ encodebin

GstElement * NvDsSRContext::encodebin

child bin to save the content to file.

Definition at line 115 of file includes/gst-nvdssr.h.

◆ filesink

GstElement * NvDsSRContext::filesink

filesink element

Definition at line 117 of file includes/gst-nvdssr.h.

◆ flowLock

GMutex NvDsSRContext::flowLock

mutex to control the flow

Definition at line 129 of file includes/gst-nvdssr.h.

◆ gotKeyFrame

gboolean NvDsSRContext::gotKeyFrame

flag to check the key frame.

Definition at line 119 of file includes/gst-nvdssr.h.

◆ initParams

NvDsSRInitParams NvDsSRContext::initParams

initialization parameters

Definition at line 127 of file includes/gst-nvdssr.h.

◆ isPlaying

gboolean NvDsSRContext::isPlaying

flag to check if encodebin is in playing state.

Definition at line 125 of file includes/gst-nvdssr.h.

◆ privData

gpointer NvDsSRContext::privData

pointer to private data

Definition at line 135 of file includes/gst-nvdssr.h.

◆ recordbin

GstElement * NvDsSRContext::recordbin

parent bin element.

Definition at line 111 of file includes/gst-nvdssr.h.

◆ recordOn

gboolean NvDsSRContext::recordOn

flag to check if recording is on

Definition at line 121 of file includes/gst-nvdssr.h.

◆ recordQue

GstElement * NvDsSRContext::recordQue

queue element to cache the content.

Definition at line 113 of file includes/gst-nvdssr.h.

◆ resetDone

gboolean NvDsSRContext::resetDone

flag to check if encodebin is reset

Definition at line 123 of file includes/gst-nvdssr.h.

◆ resetThread

GThread * NvDsSRContext::resetThread

thread to reset the encodebin

Definition at line 131 of file includes/gst-nvdssr.h.

◆ uData

gpointer NvDsSRContext::uData

pointer to user provided data

Definition at line 133 of file includes/gst-nvdssr.h.


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