18 #ifndef __NVGSTDS_SOURCES_H__
19 #define __NVGSTDS_SOURCES_H__
49 gboolean Intra_decode;
50 gboolean low_latency_mode;
56 gint camera_csi_sensor_id;
57 gint camera_v4l2_dev_node;
62 guint smart_rec_cache_size;
63 guint smart_rec_container;
64 guint smart_rec_def_duration;
65 guint smart_rec_duration;
66 guint smart_rec_start_time;
67 guint smart_rec_interval;
73 guint select_rtp_protocol;
75 guint max_size_buffers;
76 guint num_decode_surfaces;
77 guint num_extra_surfaces;
78 guint nvbuf_memory_type;
79 guint cuda_memory_type;
80 #if defined(__aarch64__) && !defined(AARCH64_IS_SBSA)
82 guint nvvideoconvert_copy_hw;
85 guint drop_frame_interval;
86 gboolean drop_on_latency;
87 gboolean extract_sei_type5_data;
88 gint rtsp_reconnect_interval_sec;
89 gint init_rtsp_reconnect_interval_sec;
90 guint rtsp_reconnect_attempts;
91 gboolean rtsp_reconnect_attempt_exceeded;
92 guint simulate_fps_interval_ms;
93 guint udp_buffer_size;
94 gboolean sensorIdToPadIdMapping;
98 guint input_audio_rate;
110 GstElement *src_elem;
111 GstElement *cap_filter;
112 GstElement *cap_filter1;
117 GstElement *decodebin;
118 GstElement *enc_filter;
119 GstElement *encbin_que;
121 GstElement *tee_rtsp_pre_decode;
122 GstElement *tee_rtsp_post_decode;
123 GstElement *fakesink_queue;
124 GstElement *fakesink;
125 GstElement *nvvidconv;
126 GstElement *audio_converter;
127 GstElement *audio_resample;
130 guint64 pre_event_rec;
133 gint rtsp_reconnect_interval_sec;
134 gint rtsp_reconnect_attempts;
135 gint num_rtsp_reconnects;
137 struct timeval last_buffer_time;
138 struct timeval last_reconnect_time;
139 gulong src_buffer_probe;
140 gulong rtspsrc_monitor_probe;
147 guint udp_buffer_size;
148 gboolean got_key_frame;
151 gboolean live_source;
152 gboolean reconfiguring;
153 gboolean async_state_watch_running;
156 guint64 accumulated_base;
157 guint64 prev_accumulated_base;