mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
rtsp-server: Add since marker for adjust_error_code
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3157>
This commit is contained in:
parent
9ebc3f2316
commit
11982bcaba
1 changed files with 13 additions and 0 deletions
|
@ -178,6 +178,19 @@ struct _GstRTSPClientClass {
|
|||
GstRTSPStatusCode (*pre_announce_request) (GstRTSPClient *client, GstRTSPContext *ctx);
|
||||
GstRTSPStatusCode (*pre_record_request) (GstRTSPClient *client, GstRTSPContext *ctx);
|
||||
|
||||
/**
|
||||
* GstRTSPClientClass::adjust_error_code:
|
||||
* @client: a #GstRTSPClient
|
||||
* @ctx: a #GstRTSPContext
|
||||
* @code: a #GstRTSPStatusCode
|
||||
*
|
||||
* Called before sending error response to give the application the
|
||||
* possibility to adjust the error code.
|
||||
*
|
||||
* Returns: a #GstRTSPStatusCode, containing the adjusted error code.
|
||||
*
|
||||
* Since: 1.22
|
||||
*/
|
||||
GstRTSPStatusCode (*adjust_error_code) (GstRTSPClient *client, GstRTSPContext *ctx, GstRTSPStatusCode code);
|
||||
|
||||
/*< private >*/
|
||||
|
|
Loading…
Reference in a new issue