Android is strutting for Real Time Stream
Azure1 Sureale
sureale.azure1 at gmail.com
Thu Sep 28 17:05:47 UTC 2017
Hello again.
Tim's solutions have worked great when we were using FFSERVER to re-stream
the video.
However we now are implementing GST_RTPS_SERVER and the Android Player is
the only one not playing the video. FFPlay, VLC, and a Windows
Gstreamer player can all reproduce the stream that is represented by the
uri rtsp://127.0.0.1:8554/test (the FFSERVER uri had a .sdp )
I can see the Android Player requisition on the RTSP Server terminal:
(lt-test-launch:28849): GLib-GObject-WARNING **: g_object_get_valist:
object class 'GstIdentity' has no property named 'pt'
But still no playing...
Should I add another parameter to the android player? Or should I change
the way the RTSP Server builds the URI?
Thank you.
On Tue, Sep 26, 2017 at 10:28 AM, Olivier CrĂȘte <olivier.crete at collabora.com
> wrote:
> Hi,
>
> The two seconds are from rtspsrc, you can set the "latency" property to
> something reasonable like 200ms by connecting to the "source-setup" signal
> on playbin and setting the latency property to 200 if it's rtspsrc.
>
> You can verify the automatically calculated latency by setting
> GST_DEBUG=bin:4
>
> Setting the pipeline latency manually will indeed produce problems if you
> set a lower value than the minimal one.
>
> Olivier
>
> On Wed, 2017-09-20 at 14:13 -0300, Azure1 Sureale wrote:
>
> Hello, I'm trying to have an Android Player receiving a RTSP stream from
> the internet and play it with very low latency.
> I'm using Tutorial 5 from the GStreamer home. Without any change my stream
> has a latency about 2 seconds (worst than Vitamio that I was using
> previously).
>
> With futher investigation we realized we could change the latency to 0 in
> the pipeline using this code:
>
> ****************************************************************
> data->pipeline = gst_parse_launch("playbin", &error);
> gst_pipeline_set_latency(data->pipeline,0); //This is what I wrote
>
> if (error) {
> gchar *message = g_strdup_printf("Unable to build pipeline: %s",
> error->message);
> g_clear_error (&error);
> set_ui_message(message, data);
> g_free (message);
> return NULL;
> }
>
> ****************************************************************
>
> Now the stream is strutting, alas dropping frames. However the stream is
> faster than the base code.
> Based on other questions, I tried to add rtpjitterbuffer into the pipeline
> but seems that is not that simple.
>
> How can I construct or change the pipeline to have low latency and no
> strutting?
>
> _______________________________________________
> gstreamer-devel mailing listgstreamer-devel at lists.freedesktop.orghttps://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
> --
>
> Olivier CrĂȘte olivier.crete at collabora.com
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170928/6316e4e1/attachment.html>
More information about the gstreamer-devel
mailing list