platform/upstream/gstreamer.git
6 years agoMerge branch 'tizen' into tizen_gst_upgrade
SeokHoon Lee [Thu, 2 Nov 2017 05:54:47 +0000 (14:54 +0900)]
Merge branch 'tizen' into tizen_gst_upgrade

Change-Id: I05ac57d2da1a4e0cc66532b289e2704aff4a9c4b

6 years agoMake 'user_agent' value optional on M2 rtsp message exchanging.
Hyunsoo [Fri, 15 Sep 2017 04:23:28 +0000 (13:23 +0900)]
Make 'user_agent' value optional on M2 rtsp message exchanging.

Despite 'user_agent' is optional value according to RFC, 'user_agent' value was set mandatory before.
So i followed protocol policy.

Change-Id: I6c1f508ddd4f357b143dd1b265b2f797b1ee773f
Signed-off-by: Hyunsoo <hance.park@samsung.com>
6 years agoModify while loop run always one time.
Hyunsoo [Fri, 8 Sep 2017 07:15:33 +0000 (16:15 +0900)]
Modify while loop run always one time.

In 'gst_wfd_message_get_contentprotection_type' api, while loop which is always run one time logically.
So i modified it.

For testing,

1. Make 'priv->protection_enabled' variable 'TRUE' which is in 'gst_rtsp_wfd_client_init' api.
2. Unlock if statement for 'msg->content_protection' (if 0 -> 1).
3. Find log in it on Miracast server log.

Change-Id: I62588bf47ec4893b6ced0801c297e1f34fdc028c
Signed-off-by: Hyunsoo <hance.park@samsung.com>
6 years agoAdd initial value
SeokHoon Lee [Tue, 8 Aug 2017 07:26:50 +0000 (16:26 +0900)]
Add initial value

- add inital value for tcProfile and tcLevel.

Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: Id1453f0874d0b7fc034c6192089699feba42a5ce

7 years agoRelease 1.12.2
Sebastian Dröge [Fri, 14 Jul 2017 11:04:48 +0000 (14:04 +0300)]
Release 1.12.2

7 years agodirect streaming initial version
SeokHoon Lee [Wed, 5 Jul 2017 02:06:47 +0000 (11:06 +0900)]
direct streaming initial version

Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: I9480235432c1099b6a23337597fd249b92ebda96

7 years agoRelease 1.12.1
Sebastian Dröge [Tue, 20 Jun 2017 09:08:05 +0000 (12:08 +0300)]
Release 1.12.1

7 years agofix memory leak issue
SeokHoon Lee [Mon, 8 May 2017 00:59:33 +0000 (09:59 +0900)]
fix memory leak issue

- add g_free after using url_str in function gst_rtsp_wfd_client_trigger_request
- remove additioanl g_strdup for SET_PARAMETER and GET_PARAMETER
   in function M3, M4, M16_message

Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: Iac82ce7d8b987e82842eb55275a27ce8a550e04f

7 years agoRelease 1.12.0
Sebastian Dröge [Thu, 4 May 2017 12:40:46 +0000 (15:40 +0300)]
Release 1.12.0

7 years agoRelease 1.11.91
Sebastian Dröge [Thu, 27 Apr 2017 14:42:02 +0000 (17:42 +0300)]
Release 1.11.91

7 years agoChange rtsp media object from gst_rtsp_media_ext to gst_rtsp_media.
Hyunsoo, Park [Wed, 26 Apr 2017 10:53:03 +0000 (19:53 +0900)]
Change rtsp media object from gst_rtsp_media_ext to gst_rtsp_media.

After applying this patch, rtsp_media_factory_wfd makes GstRTSPMedia using gst_rtsp_media_new() api not gst_rtsp_media_ext_new() api.
The reason why changing constructor is removing rtpresender. And gst_rtsp_media_ext use rtpresender.
So because of patent issue, we will change constructor and remove rtpresender.

[Version] 1.6.1-15
[Profile] Common
[Issue Type] removing module
[Dependency module] gst-plugins-tizen (https://review.tizen.org/gerrit/127198)
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-mobile_20170328.4]

