Release 1.15.2

This commit is contained in:
Tim-Philipp Müller 2019-02-26 11:58:53 +00:00
parent 7e01dfd151
commit 14d0b77df6
6 changed files with 330 additions and 104 deletions

101
ChangeLog
View file

@ -1,3 +1,104 @@
=== release 1.15.2 ===
2019-02-26 11:58:53 +0000 Tim-Philipp Müller <tim@centricular.com>
* ChangeLog:
* NEWS:
* RELEASE:
* configure.ac:
* gst-rtsp-server.doap:
* meson.build:
Release 1.15.2
2019-02-19 09:45:08 +0100 Göran Jönsson <goranjn@axis.com>
* gst/rtsp-server/rtsp-media.c:
* tests/check/gst/client.c:
rtsp-media: Fix multicast use case with common media
Use case
client 1: SETUP
client 1: PLAY
client 2: SETUP
client 1: TEARDOWN
client 2: PLAY
client 2: TEARDOWN
2019-01-16 12:59:11 +0100 Göran Jönsson <goranjn@axis.com>
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-server/rtsp-stream.h:
rtsp-server: remove recursive behavior
Introduce a threadpool to send rtp and rtcp to avoid recursive behavior.
2019-01-25 14:22:42 +0200 Sebastian Dröge <sebastian@centricular.com>
* gst/rtsp-server/rtsp-client.c:
rtsp-client: Only allow to set either a send_func or send_messages_func but not both
And route all messages through the send_func if no send_messages_func
was provided.
We otherwise break backwards compatibility.
2018-09-17 22:18:46 +0300 Sebastian Dröge <sebastian@centricular.com>
* docs/libs/gst-rtsp-server-sections.txt:
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-client.h:
* gst/rtsp-server/rtsp-stream.c:
rtsp-client: Add support for sending buffer lists directly
Fixes https://gitlab.freedesktop.org/gstreamer/gst-rtsp-server/issues/29
2018-06-27 12:17:07 +0200 Sebastian Dröge <sebastian@centricular.com>
* docs/libs/gst-rtsp-server-sections.txt:
* gst/rtsp-server/rtsp-client.c:
* gst/rtsp-server/rtsp-media.c:
* gst/rtsp-server/rtsp-stream-transport.c:
* gst/rtsp-server/rtsp-stream-transport.h:
* gst/rtsp-server/rtsp-stream.c:
* gst/rtsp-sink/gstrtspclientsink.c:
rtsp-server: Add support for buffer lists
This adds new functions for passing buffer lists through the different
layers without breaking API/ABI, and enables the appsink to actually
provide buffer lists.
This should already reduce CPU usage and potentially context switches a
bit by passing a whole buffer list from the appsink instead of
individual buffers. As a next step it would be necessary to
a) Add support for a vector of data for the GstRTSPMessage body
b) Add support for sending multiple messages at once to the
GstRTSPWatch and let it be handled internally
c) Adding API to GOutputStream that works like writev()
Fixes https://gitlab.freedesktop.org/gstreamer/gst-rtsp-server/issues/29
2018-12-04 14:12:04 +0100 Benjamin Berg <bberg@redhat.com>
* gst/rtsp-server/rtsp-client.c:
client: Fix crash in close handler
The close handler could trigger a crash because it invalidated the
watch_context while still leaving a source attached to it which would be
cleaned up at a later point.
2019-01-29 14:42:35 +0100 Edward Hervey <edward@centricular.com>
* gst/rtsp-server/rtsp-stream.c:
rtsp-stream: Use cached address when allocating sockets
If an address/port was previously decided upon (ex: multicast in the
SDP), then use that instead of re-creating another one
Fixes https://gitlab.freedesktop.org/gstreamer/gst-rtsp-server/issues/57
2018-12-27 11:28:17 +0100 Lars Wiréen <larswi@axis.com>
* gst/rtsp-server/rtsp-media.c:
rtsp-media: Fix race codition in finish_unprepare
The previous fix for race condition around finish_unprepare where the
function could be called twice assumed that the status wouldn't change
during execution of the function. This assumption is incorrect as the
state may change, for example if an error message arrives from the
pipeline bus.
Instead a flag keeping track on whether the finish_unprepare function
is currently executing is introduced and checked.
Fixes https://gitlab.freedesktop.org/gstreamer/gst-rtsp-server/issues/59
=== release 1.15.1 ===
2019-01-17 02:26:48 +0000 Tim-Philipp Müller <tim@centricular.com>

