v0.08.alpha
Pre-releasev0.08.alpha Overview
The release includes new features and bug fixes, as detailed below. Some of the updates include breaking changes!
VSCode configurations C++/Python linting, building and debugging (#341)
Visual Studio Code configuration files for remote arm64 building and debugging
RTSP Stream Re-connection Management.
An additional parameter was added to the RTSP Source constructor to allow the client to specify a new-buffer-timeout
as follows:
/**
* @param[in] timeout time to wait between successive buffers before determining the
* connection is lost. Set to 0 to disable timeout.
*/
DslReturnType dsl_source_rtsp_new(const wchar_t* name, const wchar_t* uri, uint protocol,
uint cudadec_mem_type, uint intra_decode, uint drop_frame_interval, uint latency, uint timeout);
Two new Timeout services have been added
dsl_source_rtsp_timeout_get
dsl_source_rtsp_timeout_set
Along with two new default
/**
* @brief time to sleep after a failed reconnection before
* starting a new re-connection cycle. In units of seconds
*/
#define DSL_RTSP_RECONNECTION_SLEEP_S 4
/**
* @brief the maximum time to wait for a RTSP Source to
* asynchronously transition to a final state of Playing.
* In units of seconds
*/
#define DSL_RTSP_RECONNECTION_TIMEOUT_S 30
With new services to get/set both at any time.
dsl_source_rtsp_reconnection_params_get
dsl_source_rtsp_reconnection_params_set
The client can add/remove a state-change-listener (callback) to each source to be notified of "changes in state" which occur during the connection/loss/re-connection cycle
dsl_source_rtsp_state_change_listener_add
dsl_source_rtsp_state_change_listener_remove
Re-connection stats can be obtained/cleared for each Source at any time.
dsl_source_rtsp_reconnection_data_get
dsl_source_rtsp_reconnection_data_clear
New Pipeline error-message-handler services #358
(*dsl_error_message_handler_cb)
dsl_pipeline_error_message_handler_add
dsl_pipeline_error_message_handler_remove
dsl_pipeline_error_message_last_get
Tiler and XWindow services and bug fixes.
New Services
- New Tiler service to show a single source based on positional selection #345
dsl_tiler_source_show_select
- New Tiler service to cycle through each source based on a time interval #348
dsl_tiler_source_show_cycle
- New XWindow services,
dsl_pipeline_xwindow_fullscreen_enabled_get and set
to support XWindow full-screen mode #374
Bug Fixes
- Fix current implementation of
dsl_pipeline_xwindow_dimensions_get
#354 - Window Sink offset values are ignored on internal XWindow create #360
Map NvDsSRRecordingInfo to python class using CTypes #357
The callback type (*dsl_record_client_listener_cb)
in both dslapi.h and dsl.py now use the new DslRecordingInfoType
as the input parameter to the client's callback function, vs the previous opaque void pointer. The session info can now be accessed directly when using python. No need for NVIDIA python bindings.