Change-Id: I55568bbdaf18ed6f2d9709bcd2283372c54c05ed
Signed-off-by: Hyunsoo, Park <hance.park@samsung.com>
7 years agoAutomatic update of common submodule
Tim-Philipp Müller [Mon, 24 Apr 2017 19:30:37 +0000 (20:30 +0100)]
Automatic update of common submodule

From 60aeef6 to 48a5d85

7 years agoFix memory leak after using 'url_str' variable.
Hyunsoo, Park [Thu, 20 Apr 2017 02:20:05 +0000 (11:20 +0900)]
Fix memory leak after using 'url_str' variable.

After using this variable, it seems not to be released.
So i added free code.

[Version] 1.6.1-14
[Profile] Common
[Issue Type] Fix
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-mobile_201670328.1]

Change-Id: I3204355675e04ee14dd8487b071530666ee46524
Signed-off-by: Hyunsoo, Park <hance.park@samsung.com>
7 years agogi: Fix some annotations and docstrings
Thibault Saunier [Thu, 13 Apr 2017 17:20:10 +0000 (14:20 -0300)]
gi: Fix some annotations and docstrings

7 years agomeson: Build gir
Thibault Saunier [Thu, 13 Apr 2017 16:52:26 +0000 (13:52 -0300)]
meson: Build gir

7 years agoAutomatic update of common submodule
Tim-Philipp Müller [Mon, 10 Apr 2017 22:51:12 +0000 (23:51 +0100)]
Automatic update of common submodule

From 39ac2f5 to 60aeef6

7 years agoRelease 1.11.90
Sebastian Dröge [Fri, 7 Apr 2017 13:35:03 +0000 (16:35 +0300)]
Release 1.11.90

7 years agoAdd video codec negotiation
SeokHoon Lee [Thu, 6 Apr 2017 02:20:25 +0000 (11:20 +0900)]
Add video codec negotiation

- Add video codec negotiation for audio only session

Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: I31f106ff96c20234374bb1763c76f518a7abc4e0

7 years agoFix memory leak
SeokHoon Lee [Wed, 29 Mar 2017 05:57:16 +0000 (14:57 +0900)]
Fix memory leak

- url free after use
- server_addr free after use

Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: I41bf5ca91ba19f43ea17de4d2cfa53a75afc4417

7 years agoexamples: make test-launch pipeline shared by default as well
Tim-Philipp Müller [Mon, 27 Mar 2017 17:19:33 +0000 (18:19 +0100)]
examples: make test-launch pipeline shared by default as well

7 years agoModify license macro
Hyunsoo, Park [Wed, 22 Mar 2017 08:47:26 +0000 (17:47 +0900)]
Modify license macro

[Version] 1.6.1-10
[Profile] Common
[Issue Type] Update
[Dependency module] N/A

Change-Id: I7869857b4d4b3bac4cda4776a9e740215209f968
Signed-off-by: Hyunsoo, Park <hance.park@samsung.com>
7 years agoAdd video codec parameter for source
SeokHoon Lee [Fri, 17 Mar 2017 06:45:28 +0000 (15:45 +0900)]
Add video codec parameter for source

- For video codec negotiation between source and sink,
  add video codec parameter in client

Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: I89b22ee50fc8806bbaf932e0b50eff110b030eca

7 years agoChange wfd message for video only mirroring
Hyunsoo, Park [Tue, 21 Feb 2017 11:22:01 +0000 (20:22 +0900)]
Change wfd message for video only mirroring

Using this patch, 'wfd-audio-formats' parameter have none parameter for video only sink.
Basically, screen mirroring provides video & audio simultaneously.
This patch will make screen mirroring to provide Video only.

-When Video only mirroring mode goes, it makes 'wfd_audio_codecs' messages to 'none'.

If 'sink session mode' in 'mmfw_wfd_sink.ini' is set '2',
screen mirroring runs without audio(that is, video only mirroring)

Change-Id: Ia88fb8a23c2f28cda222075835aa16c4a6bb3987
Signed-off-by: Hyunsoo, Park <hance.park@samsung.com>
7 years agogstreamer-rtsp-server: Add both srcdir and builddir to the include path
Sebastian Dröge [Mon, 27 Feb 2017 17:10:44 +0000 (19:10 +0200)]
gstreamer-rtsp-server: Add both srcdir and builddir to the include path