225
NEWS
View file

@ -15,7 +15,7 @@ the git master branch and which will eventually result in 1.16.
See https://gstreamer.freedesktop.org/releases/1.16/ for the latest
version of this document.
_Last updated: Monday 14 January 2019, 13:00 UTC (log)_
_Last updated: Monday 25 January 2019, 15:00 UTC (log)_
Introduction
@ -24,8 +24,8 @@ The GStreamer team is proud to announce a new major feature release in
the stable 1.x API series of your favourite cross-platform multimedia
framework!
As always, this release is again packed with new features, bug fixes and
other improvements.
As always, this release is again packed with many new features, bug
fixes and other improvements.
Highlights
@ -40,7 +40,7 @@ Highlights
- Support for Closed Captions and other Ancillary Data in video
- Spport for planar (non-interleaved) raw audio
- Support for planar (non-interleaved) raw audio
- GstVideoAggregator, compositor and OpenGL mixer elements are now in
-base
@ -98,14 +98,17 @@ Noteworthy new API
to process the media in a live pipeline before it reaches the sink.
This is on top of the systemic latency that is normally reported by
the latency query. This defaults to 20ms and should make pipelines
such as v4lsrc ! xvimagesink not claim that all frames are late in
the QoS events. Ideally, this should replace max_lateness for most
applications.
such as v4l2src ! xvimagesink not claim that all frames are late in
the QoS events. Ideally, this should replace the "max-lateness"
property for most applications.
- RTCP Extended Reports (XR) parsing according to RFC 3611:
Loss/Duplicate RLE, Packet Receipt Times, Receiver Reference Time,
Delay since the last Receiver (DLRR), Statistics Summary, and VoIP
Metrics reports.
Metrics reports. This only provides the ability to parse such
packets, generation of XR packets is not supported yet and XR
packets are not automatically parsed by rtpbin / rtpsession but must
be actively handled by the application.
- a new mode for interlaced video was added where each buffer carries
a single field of interlaced video, with buffer flags indicating
@ -146,9 +149,10 @@ or planar arrangement in memory would look like
|LEFT|LEFT|LEFT| and |RIGHT|RIGHT|RIGHT| residing in separate memory
chunks or separated by some padding.
GStreamer has always had signalling for non-interleaved audio, but it
was never actually properly implemented in any elements. audioconvert
would advertise support for it, but wasnt actually able to handle it.
GStreamer has always had signalling for non-interleaved audio since
version 1.0, but it was never actually properly implemented in any
elements. audioconvert would advertise support for it, but wasnt
actually able to handle it correctly.
With this release we now have full support for non-interleaved audio as
well, which means more efficient integration with external APIs that
@ -177,18 +181,18 @@ The video support library has gained support for detecting and
extracting Ancillary Data from videos as per the SMPTE S291M
specification, including:
- a VBI (Video Blanking Interval) parser that can detect and extract
Ancillary Data from Vertical Blanking Interval lines of component
signals. This is currently supported for videos in v210 and UYVY
format.
- a VBI (Vertical Blanking Interval) parser that can detect and
extract Ancillary Data from Vertical Blanking Interval lines of
component signals. This is currently supported for videos in v210
and UYVY format.
- a new GstMeta for closed captions: GstVideoCaptionMeta. This
supports the two types of closed captions, CEA-608 and CEA-708,
along with the four different ways they can be transported (other
systems are a superset of those).
- a VBI (Video Blanking Interval) encoder for writing ancillary data
to the Vertical Blanking Interval lines of component signals.
- a VBI (Vertical Blanking Interval) encoder for writing ancillary
data to the Vertical Blanking Interval lines of component signals.
The new closedcaption plugin in gst-plugins-bad then makes use of all
this new infrastructure and provides the following elements:
@ -222,6 +226,9 @@ support:
- playbin and playbin3 learned how to autoplug CEA 608/708 CC overlay
elements
- the externally maintained ajavideosrc element for AJA capture cards
has support for extracting closed captions
The rsclosedcaption plugin in the Rust plugins collection includes a
MacCaption (MCC) file parser and encoder.
@ -239,7 +246,7 @@ New Elements
- gloverlaycompositor: New OpenGL-based compositor element that
flattens any overlays from GstVideoOverlayCompositionMetas into the
video stream.
video stream. This element is also always part of glimagesink.
- glalpha: New element that adds an alpha channel to a video stream.
The values of the alpha channel can either be set to a constant or
@ -248,7 +255,7 @@ New Elements
done in floating point so results may not be identical to the output
of the existing alpha element.
- rtpfunnel funnels together rtp-streams into a single session. Use
- rtpfunnel funnels together RTP streams into a single session. Use
cases include multiplexing and bundle. webrtcbin uses it to
implement BUNDLE support.
@ -264,10 +271,12 @@ New Elements
WPE
- Two new OpenCV-based elements: cameracalibrate and cameraundistort
who can communicate to figure out distortion correction parameters
that can communicate to figure out distortion correction parameters
for a camera and correct for the distortion.
- new sctp plugin based on usrsctp with sctpenc and sctpdec elements
- New sctp plugin based on usrsctp with sctpenc and sctpdec elements.
These elements are used inside webrtcbin for implementing data
channels.
New element features and additions
@ -348,12 +357,12 @@ New element features and additions
- rtspsrc now allows applications to send RTSP SET_PARAMETER and
GET_PARAMETER requests using action signals.
- rtspsrc also has a small (100ms) configurable teardown delay by
default to try and make sure an RTSP TEARDOWN request gets sent out
when the source element shuts down. This will block the downward
PAUSED to READY state change for a short time, but can be unset
where its a problem. Some servers only allow a limited number of
concurren clients, so if no proper TEARDOWN is sent clients may have
- rtspsrc has a small (100ms) configurable teardown delay by default
to try and make sure an RTSP TEARDOWN request gets sent out when the
source element shuts down. This will block the downward PAUSED to
READY state change for a short time, but can be disabled where its
a problem. Some servers only allow a limited number of concurrent
clients, so if no proper TEARDOWN is sent new clients may have
problems connecting to the server for a while.
- souphttpsrc behaves better with low bitrate streams now. Before it
@ -364,6 +373,7 @@ New element features and additions
- filesink: do internal buffering to avoid performance regression with
small writes since we bypass libc buffering by using writev()
instead of fwrite()
- identity: add "eos-after" property and fix "error-after" property
when the element is reused
@ -405,9 +415,9 @@ New element features and additions
relays (TURN servers).
- The removesilence element has received various new features and
properties, such as a
"threshold"1 property, detecting silence only after minimum silence time/buffers, a“silent”property to control bus message notifications as well as a“squash”`
property.
properties, such as a "threshold" property, detecting silence only
after minimum silence time/buffers, a "silent" property to control
bus message notifications as well as a "squash" property.
- AOMedia AV1 decoder gained support for 10/12bit decoding whilst the
AV1 encoder supports more image formats and subsamplings now and
@ -430,15 +440,15 @@ Plugin and library moves
- The stereo element was moved from -bad into the existing audiofx
plugin in -good. If you get duplicate type registration warnings
when upgrading, check that you dont have a stale gststereo plugin
lying about somewhere.
when upgrading, check that you dont have a stale stereoplugin lying
about somewhere.
GstVideoAggregator, compositor, and OpenGL mixer elements moved from -bad to -base
GstVideoAggregator is a new base class for raw video mixers and muxers
and is based on [GstAggregator][aggregator]. It provides defined-latency
mixing of raw video inputs and ensures that the pipeline wont stall
even if one of the input streams stops producing data.
and is based on GstAggregator. It provides defined-latency mixing of raw
video inputs and ensures that the pipeline wont stall even if one of
the input streams stops producing data.
As part of the move to stabilise the API there were some last-minute API
changes and clean-ups, but those should mostly affect internal elements.
@ -456,14 +466,15 @@ would expected in most scenarios.
The compositor element has gained support for per-pad blending mode
operators (SOURCE, OVER, ADD) which determines what operator to use for
blending this pad over the previous ones. This can be used to implement
crossfading.
crossfading and the available operators can be extended in the future as
needed.
A number of OpenGL-based video mixer elements (glvideomixer, glmixerbin,
glvideomixerelement, glstereomix, glmosaic) which are built on top of
GstVideoAggregator have also been moved from -bad to -base now. These
elements have been merged into the existing OpenGL plugin, so if you get
duplicate type registration warnings when upgrading, check that you
dont have a stale gstopenglmixers plugin lying about somewhere.
dont have a stale openglmixers plugin lying about somewhere.
Plugin removals
@ -477,11 +488,11 @@ The following plugins have been removed from gst-plugins-bad:
plugin.
- The acmmp3dec and acmenc plugins for Windows have been removed. ACM
is an ancient legacy API and there was no point in keeping them
around for a licensed mp3 decoder now that mp3 patents have expired
and we have a decoder in -good. We also didnt ship these in our
cerbero-built Windows packages, so its unlikely that theyll be
missed.
is an ancient legacy API and there was no point in keeping the
plugins around for a licensed MP3 decoder now that the MP3 patents
have expired and we have a decoder in -good. We also didnt ship
these in our cerbero-built Windows packages, so its unlikely that
theyll be missed.
Miscellaneous API additions
@ -506,7 +517,8 @@ Miscellaneous API additions
one might need to put such elements into READY state to test if the
hardware is present in the system for example.
- protection: Add a new definition for unspecified system protection
- protection: Add a new definition for unspecified system protection,
GST_PROTECTION_UNSPECIFIED_SYSTEM_ID
- take functions for various mini objects that didnt have them yet:
gst_query_take(), gst_message_take(), gst_tag_list_take(),
@ -522,11 +534,18 @@ Miscellaneous API additions
gst_clear_mini_object(), gst_clear_object()
- miniobject: new API gst_mini_object_add_parent() and
gst_mini_object_remove_parent()to set parent pointers on mini objects to ensure correct writability: Every container of miniobjects now needs to store itself as parent in the child object, and remove itself again later. A mini object is then only writable if there is at most one parent, that parent is writable itself, and the reference count of the mini object is 1.GstBuffer(for memories),GstBufferList(for buffers),GstSample(for caps, buffer, bufferlist), andGstVideoOverlayComposition`
were updated accordingly. Without this it was possible to have
e.g. a buffer list with a refcount of 2 used in two places at once
that both modify the same buffer with refcount 1 at the same time
wrongly thinking it is writable even though its really not.
gst_mini_object_remove_parent() to set parent pointers on mini
objects to ensure correct writability: Every container of
miniobjects now needs to store itself as parent in the child object,
and remove itself again later. A mini object is then only writable
if there is at most one parent, that parent is writable itself, and
the reference count of the mini object is 1. GstBuffer (for
memories), GstBufferList (for buffers), GstSample (for caps, buffer,
bufferlist), and GstVideoOverlayComposition were updated
accordingly. Without this it was possible to have e.g. a buffer list
with a refcount of 2 used in two places at once that both modify the
same buffer with refcount 1 at the same time wrongly thinking it is
writable even though its really not.
- poll: add API to watch for POLLPRI and stop treating POLLPRI as a
read. This is useful to wait for video4linux events which are
@ -596,7 +615,7 @@ GstPlayer
Miscellaneous changes
- As a result of moving to different FFmpeg APIs, encoder and decoder
- As a result of moving to newer FFmpeg APIs, encoder and decoder
elements exposed by the GStreamer FFmpeg wrapper plugin (gst-libav)
may have seen possibly incompatible changes to property names and/or
types, and not all properties exposed might be functional. We are
@ -704,10 +723,10 @@ Tools
- gst-inspect-1.0 has coloured output now and will automatically use a
pager if the output does not fit on a page. This only works in a
unix environment and if the output is not piped. If you dont like
the colours you can disable them by setting the
GST_INSPECT_NO_COLORS=1 environment variable or passing the
--no-colors command line option.
UNIX environment and if the output is not piped, and on Windows 10
build 16257 or newer. If you dont like the colours you can disable
them by setting the GST_INSPECT_NO_COLORS=1 environment variable or
passing the --no-color command line option.
GStreamer RTSP server
@ -736,6 +755,29 @@ GStreamer VAAPI
- this section will be filled in in due course
GStreamer OMX
- Add support of NV16 format to video encoders input.
- Video decoders now handle the ALLOCATION query to tell upstream
about the number of buffers they require. Video encoders will also
use this query to adjust their number of allocated buffers
preventing starvation when using dynamic buffer mode.
- The OMX_PERFORMANCE debug category has been renamed to OMX_API_TRACE
and can now be used to track a widder variety of interactions
between OMX and GStreamer.
- Video encoders will now detect frame rate only changes and will
inform OMX about it rather than doing a full format reset.
- Various Zynq UltraScale+ specific improvements:
- Video encoders are now able to import dmabuf from upstream.
- Support for HEVC range extension profiles and more AVC profiles.
- We can now request video encoders to generate an IDR using the
force key unit event.
GStreamer Editing Services and NLE
- this section will be filled in in due course
@ -858,7 +900,7 @@ Added
value per tag. The old ::iter_tag_list() function was renamed to
::iter_generic() and still provides access to each value for a tag
- Bus::iter() and Bus::iter_timed() iterators around the corresponding
::pop*() functions
::pop\*() functions
- serde serialization of Value can also handle Buffer now
@ -995,11 +1037,78 @@ Build and Dependencies
- New sctp plugin based on usrsctp (for WebRTC data channels)
Cerbero
Cerbero is a meta build system used to build GStreamer plus dependencies
on platforms where dependencies are not readily available, such as
Windows, Android, iOS and macOS.
Cerbero has seen a number of improvements:
- Cerbero has been ported to Python 3 and requires Python 3.5 or newer
now
- Source tarballs are now protected by checksums in the recipes to
guard against download errors and malicious takeover of projects or
websites. In addition, downloads are only allowed via secure
transports now and plain HTTP, FTP and git:// transports are not
allowed anymore.
- There is now a new fetch-bootstrap command which downloads sources
required for bootstrapping, with an optional --build-tools-only
argument to match the bootstrap --build-tools-only command.
- The bootstrap, build, package and bundle-source commands gained a
new --offline switch that ensures that only sources from the cache
are used and never downloaded via the network. This is useful in
combination with the fetch and fetch-bootstrap commands that acquire
sources ahead of time before any build steps are executed. This
allows more control over the sources used and when sources are
updated, and is particularly useful for build environments that
dont have network access.
- bootstrap --assume-yes will automatically say yes to any
interactive prompts during the bootstrap stage, such as those from
apt-get or yum.
- bootstrap --system-only will only bootstrap the system without build
tools.
- Manifest support: The build manifest can be used in continuous
integration (CI) systems to fixate the Git revision of certain
projects so that all builds of a pipeline are on the same reference.
This is used in GStreamers gitlab CI for example. It can also be
used in order to re-produce a specific build. To set a manifest, you
can set manifest = 'my_manifest.xml' in your configuration file, or
use the --manifest command line option. The command line option will
take precendence over anything specific in the configuration file.
- The new build-deps command can be used to build only the
dependencies of a recipe, without the recipe itself.
- new --list-variants command to list available variants
- variants can now be set on the command line via the -v option as a
comma-separated list. This overrides any variants set in any
configuration files.
- new qt5, intelmsdk and nvidia variants for enabling Qt5 and hardware
codec support. See the Enabling Optional Features with Variants
section in the Cerbero documentation for more details how to enable
and use these variants.
- A new -t / --timestamp command line switch makes commands print
timestamps
Platform-specific changes and improvements
Android
- toolchain: update compiler to clang and NDKr18. NDK r18 removed the
armv5 target and only has Android platforms that target at least
armv7 so the armv5 target is not useful anymore.
- The way that GIO modules are named has changed due to upstream GLib
natively adding support for loading static GIO modules. This means
that any GStreamer application using gnutls for SSL/TLS on the
@ -1010,9 +1119,15 @@ Android
library. Look at this commit for the necessary change in the
examples.
- various build issues on Android have been fixed.
macOS and iOS
- macOS binaries should be fully relocatable now
- various build issues on iOS have been fixed.
- the minimum required iOS version is now 9.0. The difference in
adoption between 8.0 and 9.0 is 0.1% and the bump to 9.0 fixes some
build issues.
- The way that GIO modules are named has changed due to upstream GLib
natively adding support for loading static GIO modules. This means

