There is a asynchronous function named gst_rtspsrc_async_open right after gst_rtspsrc_open in gstrtspsrc.c. Could anybody tell me why this open operation is a synchronize? Who gst_rtspsrc_async_open been disabled in the latest gstreamer release
http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-0.10.26.tar.gz ?
Is that possible if I'd like to use the open in a way of async? Because sometimes the timeout is too long for application. It's 20s now!
thx.
#if 0
static gboolean
gst_rtspsrc_async_open (GstRTSPSrc * src)
{
GError *error = NULL;
gboolean res = TRUE;
timestamp(); printf("cnh01286::: gst_rtspsrc_async_open\n");
src->thread =
g_thread_create ((GThreadFunc) gst_rtspsrc_open, src, TRUE, &error);
if (error != NULL) {
GST_ELEMENT_ERROR (src, RESOURCE, INIT, (NULL),
("Could not start async thread (%s).", error->message));
}
timestamp(); printf("cnh01286::: gst_rtspsrc_async_open return\n");
return res;
}
#endif
<br><hr align="left" width="300">
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/RTSP-issue-gst-rtspsrc-async-open-and-gst-rtspsrc-open-tp3220724p3220724.html">RTSP issue gst_rtspsrc_async_open and gst_rtspsrc_open</a><br>
Sent from the <a href="http://gstreamer-devel.966125.n4.nabble.com/">GStreamer-devel mailing list archive</a> at Nabble.com.<br>