Just the build dir is not going to work for srcdir!=builddir.

7 years agomeson: Update version
Sebastian Dröge [Fri, 24 Feb 2017 13:59:54 +0000 (15:59 +0200)]
meson: Update version

7 years agoBack to development
Sebastian Dröge [Fri, 24 Feb 2017 13:37:49 +0000 (15:37 +0200)]
Back to development

7 years agoRelease 1.11.2
Sebastian Dröge [Fri, 24 Feb 2017 13:10:07 +0000 (15:10 +0200)]
Release 1.11.2

7 years agofix memory leak and delete unused buffer
SeokHoon Lee [Tue, 14 Feb 2017 04:42:51 +0000 (13:42 +0900)]
fix memory leak and delete unused buffer

- fix nativeidex underflow.
- delete unused block about buf
- free msg after use.
- remove ta memoryleak in error case

Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: Ib55adb29dc49e2e21852bd509c828040879253b6

7 years agomeson: dist meson build files
Tim-Philipp Müller [Tue, 14 Feb 2017 20:40:26 +0000 (20:40 +0000)]
meson: dist meson build files

Ship meson build files in tarballs, so people who use tarballs
in their builds can start playing with meson already.

7 years agoChange wfd message
SeokHoon Lee [Tue, 7 Feb 2017 07:13:04 +0000 (16:13 +0900)]
Change wfd message

wfd-video-formats have none parameter for audio only sink

Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: Ie2703c2015aa110b8d45e937e327d953b58d2193

7 years agoexamples/test-record: Add extra line to initial printout
Jan Schmidt [Tue, 7 Feb 2017 12:39:37 +0000 (23:39 +1100)]
examples/test-record: Add extra line to initial printout

Add an example line of how to deliver a stream to the
RTSP RECORD example

7 years agortsp-client: Also handle the (S|G)ET_PARAMETER case of size==0 || !data as keep-alive
Sebastian Dröge [Thu, 19 Jan 2017 12:57:19 +0000 (14:57 +0200)]
rtsp-client: Also handle the (S|G)ET_PARAMETER case of size==0 || !data as keep-alive

If there is no Content-Length header, no body would be allocated and the
'\0' would also not be appended to the body.

7 years agortsp-client: Fix handling of keep-alive GET_PARAMETER/SET_PARAMETER
Sebastian Dröge [Thu, 19 Jan 2017 12:24:07 +0000 (14:24 +0200)]
rtsp-client: Fix handling of keep-alive GET_PARAMETER/SET_PARAMETER

While they logically have 0 bytes length, GstRTSPConnection is appending
a '\0' to everything making the size be 1 instead.

7 years agomeson: bump version
Tim-Philipp Müller [Fri, 13 Jan 2017 12:39:36 +0000 (12:39 +0000)]
meson: bump version

7 years agortsp-session: Only remove deprecated API if requested to do so, not just when disabling
Sebastian Dröge [Thu, 12 Jan 2017 17:04:23 +0000 (19:04 +0200)]
rtsp-session: Only remove deprecated API if requested to do so, not just when disabling

gst_rtsp_session_is_expired() and gst_rtsp_session_next_timeout() were
affected.

7 years agoBack to development
Sebastian Dröge [Thu, 12 Jan 2017 14:32:59 +0000 (16:32 +0200)]
Back to development

7 years agoRelease 1.11.1
Sebastian Dröge [Thu, 12 Jan 2017 14:14:46 +0000 (16:14 +0200)]
Release 1.11.1

7 years agortsp-stream: corrected if-statement in _get_server_port()
Patricia Muscalu [Tue, 10 Jan 2017 07:34:50 +0000 (08:34 +0100)]
rtsp-stream: corrected if-statement in _get_server_port()

This bug was accidentally introduced while fixing a segfault
in _get_server_port() function.

https://bugzilla.gnome.org/show_bug.cgi?id=776345