View file

@ -1,4 +1,4 @@
This is GStreamer gst-rtsp-server 1.15.1.
This is GStreamer gst-rtsp-server 1.15.2.
GStreamer 1.15 is the development branch leading up to the next major
stable version which will be 1.16.

View file

@ -2,7 +2,7 @@ AC_PREREQ(2.69)
dnl initialize autoconf
dnl when going to/from release please set the nano (fourth number) right !
dnl releases only do Wall, cvs and prerelease does Werror too
AC_INIT([GStreamer RTSP Server Library], [1.15.1],
AC_INIT([GStreamer RTSP Server Library], [1.15.2],
[http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer],
[gst-rtsp-server])
AG_GST_INIT
@ -53,13 +53,13 @@ dnl 1.2.5 => 205
dnl 1.10.9 (who knows) => 1009
dnl
dnl sets GST_LT_LDFLAGS
AS_LIBTOOL(GST, 1501, 0, 1501)
AS_LIBTOOL(GST, 1502, 0, 1502)
dnl *** required versions of GStreamer stuff ***
GST_REQ=1.15.1
GSTPB_REQ=1.15.1
GSTPG_REQ=1.15.1
GSTPD_REQ=1.15.1
GST_REQ=1.15.2
GSTPB_REQ=1.15.2
GSTPG_REQ=1.15.2
GSTPD_REQ=1.15.2
dnl *** autotools stuff ****

View file

@ -30,6 +30,16 @@ RTSP server library based on GStreamer
</GitRepository>
</repository>
<release>
<Version>
<revision>1.15.2</revision>
<branch>master</branch>
<name></name>
<created>2019-02-26</created>
<file-release rdf:resource="https://gstreamer.freedesktop.org/src/gst-rtsp-server/gst-rtsp-server-1.15.2.tar.xz" />
</Version>
</release>
<release>
<Version>
<revision>1.15.1</revision>

View file

@ -1,5 +1,5 @@
project('gst-rtsp-server', 'c',
version : '1.15.1',
version : '1.15.2',
meson_version : '>= 0.47',
default_options : ['warning_level=1', 'buildtype=debugoptimized'])