13 #ifndef __NVGSTDS_SOURCES_H__
14 #define __NVGSTDS_SOURCES_H__
44 gboolean Intra_decode;
45 gboolean low_latency_mode;
51 gint camera_csi_sensor_id;
52 gint camera_v4l2_dev_node;
57 guint smart_rec_cache_size;
58 guint smart_rec_container;
59 guint smart_rec_def_duration;
60 guint smart_rec_duration;
61 guint smart_rec_start_time;
62 guint smart_rec_interval;
68 guint select_rtp_protocol;
70 guint max_size_buffers;
71 guint num_decode_surfaces;
72 guint num_extra_surfaces;
73 guint nvbuf_memory_type;
74 guint cuda_memory_type;
75 #if defined(__aarch64__) && !defined(AARCH64_IS_SBSA)
77 guint nvvideoconvert_copy_hw;
80 guint drop_frame_interval;
81 gboolean drop_on_latency;
82 gboolean extract_sei_type5_data;
83 gint rtsp_reconnect_interval_sec;
84 gint init_rtsp_reconnect_interval_sec;
85 guint rtsp_reconnect_attempts;
86 gboolean rtsp_reconnect_attempt_exceeded;
87 guint simulate_fps_interval_ms;
88 guint udp_buffer_size;
89 gboolean sensorIdToPadIdMapping;
93 guint input_audio_rate;
105 GstElement *src_elem;
106 GstElement *cap_filter;
107 GstElement *cap_filter1;
112 GstElement *decodebin;
113 GstElement *enc_filter;
114 GstElement *encbin_que;
116 GstElement *tee_rtsp_pre_decode;
117 GstElement *tee_rtsp_post_decode;
118 GstElement *fakesink_queue;
119 GstElement *fakesink;
120 GstElement *nvvidconv;
121 GstElement *audio_converter;
122 GstElement *audio_resample;
125 guint64 pre_event_rec;
128 gint rtsp_reconnect_interval_sec;
129 gint rtsp_reconnect_attempts;
130 gint num_rtsp_reconnects;
132 struct timeval last_buffer_time;
133 struct timeval last_reconnect_time;
134 gulong src_buffer_probe;
135 gulong rtspsrc_monitor_probe;
142 guint udp_buffer_size;
143 gboolean got_key_frame;
146 gboolean live_source;
147 gboolean reconfiguring;
148 gboolean async_state_watch_running;
151 guint64 accumulated_base;
152 guint64 prev_accumulated_base;