7 years agortsp-stream: fixed segmenation fault in _get_server_port()
Patricia Muscalu [Mon, 9 Jan 2017 13:12:05 +0000 (14:12 +0100)]
rtsp-stream: fixed segmenation fault in _get_server_port()

Calling function gst_rtsp_stream_get_server_port() results in
segmenation fault in the RTP/RTSP/TCP case.
Port that the server will use to receive RTCP makes only
sense in the UDP case, however the function should handle
the TCP case in a nicer way.

https://bugzilla.gnome.org/show_bug.cgi?id=776345

7 years agodosc: Fix a little typo
Aleksandr Slobodeniuk [Mon, 9 Jan 2017 09:22:40 +0000 (12:22 +0300)]
dosc: Fix a little typo

https://bugzilla.gnome.org/show_bug.cgi?id=777037

7 years agomeson: generate pkg-config -uninstalled pc files
Guillaume Desmottes [Wed, 4 Jan 2017 15:20:54 +0000 (16:20 +0100)]
meson: generate pkg-config -uninstalled pc files

Generating those files is useful for users building the GStreamer stack
using meson and having to link it to another project which is still
using the autotools.

https://bugzilla.gnome.org/show_bug.cgi?id=776810

7 years agopkgconfig: fix -uninstalled pc file
Guillaume Desmottes [Wed, 4 Jan 2017 15:11:08 +0000 (16:11 +0100)]
pkgconfig: fix -uninstalled pc file

pcfiledir was never defined so the paths were wrong.

https://bugzilla.gnome.org/show_bug.cgi?id=776867

7 years agortsp-stream: Fixed TCP transport case
Patricia Muscalu [Wed, 21 Dec 2016 12:41:50 +0000 (13:41 +0100)]
rtsp-stream: Fixed TCP transport case

Make sure that the appsink element is actually added to
the bin before trying to link it with the elements in it.

https://bugzilla.gnome.org/show_bug.cgi?id=776343

7 years agoRemove generated .spec file
Tim-Philipp Müller [Fri, 16 Dec 2016 17:26:04 +0000 (17:26 +0000)]
Remove generated .spec file

Likely extremely bitrotten, and we should not ship this anyway.

7 years agoAdd gst_object_unref about pad
SeokHoon Lee [Tue, 13 Dec 2016 08:04:08 +0000 (17:04 +0900)]
Add gst_object_unref about pad

[Version] 1.6.1-7
[Profile] Common
[Issue Type] refactoring code
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-mobile_20161130-2]

Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: Icffe192c59b40aa683673961beea0df2e517b0a1

7 years agoMerge "Modify spell 'prefered' to 'preferred'" into tizen
SeokHoon LEE [Mon, 12 Dec 2016 00:55:44 +0000 (16:55 -0800)]
Merge "Modify spell 'prefered' to 'preferred'" into tizen

7 years agoChange strerror to strerror_r because of thread safety
SeokHoon Lee [Tue, 6 Dec 2016 07:12:06 +0000 (16:12 +0900)]
Change strerror to strerror_r because of thread safety

Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: I81b5f14ba6dd5b984ea7d607cd82f6b43391ffe8

7 years agoAutomatic update of common submodule
Edward Hervey [Sat, 3 Dec 2016 07:21:02 +0000 (08:21 +0100)]
Automatic update of common submodule

From f980fd9 to 39ac2f5

7 years agomedia: Fix pt map caps
Edward Hervey [Fri, 2 Dec 2016 14:40:09 +0000 (15:40 +0100)]
media: Fix pt map caps

Since decryption is handled within rtpbin, all outcoming stream
caps will be application/x-rtp (i.e. regular rtp)

Fixes RECORD with SRTP streams

7 years agomedia-factory: Create media objects with the proper transport mode
Edward Hervey [Fri, 2 Dec 2016 14:38:04 +0000 (15:38 +0100)]
media-factory: Create media objects with the proper transport mode

The function called immediately afterwards (collect_streams()) will
need it to work properly

7 years agortsp-auth: Don't remove digest-auth nonces that already/still have a client connected
Sebastian Dröge [Fri, 2 Dec 2016 12:36:50 +0000 (14:36 +0200)]
rtsp-auth: Don't remove digest-auth nonces that already/still have a client connected

