mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
webrtcbin: update default jb latency docs
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2242>
This commit is contained in:
parent
20ca07d174
commit
abe7e724ed
2 changed files with 6 additions and 2 deletions
|
@ -225994,7 +225994,7 @@
|
||||||
"construct": false,
|
"construct": false,
|
||||||
"construct-only": false,
|
"construct-only": false,
|
||||||
"controllable": false,
|
"controllable": false,
|
||||||
"default": "0",
|
"default": "200",
|
||||||
"max": "-1",
|
"max": "-1",
|
||||||
"min": "0",
|
"min": "0",
|
||||||
"mutable": "null",
|
"mutable": "null",
|
||||||
|
|
|
@ -62,6 +62,8 @@
|
||||||
/* The extra time for the rtpstorage compared to the RTP jitterbuffer (in ms) */
|
/* The extra time for the rtpstorage compared to the RTP jitterbuffer (in ms) */
|
||||||
#define RTPSTORAGE_EXTRA_TIME (50)
|
#define RTPSTORAGE_EXTRA_TIME (50)
|
||||||
|
|
||||||
|
#define DEFAULT_JB_LATENCY 200
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* SECTION: element-webrtcbin
|
* SECTION: element-webrtcbin
|
||||||
* title: webrtcbin
|
* title: webrtcbin
|
||||||
|
@ -7111,7 +7113,8 @@ gst_webrtc_bin_class_init (GstWebRTCBinClass * klass)
|
||||||
PROP_LATENCY,
|
PROP_LATENCY,
|
||||||
g_param_spec_uint ("latency", "Latency",
|
g_param_spec_uint ("latency", "Latency",
|
||||||
"Default duration to buffer in the jitterbuffers (in ms)",
|
"Default duration to buffer in the jitterbuffers (in ms)",
|
||||||
0, G_MAXUINT, 200, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
0, G_MAXUINT, DEFAULT_JB_LATENCY,
|
||||||
|
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GstWebRTCBin::create-offer:
|
* GstWebRTCBin::create-offer:
|
||||||
|
@ -7437,4 +7440,5 @@ gst_webrtc_bin_init (GstWebRTCBin * webrtc)
|
||||||
|
|
||||||
/* we start off closed until we move to READY */
|
/* we start off closed until we move to READY */
|
||||||
webrtc->priv->is_closed = TRUE;
|
webrtc->priv->is_closed = TRUE;
|
||||||
|
webrtc->priv->jb_latency = DEFAULT_JB_LATENCY;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue