RTSP play and pause
Bob Huang
hhbjsj at 163.com
Wed Nov 11 18:18:42 PST 2015
Hi,
I play RTSP stream using below code:
data->pipeline = gst_parse_launch("playbin", &error);
//avi.sdp is a video file that in server
g_object_set(data->pipeline, "uri", "rtsp://192.168.1.1/avi.sdp", NULL);
When stream playing , i can pause it, like:
gst_element_set_state (data->pipeline, GST_STATE_PAUSED);
but when I set playing again, it *restart* playing.
gst_element_set_state (data->pipeline, GST_STATE_PLAYING);
is playbin support rtsp stream play & pause? if not, how can I implement
this?
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/RTSP-play-and-pause-tp4674476.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list