7 years agortsp-media-factory: Don't create a pipeline for the media pipeline string
Sebastian Dröge [Thu, 1 Dec 2016 16:04:34 +0000 (18:04 +0200)]
rtsp-media-factory: Don't create a pipeline for the media pipeline string

We're going to put a pipeline into a pipeline otherwise, which is not
exactly ideal.

7 years agomedia: Fix race condition around finish_unprepare() if called multiple time
Kseniia Vasilchuk [Tue, 25 Oct 2016 12:41:28 +0000 (15:41 +0300)]
media: Fix race condition around finish_unprepare() if called multiple time

https://bugzilla.gnome.org/show_bug.cgi?id=755329

7 years agortspclientsink: Don't leave stale pointer after unref
Jan Schmidt [Wed, 30 Nov 2016 03:06:36 +0000 (14:06 +1100)]
rtspclientsink: Don't leave stale pointer after unref

Fix a warning on shutdown - don't keep a pointer to an
alread-unreffed object.

7 years agoModify spell 'prefered' to 'preferred'
Hyunsoo, Park [Wed, 30 Nov 2016 08:01:53 +0000 (17:01 +0900)]
Modify spell 'prefered' to 'preferred'

[Version] 1.6.1-6
[Profile] Common
[Issue Type] Modify mispelling api name
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-mobile_20161111.1]

Change-Id: Idd3494c5e93eb38cf9c614976f100f282374ed4c
Signed-off-by: Hyunsoo, Park <hance.park@samsung.com>
7 years agofix return value
SeokHoon Lee [Wed, 30 Nov 2016 04:29:01 +0000 (13:29 +0900)]
fix return value
delete unused variable

Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: I16b786adf29a582bd60ace505c033b309736950e

7 years agocommon: use https protocol for common submodule
Tim-Philipp Müller [Sat, 26 Nov 2016 11:24:50 +0000 (11:24 +0000)]
common: use https protocol for common submodule

https://bugzilla.gnome.org/show_bug.cgi?id=775110

7 years agoAdd 'TCP/UDP Switching' feature
Hyunsoo, Park [Wed, 23 Nov 2016 04:48:18 +0000 (13:48 +0900)]
Add 'TCP/UDP Switching' feature

Using this feature, User can choose transport layer protocol between TCP and UDP.

[Version] 1.6.1-4
[Profile] Common
[Issue Type] Add feature
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-mobile_20161111.1]

Change-Id: Ief6aec65e3058c32760fc5490631c3bff635c254
Signed-off-by: Hyunsoo, Park <hance.park@samsung.com>
7 years agostream: block the output of rtpbin instead of the source pipeline
Matthew Waters [Mon, 21 Nov 2016 12:29:56 +0000 (23:29 +1100)]
stream: block the output of rtpbin instead of the source pipeline

85c52e194bcb81928b96614be0ae47d59eccb1ce introduced a more correct
detection of the srtp rollover counter to add to the SDP.

Unfortunately, it was incomplete for live pipelines where the logic
blocks the source bin before creating the SDP and thus would never have
the necessary informaiton to create a correct SDP with srtp encryption.

Move the pad blocks to rtpbin's output pads instead so that the
necessary information can be created before we need the information for
the SDP.

https://bugzilla.gnome.org/show_bug.cgi?id=770239

7 years agortsp-client: add IDLE timeout, before session exists
Dag Gullberg [Mon, 21 Nov 2016 15:02:39 +0000 (16:02 +0100)]
rtsp-client: add IDLE timeout, before session exists

The RTSP server will not timeout an idle RTSP connection
(note this is different from doing timeout on a RTSP
session).

At least for Apache this is a problem when running RTSP over
HTTPS since it uses one of the threads (there is a rather
limited number) that are available for handling requests.

https://bugzilla.gnome.org/show_bug.cgi?id=771830

7 years ago.gitignore more
Tim-Philipp Müller [Wed, 23 Nov 2016 09:45:08 +0000 (09:45 +0000)]
.gitignore more

