platform/upstream/gst-rtsp-server.git
5 years agoAdd coupling modes to server and TEARDOWN_COUPLING signal 62/205362/4 accepted/tizen_5.5_unified accepted/tizen_5.5_unified_mobile_hotfix accepted/tizen_5.5_unified_wearable_hotfix tizen_5.5 tizen_5.5_mobile_hotfix tizen_5.5_tv tizen_5.5_wearable_hotfix accepted/tizen/5.5/unified/20191031.004932 accepted/tizen/5.5/unified/mobile/hotfix/20201027.061804 accepted/tizen/5.5/unified/wearable/hotfix/20201027.101942 accepted/tizen/unified/20190508.111112 submit/tizen/20190507.101459 submit/tizen_5.5/20191031.000006 submit/tizen_5.5_mobile_hotfix/20201026.185106 submit/tizen_5.5_wearable_hotfix/20201026.184306 tizen_5.5.m2_release
Hyunsoo Park [Thu, 2 May 2019 12:57:13 +0000 (21:57 +0900)]
Add coupling modes to server and TEARDOWN_COUPLING signal

-It is of no use setting coupled sink information when teardown.
-Add coupling mode process

Change-Id: Ie7fe95676530ef8eb207d98544dc035a0e95f7b1
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
5 years agoExpand wfd2_audio_codec to meet wfd r2 standard 80/202380/5 accepted/tizen/unified/20190401.224936 submit/tizen/20190401.014745
SeokHoon LEE [Thu, 28 Mar 2019 00:36:35 +0000 (09:36 +0900)]
Expand wfd2_audio_codec to meet wfd r2 standard

- direct_audio_codec changed to wfd2_audio_codec
  to meet wfd2 r2 standard
- able to negotiate with wfd2_audio_codec.

Change-Id: Ic91bd0a085cb2a1255d7891b71db03437216fee7
Signed-off-by: SeokHoon LEE <andy.shlee@samsung.com>
5 years agoMake R2 features message configurable. 36/201936/6 accepted/tizen/unified/20190325.070841 submit/tizen/20190322.063910
Hyunsoo Park [Thu, 21 Mar 2019 04:57:10 +0000 (13:57 +0900)]
Make R2 features message configurable.

R2 is not fully supported yet.
So these setting is needed to be configurable.
> wfd2-audio-codecs
> wfd2-video-formats

Change-Id: I595c6c9557e2ed82c89dfbda99da253ea139060a
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
5 years agoFix misordered parameter, Height <-> Width 04/198104/3 accepted/tizen/unified/20190128.061547 submit/tizen/20190123.011938
SeokHoon LEE [Mon, 21 Jan 2019 01:58:19 +0000 (10:58 +0900)]
Fix misordered parameter, Height <-> Width

- Change mis ordered parameter.
- Add failure log for getsockopt

Change-Id: I75806d83e44142430dc58a1ae0ee36bd4d45b141
Signed-off-by: SeokHoon LEE <andy.shlee@samsung.com>
5 years agoAdd caps unref to avoid mem leak 21/196121/2 accepted/tizen/unified/20190103.030338 submit/tizen/20190102.011605
SeokHoon LEE [Mon, 24 Dec 2018 01:29:15 +0000 (10:29 +0900)]
Add caps unref to avoid mem leak

Change-Id: I705b12e4576ac6501d17dd46e2abbeb446ea2e6c
Signed-off-by: SeokHoon LEE <andy.shlee@samsung.com>
5 years agoChange attribute name 'wfd2_tcp_port' to 'wfd2_transport_switch'. 87/195287/4
Hyunsoo Park [Wed, 12 Dec 2018 08:30:19 +0000 (17:30 +0900)]
Change attribute name 'wfd2_tcp_port' to 'wfd2_transport_switch'.

Following Wi-Fi Display R2 spec, i changed it.

Change-Id: I6164321c5e288536ce21eea6faeac8b82c062636
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
6 years agoRemove duplicate 'Content-Length' field in rtsp message. 05/178405/4 accepted/tizen/5.0/unified/20181102.024324 accepted/tizen/unified/20180514.094053 submit/tizen/20180511.004510 submit/tizen_5.0/20181101.000006
Hyunsoo Park [Thu, 10 May 2018 02:16:59 +0000 (11:16 +0900)]
Remove duplicate 'Content-Length' field in rtsp message.

