Using gstreamer RTSP server over the internet

Thadeu Antonio Ferreira de Melo thadeu.afm at gmail.com
Wed Sep 6 17:53:26 UTC 2017


I´m now testing with the SDP sample.

I run my ffmpeg source  that generates this SDP file:
---------------------------------------------------
v=0
o=- 0 0 IN IP4 127.0.0.1
s=No Name
c=IN IP4 127.0.0.1
t=0 0
a=tool:libavformat 56.40.101
m=video 5004 RTP/AVP 96
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1
----------------------------------------------------

I set the file for the example and run it. However when I hit play the
server displays:

(lt-test-sdp:9989): GStreamer-CRITICAL **: gst_object_unref: assertion
'object != NULL' failed

** (lt-test-sdp:9989): CRITICAL **: gst_rtsp_stream_join_bin: assertion
'GST_IS_RTSP_STREAM (stream)' failed

** (lt-test-sdp:9989): CRITICAL **: gst_rtsp_media_create_stream: assertion
'GST_IS_ELEMENT (payloader)' failed

And the player returns this message

-------------------------------------------------------------------------------------------------------------------------
[rtsp @ 0x7ff4cc009260] method PLAY failed: 454 Session Not Found
rtsp://127.0.0.1:8554/test: Server returned 4XX Client Error, but not one
of 40{0,1,3,4}
-------------------------------------------------------------------------------------------------------------------------

I belive there are more configurations I have to make so the server can
understand this is a live stream.


2017-09-06 13:46 GMT-03:00 Thadeu Antonio Ferreira de Melo <
thadeu.afm at gmail.com>:

> I think I finally understood some of the philosophy of gst.
>
> The videotestsrc has worked.
>
> Now would be nice if the source is the desktop I capture with ffmpeg - and
> is already encoded to h264.
>
> Sorry for my previous rant.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170906/8f5d5cac/attachment.html>


More information about the gstreamer-devel mailing list