7 years agortsp-stream: Set close-socket FALSE on UDP src:es
Göran Jönsson [Mon, 21 Nov 2016 12:05:50 +0000 (13:05 +0100)]
rtsp-stream: Set close-socket FALSE on UDP src:es

With this RTSP server can use the sockets independent on the udpsrc
state.
When the udp src is finalized it will unref socket and when g_socket
is finalized the socket will be closed.

https://bugzilla.gnome.org/show_bug.cgi?id=765673

7 years agoFix return type
SeokHoon Lee [Mon, 21 Nov 2016 07:07:13 +0000 (16:07 +0900)]
Fix return type
Delete unreached code

[Version] 1.6.1 - 2
[Profile] Common
[Issue Type] Bug fix
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-mobile_20161111.1]

Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: Iea325ad74b7b31216c502068b18df2f5163b4b1c

7 years agortspclientsink: Move to new helper function to parse authentication responses
Sebastian Dröge [Fri, 18 Nov 2016 15:47:13 +0000 (17:47 +0200)]
rtspclientsink: Move to new helper function to parse authentication responses

https://bugzilla.gnome.org/show_bug.cgi?id=774416

7 years agortsp-auth: Add support for Digest authentication
Sebastian Dröge [Wed, 16 Nov 2016 06:42:24 +0000 (08:42 +0200)]
rtsp-auth: Add support for Digest authentication

https://bugzilla.gnome.org/show_bug.cgi?id=774416

7 years agoEnable building with MSVC
Scott D Phillips [Thu, 17 Nov 2016 17:41:53 +0000 (09:41 -0800)]
Enable building with MSVC

https://bugzilla.gnome.org/show_bug.cgi?id=774640

7 years agomeson: gstreamer gst_check_dep does not exist on windows
Thibault Saunier [Fri, 18 Nov 2016 23:23:14 +0000 (20:23 -0300)]
meson: gstreamer gst_check_dep does not exist on windows

7 years agoclient: update do_send_message to match type GstRTSPClientSendFunc
Scott D Phillips [Thu, 17 Nov 2016 17:43:37 +0000 (09:43 -0800)]
client: update do_send_message to match type GstRTSPClientSendFunc

This type mismatch fails building with MSVC

https://bugzilla.gnome.org/show_bug.cgi?id=774640

7 years agoMerge "Add AL-FEC feature" into tizen
SeokHoon LEE [Mon, 14 Nov 2016 01:18:57 +0000 (17:18 -0800)]
Merge "Add AL-FEC feature" into tizen

7 years agortsp-sdp: Fix indentation
Sebastian Dröge [Fri, 11 Nov 2016 12:42:08 +0000 (14:42 +0200)]
rtsp-sdp: Fix indentation

7 years agoEmit signal SIGNAL_NEW_STATE only when state change happens
Hyunsoo, Park [Fri, 11 Nov 2016 04:54:10 +0000 (13:54 +0900)]
Emit signal SIGNAL_NEW_STATE only when state change happens

[Version] 1.6.1
[Profile] Common
[Issue Type] Modify signal condition
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-mobile_20161101.3]

Change-Id: I6eb2a742f3ed6eb95da25e92b79aa7e0debf8a1e
Signed-off-by: Hyunsoo, Park <hance.park@samsung.com>
7 years agortsp-media: Only signal "new-state" if the state has actually changed
Neha Arora [Thu, 10 Nov 2016 05:16:00 +0000 (05:16 +0000)]
rtsp-media: Only signal "new-state" if the state has actually changed

https://bugzilla.gnome.org/show_bug.cgi?id=774173

7 years agoAdd AL-FEC feature
Hyunsoo, Park [Fri, 28 Oct 2016 06:53:11 +0000 (15:53 +0900)]
Add AL-FEC feature

[Version] 1.6.1
[Profile] Common
[Issue Type] Add feature
[Dependency module] N/A
[Depends-on] https://review.tizen.org/gerrit/#/c/94313/(Change-Id: Iec3ba16bd8b61b96415e39126e25c4286cd02dc4)
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-mobile_20161025.2]

