prominenceai/deepstream-services-library

Implement new dsl_source_rtsp_udp_buffer_size_get/set services

rjhowell44 opened this issue · 0 comments

This has come in as a request.

/**
 * @brief Gets the current upd-buffer-size for the named RTSP Source.
 * @param[in] name name of the source object to query
 * @param[out] size current size of the kernel UDP receive buffer in bytes. 
 * @return DSL_RESULT_SUCCESS on success, DSL_RESULT_SOURCE_RESULT otherwise.
 */
DslReturnType dsl_source_rtsp_udp_buffer_size_get(const wchar_t* name,
    uint* size);

/**
 * @brief Sets the upd-buffer-size for the named RTSP Source to use.
 * @param[in] name name of the source object to update
 * @param[in] size new size of the kernel UDP receive buffer in bytes. 
 * @return DSL_RESULT_SUCCESS on success, DSL_RESULT_SOURCE_RESULT otherwise.
 */
DslReturnType dsl_source_rtsp_udp_buffer_size_set(const wchar_t* name,
    uint size);