When negotiating, 'GET_PARAMETER', 'SET_PARAMETER' steps sends 'Content-Length' field two times.

'Content-Length' is already included on base rtsp(gst-plugins-base).
But we added it one more time when inherited plugin makes messges. So i remove it.

Change-Id: I81061310ac4a5fce99e431d40049885a69b85c86
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
6 years agoChange uri to localhost 27/178527/1
SeokHoon Lee [Thu, 10 May 2018 08:50:15 +0000 (17:50 +0900)]
Change uri to localhost

- change uri data to "rtsp://localhost/wfd1.0
  that subscribed in wfd spec

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

6 years agoDelete duplicated code 13/175213/2 accepted/tizen/unified/20180424.082647 submit/tizen/20180424.022406
SeokHoon Lee [Mon, 9 Apr 2018 08:43:41 +0000 (17:43 +0900)]
Delete duplicated code

- delete gst_rtsp_transport_init, it was inlcuded in transport new
- delete g_free(ct_destiantion), it was included in init.
- add transport_free in error case
- add gst_wfd_message_free fro memory leak
- g_free sess_id in case of return.

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

6 years agoAdd memory free codes about 'pad_caps', 'pad_name' in '_rtsp_media_factory_wfd_demux_... 48/174748/1 accepted/tizen/unified/20180404.141026 submit/tizen/20180404.041332 submit/tizen/20180416.061048
Hyunsoo Park [Wed, 4 Apr 2018 03:51:34 +0000 (12:51 +0900)]
Add memory free codes about 'pad_caps', 'pad_name' in '_rtsp_media_factory_wfd_demux_pad_added_cb'.
When pad_caps is "audio" and 'sinkpad' is linked  'pad_caps' and 'pad_name' charator is not freed.
So i added free codes.

Change-Id: I38014442d998c3a6ef1bd7bfbd4800a1459d7763
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
6 years agoMerge "Fix parameter order" into tizen
SeokHoon Lee [Thu, 15 Mar 2018 04:18:18 +0000 (04:18 +0000)]
Merge "Fix parameter order" into tizen

6 years agoAdd release codes for 'topbin' and 'edid_payload' 86/172486/2
Hyunsoo Park [Wed, 14 Mar 2018 06:54:12 +0000 (15:54 +0900)]
Add release codes for 'topbin' and 'edid_payload'

In some cases, those are going out of scope without releasing.
So i added release codes.

Change-Id: Ia18b7a939f2651984d54b99047a583a92ae604e8
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
6 years agoFix parameter order 04/172504/1
SeokHoon Lee [Wed, 14 Mar 2018 07:42:04 +0000 (16:42 +0900)]
Fix parameter order

- Change parameter order width and height.
- add gst_object_unref of srcbin in case of error.

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

6 years agoAdd 'g_object_unref' for 'address' variable. 66/172466/2
Hyunsoo Park [Wed, 14 Mar 2018 05:48:04 +0000 (14:48 +0900)]
Add 'g_object_unref' for 'address' variable.

For type checking whether 'address' is 'G_TYPE_INET_SOCKET_ADDRESS' type, it is used 'G_IS_INET_SOCKET_aDDRESS' api.
And in case of taking false, 'address' is not null because it is passed null checking.
So i added 'g_object_unref' in else statement.

Change-Id: I49f8a3d6d7c320d0d49ef073088690a4dd026d29
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
6 years agoAdd disable example 27/172427/1
SeokHoon Lee [Wed, 14 Mar 2018 02:40:38 +0000 (11:40 +0900)]
Add disable example

- Exclude example build.

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

6 years agoMerge branch 'tizen_gst_upgrade' in to tizen 48/166048/1 accepted/tizen/unified/20180110.141846 submit/tizen/20180105.085839
SeokHoon Lee [Fri, 5 Jan 2018 08:51:39 +0000 (17:51 +0900)]
Merge branch 'tizen_gst_upgrade' in to tizen

- Gstreamer 1.1.2 upgrade

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

6 years agoAdd free code in failed case 50/163050/2
SeokHoon Lee [Thu, 7 Dec 2017 04:58:02 +0000 (13:58 +0900)]
Add free code in failed case

- In case of fail in create component,
  add free code for memory.

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

6 years agoAdd g_free about GstElements which is not freed. 01/162901/4
Hyunsoo Park [Wed, 6 Dec 2017 05:59:08 +0000 (14:59 +0900)]
Add g_free about GstElements which is not freed.