Change-Id: I534d3acf3aa5f0114c2282b3ea80a7b0f51216cc
Signed-off-by: Hyunsoo, Park <hance.park@samsung.com>
7 years agoclient: emit signal in the beginning of each rtsp request
Branko Subasic [Wed, 24 Aug 2016 09:39:13 +0000 (11:39 +0200)]
client: emit signal in the beginning of each rtsp request

These signals let the application validate the requests, configure the
media/stream in a certain way and also generate error status code in
case of error or bad request.

https://bugzilla.gnome.org/show_bug.cgi?id=758062

7 years agomeson: update version
Tim-Philipp Müller [Tue, 1 Nov 2016 18:10:35 +0000 (18:10 +0000)]
meson: update version

7 years agoBack to development
Sebastian Dröge [Tue, 1 Nov 2016 16:53:15 +0000 (18:53 +0200)]
Back to development

7 years agoRelease 1.10.0
Sebastian Dröge [Tue, 1 Nov 2016 16:06:46 +0000 (18:06 +0200)]
Release 1.10.0

7 years agotests: try to avoid using the same ports in different tests
Tim-Philipp Müller [Fri, 28 Oct 2016 17:38:01 +0000 (18:38 +0100)]
tests: try to avoid using the same ports in different tests

Causes problems with client multicast tests otherwise if
tests are run in parallel.

https://bugzilla.gnome.org/show_bug.cgi?id=773640

7 years agotests: client: use fail_unless_equals_foo() for better failure reporting
Tim-Philipp Müller [Fri, 28 Oct 2016 16:50:59 +0000 (17:50 +0100)]
tests: client: use fail_unless_equals_foo() for better failure reporting

7 years agortsp-client: Session filter in unwatch session
Göran Jönsson [Mon, 26 Sep 2016 09:16:04 +0000 (11:16 +0200)]
rtsp-client: Session filter in unwatch session

Call session filter with filter_session_media as paramer in
client_unwatch_session if using drop_backlog = FALSE.

In client_unwatch_session its allowed to grow the watchs backlog.
If using drop_backlog = FALSE and the backlog is full it will cause
a deadlock when setting session media state to NULL
if the backlog is not allowed to grow.

https://bugzilla.gnome.org/show_bug.cgi?id=771983

7 years agomeson: add fallbacks for gst modules
Tim-Philipp Müller [Thu, 20 Oct 2016 20:40:18 +0000 (21:40 +0100)]
meson: add fallbacks for gst modules

For gst-all.

7 years agortsp-client: Fix factory leaking in find_media() in error cases
Nikita Bobkov [Wed, 14 Sep 2016 14:48:39 +0000 (17:48 +0300)]
rtsp-client: Fix factory leaking in find_media() in error cases

https://bugzilla.gnome.org/show_bug.cgi?id=771488

7 years agostream: Fix randomly missing streams from SDP with dynamic elements
Xavier Claessens [Thu, 6 Oct 2016 15:47:50 +0000 (11:47 -0400)]
stream: Fix randomly missing streams from SDP with dynamic elements

When using dynamic elements, gst_rtsp_stream_join_bin() is called from
"pad-added" signal. In that case priv->srcpad could already have its caps,
and they'll be sent to priv->send_src[0] pad. That means that when it
connects "notify::caps" signal, that pad could already have received its
caps and the signal won't be emitted anymore.

In that case priv->caps stay to NULL and when building the SDP that stream
gets ignored. Leading to missing video or audio when playing in client side.

https://bugzilla.gnome.org/show_bug.cgi?id=772478

7 years agomeson: update version
Tim-Philipp Müller [Fri, 30 Sep 2016 10:42:08 +0000 (11:42 +0100)]
meson: update version

7 years agoRelease 1.9.90
Sebastian Dröge [Fri, 30 Sep 2016 10:04:12 +0000 (13:04 +0300)]
Release 1.9.90

7 years agortsp-server: Hint that set_multicast_iface expects the name of the interface
Ian Jamison [Sat, 17 Sep 2016 12:17:19 +0000 (13:17 +0100)]
rtsp-server: Hint that set_multicast_iface expects the name of the interface

To prevent any possibly confusion with IPs or anything else.

https://bugzilla.gnome.org/show_bug.cgi?id=771530

7 years agortsp-media: Call g_free() instead of g_object_unref() on multicast-iface strings
Sebastian Dröge [Sun, 18 Sep 2016 13:58:55 +0000 (09:58 -0400)]
rtsp-media: Call g_free() instead of g_object_unref() on multicast-iface strings

https://bugzilla.gnome.org/show_bug.cgi?id=763000#c5

7 years agoconfigure: Depend on gstreamer 1.9.2.1
Sebastian Dröge [Wed, 14 Sep 2016 09:31:15 +0000 (11:31 +0200)]
configure: Depend on gstreamer 1.9.2.1

7 years agoAutomatic update of common submodule
Jan Schmidt [Sat, 10 Sep 2016 10:52:31 +0000 (20:52 +1000)]
Automatic update of common submodule

From b18d820 to f980fd9

7 years agoAutomatic update of common submodule
Jan Schmidt [Fri, 9 Sep 2016 23:58:31 +0000 (09:58 +1000)]
Automatic update of common submodule

From 6f2d209 to b18d820

7 years agortsp-stream: Remove unused _locked() variant of a function
Sebastian Dröge [Wed, 7 Sep 2016 15:44:34 +0000 (18:44 +0300)]
rtsp-stream: Remove unused _locked() variant of a function

It was added during refactoring.

7 years agostream: cosmetic cleanup
Xavier Claessens [Wed, 7 Sep 2016 14:21:09 +0000 (10:21 -0400)]
stream: cosmetic cleanup

https://bugzilla.gnome.org/show_bug.cgi?id=766612

7 years agostream: Compare IP addresses case insensitive in more places
Xavier Claessens [Wed, 7 Sep 2016 14:16:19 +0000 (10:16 -0400)]
stream: Compare IP addresses case insensitive in more places

https://bugzilla.gnome.org/show_bug.cgi?id=766612

7 years agostream: Fix leaked joined_bin
Xavier Claessens [Wed, 7 Sep 2016 14:12:18 +0000 (10:12 -0400)]
stream: Fix leaked joined_bin

There is no need to keep a strong ref on it, and _leave_bin() was
setting it to NULL before calling g_clear_object() so it was leaked.

https://bugzilla.gnome.org/show_bug.cgi?id=766612

7 years agortsp-stream: Compare IP address strings case insensitive
Sebastian Dröge [Tue, 6 Sep 2016 16:15:23 +0000 (19:15 +0300)]
rtsp-stream: Compare IP address strings case insensitive

Otherwise IPv6 addresses might fail this comparision.

7 years agortsp-stream: Bind multicast sockets to ANY as before
Sebastian Dröge [Tue, 6 Sep 2016 16:10:21 +0000 (19:10 +0300)]
rtsp-stream: Bind multicast sockets to ANY as before

https://bugzilla.gnome.org/show_bug.cgi?id=766612#c48

7 years agortsp-session: Fix segfault when doing keep-alive after removing the session
Kseniia [Mon, 5 Sep 2016 15:31:36 +0000 (18:31 +0300)]
rtsp-session: Fix segfault when doing keep-alive after removing the session

If keep-alive happens after removing the session but before finalizing the
stream transport, we would segfault.

https://bugzilla.gnome.org/show_bug.cgi?id=750544

7 years agortsp-stream: Always create multicast UDP elements if the protocol flag is set
Sebastian Dröge [Mon, 5 Sep 2016 15:04:50 +0000 (18:04 +0300)]
rtsp-stream: Always create multicast UDP elements if the protocol flag is set

Adding them later will cause deadlocks due to
1) pre-rolling and staying in PAUSED with the unicast/TCP sinks
2) adding the multicast sink
3) waiting for it to get data to preroll again

3) never happens because the queues after the tee are full.

7 years agortsp-stream: Fix up various multicast related issues
Sebastian Dröge [Mon, 5 Sep 2016 13:32:57 +0000 (16:32 +0300)]
rtsp-stream: Fix up various multicast related issues

7 years agotests: Fix compilation
Sebastian Dröge [Mon, 5 Sep 2016 10:40:59 +0000 (13:40 +0300)]
tests: Fix compilation