On doing '_rtsp_media_factory_wfd_create_videotest_bin' and '_rtsp_media_factory_wfd_create_xcapture_bin' api,
it can go to 'create_error' label, when something goes wrong.
But on 'create_error' label, i found that variables which is allocated memory by 'gst_element_factory_make' are doesn't freed.

So i added 'g_free' about that

Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Change-Id: Iba25ba4b8056fe95dfa3ae47f40615a3a41cca18

6 years agoChange define FREE_STRING 74/162874/2
SeokHoon Lee [Wed, 6 Dec 2017 01:49:04 +0000 (10:49 +0900)]
Change define FREE_STRING

- FREE_STRING change to do  { }while(0)
- delete unused define

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

6 years agoMerge branch 'tizen' into tizen_gst_upgrade 23/158623/1 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. 90/150290/1 accepted/tizen/unified/20170920.174934 submit/tizen/20170920.052435
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. 12/148612/2 accepted/tizen_4.0_unified tizen_4.0 tizen_4.0_tv accepted/tizen/4.0/unified/20170913.152909 submit/tizen_4.0/20170911.080400 tizen_4.0.IoT.p1_release tizen_4.0.IoT.p2_release tizen_4.0.m2_release
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 16/143016/1
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

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

6 years agodirect streaming initial version 14/137214/3 accepted/tizen/4.0/unified/20170816.012237 accepted/tizen/4.0/unified/20170816.015200 accepted/tizen/4.0/unified/20170828.222248 accepted/tizen/unified/20170717.170246 submit/tizen/20170712.011946 submit/tizen/20170714.020023 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0/20170828.100005 submit/tizen_4.0_unified/20170814.115522
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

6 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 30/128130/2 accepted/tizen/unified/20170510.012902 submit/tizen/20170508.051609 tizen_4.0.m1_release
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. 96/127196/2 accepted/tizen/unified/20170428.032527 submit/tizen/20170427.005848
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. 40/126040/2 accepted/tizen/unified/20170424.153831 submit/tizen/20170424.020206
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 04/123504/1 accepted/tizen/unified/20170411.164413 submit/tizen/20170411.063046
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 15/121815/1
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 11/120311/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen/common/20170328.140954 accepted/tizen/ivi/20170329.033022 accepted/tizen/mobile/20170329.032933 accepted/tizen/tv/20170329.032946 accepted/tizen/unified/20170329.033036 submit/tizen/20170328.044727
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 00/119500/2
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 36/115836/7 accepted/tizen/common/20170303.090935 accepted/tizen/ivi/20170303.070311 accepted/tizen/mobile/20170303.070228 accepted/tizen/tv/20170303.070243 accepted/tizen/unified/20170309.035830 submit/tizen/20170303.040910 submit/tizen_unified/20170308.100413
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 35/113335/7 accepted/tizen/common/20170214.173902 accepted/tizen/ivi/20170214.230154 accepted/tizen/mobile/20170214.230043 accepted/tizen/tv/20170214.230105 submit/tizen/20170214.113450
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 79/104379/3 accepted/tizen/common/20161214.160446 accepted/tizen/ivi/20161214.015308 accepted/tizen/mobile/20161214.014800 accepted/tizen/tv/20161214.015048 submit/tizen/20161213.083228
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 95/102595/1
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' 71/101071/2
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 72/100972/1 accepted/tizen/common/20161207.184541 accepted/tizen/ivi/20161208.012240 accepted/tizen/mobile/20161208.011847 accepted/tizen/tv/20161208.012043 submit/tizen/20161207.075356
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 80/99480/3 accepted/tizen/common/20161129.173620 accepted/tizen/ivi/20161130.015432 accepted/tizen/mobile/20161130.015212 accepted/tizen/tv/20161130.015258 submit/tizen/20161129.052917
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 09/98909/3 accepted/tizen/common/20161122.192911 accepted/tizen/ivi/20161122.235932 accepted/tizen/mobile/20161122.235724 accepted/tizen/tv/20161122.235808 submit/tizen/20161122.044017
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 accepted/tizen/common/20161115.200752 accepted/tizen/ivi/20161115.234323 accepted/tizen/mobile/20161115.234128 accepted/tizen/tv/20161115.234206 submit/tizen/20161115.062308
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 50/97050/1
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 10/94310/10
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.