platform/core/multimedia/espp-service.git
10 months agoAdd API - espp_client_set_display_rotation() 29/315529/2 accepted/tizen_unified_dev accepted/tizen/9.0/unified/20241031.000234 accepted/tizen/unified/20240805.114528 accepted/tizen/unified/dev/20240807.092855 tizen_9.0_m2_release
Sangchul Lee [Fri, 2 Aug 2024 05:53:15 +0000 (14:53 +0900)]
Add API - espp_client_set_display_rotation()

[Version] 0.3.19

Change-Id: Ic06d3b2d82fe110cb2b0b229b1c9a0d0758ca063
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
11 months agocommon/espp_service_ipc: Apply va_copy() to avoid compile error 46/313146/2 accepted/tizen/unified/20240624.104721 accepted/tizen/unified/dev/20240701.072844
Sangchul Lee [Wed, 19 Jun 2024 09:23:33 +0000 (18:23 +0900)]
common/espp_service_ipc: Apply va_copy() to avoid compile error

Compile error on X86_64 with gcc-14 has been fixed.

[Version] 0.3.18

Change-Id: I1fafb0fa74c018e8c455637b1ec559aad7f9993a
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
11 months agoFixed the build error for gcc-14 99/313099/1 accepted/tizen/unified/20240620.050758
wchang kim [Wed, 19 Jun 2024 05:05:31 +0000 (14:05 +0900)]
Fixed the build error for gcc-14

Change-Id: Ibdf4ce7432ada67b518e35234f918f9335595b39

16 months agodaemon: Fix possible double-free 39/305239/1
Sangchul Lee [Thu, 25 Jan 2024 03:43:40 +0000 (12:43 +0900)]
daemon: Fix possible double-free

[Version] 0.3.17

Change-Id: Ie0c167440420f136c2b63dc933ed05dc20ac284b
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
(cherry picked from commit 4d723083370a344bf4c4f72d95e317b95a2f200d)

16 months agodaemon: Use capi-media-image-util for snapshot 31/305231/1
Sangchul Lee [Tue, 23 Jan 2024 08:26:17 +0000 (17:26 +0900)]
daemon: Use capi-media-image-util for snapshot

[Version] 0.3.16

Change-Id: Ibf92fe58824b5580ece3219fbc9a457ef1870ab2
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
(cherry picked from commit 2f4396ef80e6acf226a26610a1ac8abbeb790b36)

16 months agoApply build option for tizen 6.0 only 28/305228/1
Sangchul Lee [Tue, 23 Jan 2024 03:22:52 +0000 (12:22 +0900)]
Apply build option for tizen 6.0 only

For rpm spec file, 'use_tizen_6.0' define has been added.
And it corresponds to 'tizen-60' meson option that represents
'USE_TIZEN_60' definition in the codes.

If 'ST_AVP_TIZEN_70' definition given by SES build script
is set while it is compiling, 'USE_TIZEN_60' will be unset.

[Version] 0.3.15

Change-Id: I72d537320b0f486fe0f0d6dfa466488554334389
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
(cherry picked from commit f84dc3a0dc1c3973a8e280236332f4b6624062e7)

16 months agoAdd build_def.sh and revise build_def.prop to synchronize with SES/SmartThingsPlugin... 12/305212/1
Sangchul Lee [Tue, 23 Jan 2024 01:44:57 +0000 (10:44 +0900)]
Add build_def.sh and revise build_def.prop to synchronize with SES/SmartThingsPlugin git for tizen 7.0

copy_libs.sh has been removed.

[Version] 0.3.14

Change-Id: I748efe1fb9b4fc6d86475818a26d6b422490ceb8
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
(cherry picked from commit 6795861cc757f22f0d21e6fa14ef3c1ed6eaa989)

18 months agoAdd API - espp_client_set_render_time_offset() 00/301600/2 accepted/tizen/unified/20231122.072845 accepted/tizen/unified/dev/20240620.000150
Eunhye Choi [Mon, 20 Nov 2023 10:48:37 +0000 (19:48 +0900)]
Add API - espp_client_set_render_time_offset()

[Version] 0.3.13

Change-Id: Ib491ef20e5d35e71d2c46c8bd416b2c1f7e38f77

18 months agoAdd API - espp_client_take_snapshot() 92/301392/1 accepted/tizen/unified/20231116.175515
Sangchul Lee [Mon, 6 Nov 2023 05:47:44 +0000 (14:47 +0900)]
Add API - espp_client_take_snapshot()

[Version] 0.3.12

Change-Id: I34cda79e8dda9bd0c36adbf9ccd86b184f7dbf3a
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
(cherry picked from commit 0155d0be4cbeb92ae5ef8c6e576cd6f36ba77e0f)

19 months agodaemon/handler: Remove unnecessary assert() in handler imple. and add missing checks 13/301113/1
Sangchul Lee [Mon, 6 Nov 2023 02:22:30 +0000 (11:22 +0900)]
daemon/handler: Remove unnecessary assert() in handler imple. and add missing checks

espp_service_func_handler() has already checked related parameters
before invoking each handler implementation function.

Change-Id: Id353f1fa8a47aa5aadad4b39ba1d6de9097f850e
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
(cherry picked from commit aad38ea70c4d33d5927b961a8d4874c5dc48b194)

19 months agoUpdate esplusplayer_capi.h for CLI build and add API - espp_client_set_video_frame_bu... 92/301092/1
Eunhye Choi [Wed, 30 Aug 2023 06:54:51 +0000 (15:54 +0900)]
Update esplusplayer_capi.h for CLI build and add API - espp_client_set_video_frame_buffer_type

./inc/esplusplayer_capi/esplusplayer_capi.h header is synchronized with
version 0.0.14 of Tizen 7.0.

Change-Id: Ifb246536a44dfbbca46415f5e31b104bd53d5ade
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
(cherry picked from commit c775b7307c26f159cdd0d11e9fdc0f2dc0fb23f6)

19 months agospec: Allow compiler warnings in case of asan build environment 44/300944/1 accepted/tizen/unified/20231107.172846
Sangchul Lee [Mon, 6 Nov 2023 05:57:05 +0000 (14:57 +0900)]
spec: Allow compiler warnings in case of asan build environment

Change-Id: Ic8bd6adc6a109c948855e185a59bb693848ff192
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
(cherry picked from commit d9f998a409b54a28d3ab6db5ef91f660ddcb2dda)

19 months agoUpdate version and add missing header 35/300935/1
Sangchul Lee [Thu, 2 Nov 2023 08:36:26 +0000 (17:36 +0900)]
Update version and add missing header

Change-Id: I98e67c1f45a533bf3cf04408b8d04bc5d5598734
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
(cherry picked from commit bea63f98563a0dbe6c5bf6bb2104cdfc2910e157)

19 months agoclient/socket: Fix coverity defects 62/300762/1 accepted/tizen/unified/20231102.175752
Sangchul Lee [Wed, 1 Nov 2023 08:18:09 +0000 (17:18 +0900)]
client/socket: Fix coverity defects

Defects of UINIT and RESOURCE_LEAK are fixed.

[Version] 0.3.11

Change-Id: If7eca58dfb83d82a20a58e125c5bee86fa445e40
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
(cherry picked from commit aa78adf74fb2152f29795c9a0fc5a0bb9022defd)

19 months agodaemon: Fix svace defect 57/300757/1
Sangchul Lee [Wed, 1 Nov 2023 05:30:53 +0000 (14:30 +0900)]
daemon: Fix svace defect

It is detected by PASSED_TO_PROC_AFTER_FREE.EX checker.

Change-Id: I23d34ffc615cc887a0e269f3723dab9c10c06b12
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
(cherry picked from commit d04c90748c93d89c0fb5ab01687a2de4308d58c4)

19 months agomeson,spec: Skip applying 'werror' in case of x86_64 arch temporarily 13/300413/1 accepted/tizen/unified/20231025.120143
Sangchul Lee [Tue, 24 Oct 2023 07:35:16 +0000 (16:35 +0900)]
meson,spec: Skip applying 'werror' in case of x86_64 arch temporarily

It'll be removed when codes are fixed properly. Until then, some compiling
warnings will be allowed in case of the x86_64.

Change-Id: I8fae2e4604ca22bcc47a678f2c90cd7a70336c6b
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
19 months agospec: Update release version 55/300255/1
Sangchul Lee [Thu, 19 Oct 2023 08:42:24 +0000 (17:42 +0900)]
spec: Update release version

Change-Id: Iae2150a67b492ecbef64ceb4610e4ab1f877966a
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
20 months agodaemon: Check request enum value before using it as array index
Sangchul Lee [Wed, 20 Sep 2023 09:34:10 +0000 (18:34 +0900)]
daemon: Check request enum value before using it as array index

[Version] 0.3.10

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
20 months agoclient: Check event enum value before using it as array index
Sangchul Lee [Wed, 20 Sep 2023 09:10:46 +0000 (18:10 +0900)]
client: Check event enum value before using it as array index

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
20 months agodaemon/espp_service: Avoid assigning local variable to global
Sangchul Lee [Wed, 20 Sep 2023 08:56:33 +0000 (17:56 +0900)]
daemon/espp_service: Avoid assigning local variable to global

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
21 months agoAdd API - espp_client_set_low_latency_mode()
Sangchul Lee [Thu, 24 Aug 2023 08:09:39 +0000 (17:09 +0900)]
Add API - espp_client_set_low_latency_mode()

[Version] 0.3.9

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
23 months agoAdd API - espp_client_set/get_audio_volume()
Eunhye Choi [Wed, 28 Jun 2023 10:15:42 +0000 (19:15 +0900)]
Add API - espp_client_set/get_audio_volume()

[Version] 0.3.8

23 months agoproject_def: Fix rpath for ses build
Sangchul Lee [Wed, 28 Jun 2023 05:57:40 +0000 (14:57 +0900)]
project_def: Fix rpath for ses build

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
23 months agoclient/update_version: Change version of project_def.prop to spec's
Sangchul Lee [Fri, 23 Jun 2023 02:08:37 +0000 (11:08 +0900)]
client/update_version: Change version of project_def.prop to spec's

[Version] 0.3.7

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
23 months agoupdate_version: Change version of project_def.prop to spec's
Sangchul Lee [Fri, 16 Jun 2023 05:52:57 +0000 (14:52 +0900)]
update_version: Change version of project_def.prop to spec's

[Version] 0.3.6

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
23 months agodaemon: Apply rpath and install dir
Sangchul Lee [Fri, 16 Jun 2023 03:51:42 +0000 (12:51 +0900)]
daemon: Apply rpath and install dir

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agobuild_def: Add update version script to prebuild command
Sangchul Lee [Thu, 8 Jun 2023 06:50:23 +0000 (15:50 +0900)]
build_def: Add update version script to prebuild command

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoclient: Revise doxygen - espp_client_set_display_roi()
Sangchul Lee [Tue, 30 May 2023 06:04:42 +0000 (15:04 +0900)]
client: Revise doxygen - espp_client_set_display_roi()

[Version] 0.3.5

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoapply ses build to client separately
Eunhye Choi [Thu, 25 May 2023 09:13:41 +0000 (18:13 +0900)]
apply ses build to client separately

- it will be built at libmm-avplayer git

2 years agoFix build error '-lesplusplayer'
Sangchul Lee [Thu, 25 May 2023 23:52:32 +0000 (08:52 +0900)]
Fix build error '-lesplusplayer'

It is added to sync with SES git.

This commit is from
: https://github.sec.samsung.net/SES/SmartThingsPlugin/pull/600/commits/cc012c733f0fd21ff8f071537acd700592468ad6

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agodaemon/handler: Initialize structure variable
Sangchul Lee [Thu, 25 May 2023 23:08:22 +0000 (08:08 +0900)]
daemon/handler: Initialize structure variable

It is to resolve Coverity issues.

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agospec,meson: Remove unnecessary rpath
Sangchul Lee [Thu, 25 May 2023 03:47:56 +0000 (12:47 +0900)]
spec,meson: Remove unnecessary rpath

For current circumstances, we don't need explicit rpath for espp-service/client.

meson_options.txt is also revised for default value.

[Version] 0.3.4

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agodaemon/socket: Remove the client from hash table after checking return value of read()
Sangchul Lee [Thu, 25 May 2023 00:56:45 +0000 (09:56 +0900)]
daemon/socket: Remove the client from hash table after checking return value of read()

Normally, read() returns 0 if a client is disconnected from the socket.
This code leads to update the number of clients more precisely.

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoFix default macro values regarding version and socket path
Sangchul Lee [Wed, 24 May 2023 05:28:50 +0000 (14:28 +0900)]
Fix default macro values regarding version and socket path

[Version] 0.3.3

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoUse socket path from app_get_data_path() in case of USE_SERVICE_APP
Sangchul Lee [Tue, 23 May 2023 06:15:45 +0000 (15:15 +0900)]
Use socket path from app_get_data_path() in case of USE_SERVICE_APP

[Version] 0.3.2

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agodaemon: Exit when a client does not exist
Sangchul Lee [Tue, 23 May 2023 01:20:59 +0000 (10:20 +0900)]
daemon: Exit when a client does not exist

It is only for USE_SERVICE_APP.

The default value of socket path in meson_options.txt is also fixed.

[Version] 0.3.1

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoproject_def: Change socket path, rpath, and version
Sangchul Lee [Mon, 22 May 2023 06:16:07 +0000 (15:16 +0900)]
project_def: Change socket path, rpath, and version

Printing version log in client lib is also changed.

[Version] 0.3.0

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agocommon: Define LOGx macros if needed
Sangchul Lee [Fri, 19 May 2023 09:08:24 +0000 (18:08 +0900)]
common: Define LOGx macros if needed

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agodaemon: Add files for SES build
Sangchul Lee [Fri, 19 May 2023 08:32:07 +0000 (17:32 +0900)]
daemon: Add files for SES build

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agodaemon: Add initial support for being launched as a Tizen service application
Sangchul Lee [Thu, 18 May 2023 11:19:20 +0000 (20:19 +0900)]
daemon: Add initial support for being launched as a Tizen service application

A meson option('service-app') is added to support it.

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agocommon: Revise macros for version and socket path
Sangchul Lee [Sun, 21 May 2023 05:18:21 +0000 (14:18 +0900)]
common: Revise macros for version and socket path

[Version] 0.2.6

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoclient/meson: Declare dependency for client lib.
Sangchul Lee [Sun, 21 May 2023 03:23:22 +0000 (12:23 +0900)]
client/meson: Declare dependency for client lib.

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoFix bug that received message is truncated
Gilbok Lee [Fri, 19 May 2023 08:41:09 +0000 (17:41 +0900)]
Fix bug that received message is truncated

- When generating a request message, MAX_LEN is short
- Add ipc LOG_TAG

[Version] 0.2.5

2 years agoFix to return valid outparam value
Sangchul Lee [Tue, 16 May 2023 09:34:24 +0000 (18:34 +0900)]
Fix to return valid outparam value

[Version] 0.2.4

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoRevise frequent logs
Sangchul Lee [Tue, 16 May 2023 02:18:07 +0000 (11:18 +0900)]
Revise frequent logs

Function for submitting packet is called frequently,
hence the log level is revised from info to debug.

[Version] 0.2.3

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agodaemon/handler: Refactoring for base64 decoding part
Sangchul Lee [Tue, 16 May 2023 05:00:02 +0000 (14:00 +0900)]
daemon/handler: Refactoring for base64 decoding part

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoApply encoding/decoding codec_data for json structured string format
Sangchul Lee [Mon, 15 May 2023 10:56:10 +0000 (19:56 +0900)]
Apply encoding/decoding codec_data for json structured string format

The 'codec_data' member in the ESPP packet data is binary.
To get valid string by glib json API, this binary data is encrypted on the client side,
and it'll be decrypted on the daemon side before passing it to the glib json API.

Invalid range check for espp_service_event_e has been fixed.

[Version] 0.2.2

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoUpdate README.md
Sangchul Lee [Mon, 15 May 2023 08:47:50 +0000 (17:47 +0900)]
Update README.md

[Version] 0.2.1

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoAdd API - espp_client_set_error_cb()
Sangchul Lee [Mon, 15 May 2023 07:35:56 +0000 (16:35 +0900)]
Add API - espp_client_set_error_cb()

[Version] 0.1.12

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoAdd API - espp_client_set_ready_to_seek_cb()
Sangchul Lee [Mon, 15 May 2023 07:19:47 +0000 (16:19 +0900)]
Add API - espp_client_set_ready_to_seek_cb()

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoAdd API - espp_client_set_playback_rate()
Sangchul Lee [Mon, 15 May 2023 05:46:27 +0000 (14:46 +0900)]
Add API - espp_client_set_playback_rate()

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoAdd API - espp_client_get_playing_time()
Sangchul Lee [Mon, 15 May 2023 02:11:11 +0000 (11:11 +0900)]
Add API - espp_client_get_playing_time()

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoAdd API - espp_client_set_buffer_size()
Sangchul Lee [Fri, 12 May 2023 09:08:49 +0000 (18:08 +0900)]
Add API - espp_client_set_buffer_size()

[Version] 0.1.11

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoAdd API - espp_client_submit_eos_packet()
Sangchul Lee [Fri, 12 May 2023 08:31:06 +0000 (17:31 +0900)]
Add API - espp_client_submit_eos_packet()

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoAdd API - espp_client_set_display_visible()
Sangchul Lee [Fri, 12 May 2023 08:04:12 +0000 (17:04 +0900)]
Add API - espp_client_set_display_visible()

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoAdd API - espp_client_set_display_roi()
Sangchul Lee [Fri, 12 May 2023 07:53:01 +0000 (16:53 +0900)]
Add API - espp_client_set_display_roi()

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoAdd API - espp_client_seek()
Sangchul Lee [Fri, 12 May 2023 07:21:05 +0000 (16:21 +0900)]
Add API - espp_client_seek()

[Version] 0.1.11

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoAdd API - espp_client_resume()
Sangchul Lee [Fri, 12 May 2023 03:57:49 +0000 (12:57 +0900)]
Add API - espp_client_resume()

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoAdd API - espp_client_pause()
Sangchul Lee [Fri, 12 May 2023 03:47:48 +0000 (12:47 +0900)]
Add API - espp_client_pause()

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoclient: Revise doxygen to describe state
Sangchul Lee [Fri, 12 May 2023 03:41:46 +0000 (12:41 +0900)]
client: Revise doxygen to describe state

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoAdd API - espp_client_get_state()
Sangchul Lee [Fri, 12 May 2023 03:23:20 +0000 (12:23 +0900)]
Add API - espp_client_get_state()

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoclient: Use tizen error value
Sangchul Lee [Thu, 11 May 2023 02:24:04 +0000 (11:24 +0900)]
client: Use tizen error value

Unnecessary dependency of esplusplayer on client lib. has also been removed.

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoclient: Add mutex to guard callback pointer change
Sangchul Lee [Thu, 11 May 2023 03:27:41 +0000 (12:27 +0900)]
client: Add mutex to guard callback pointer change

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoclient: Add missing event handler for resource conflicted callback
Sangchul Lee [Thu, 11 May 2023 02:47:24 +0000 (11:47 +0900)]
client: Add missing event handler for resource conflicted callback

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoAdd API - espp_client_set_buffer_status_cb()
Sangchul Lee [Thu, 11 May 2023 01:48:25 +0000 (10:48 +0900)]
Add API - espp_client_set_buffer_status_cb()

[Version] 0.1.10

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoAdd API - espp_client_set_eos_cb()
Sangchul Lee [Thu, 11 May 2023 01:17:14 +0000 (10:17 +0900)]
Add API - espp_client_set_eos_cb()

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoAdd API - espp_client_set_seek_done_cb()
Sangchul Lee [Wed, 10 May 2023 22:56:41 +0000 (07:56 +0900)]
Add API - espp_client_set_seek_done_cb()

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoAdd API - espp_client_set_display_mode()
Sangchul Lee [Wed, 10 May 2023 07:51:39 +0000 (16:51 +0900)]
Add API - espp_client_set_display_mode()

[Version] 0.1.9

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoAdd API - espp_client_set_resource_conflicted_cb()
Sangchul Lee [Wed, 10 May 2023 07:26:44 +0000 (16:26 +0900)]
Add API - espp_client_set_resource_conflicted_cb()

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoclient: Fix indent to use tab in header
Sangchul Lee [Wed, 10 May 2023 05:33:20 +0000 (14:33 +0900)]
client: Fix indent to use tab in header

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoclient/priv: Fix parameter name
Sangchul Lee [Tue, 9 May 2023 06:15:47 +0000 (15:15 +0900)]
client/priv: Fix parameter name

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agodaemon/socket: Read again when total size does not meet expected one
Sangchul Lee [Tue, 9 May 2023 03:32:41 +0000 (12:32 +0900)]
daemon/socket: Read again when total size does not meet expected one

[Version] 0.1.8

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoAdd support for submit packet
Sangchul Lee [Thu, 4 May 2023 06:39:51 +0000 (15:39 +0900)]
Add support for submit packet

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoAdd API - set_audio_mute()
Sangchul Lee [Thu, 4 May 2023 08:13:29 +0000 (17:13 +0900)]
Add API - set_audio_mute()

[Version] 0.1.7

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoAdd API - set_display_surface_id()
Sangchul Lee [Thu, 4 May 2023 08:00:21 +0000 (17:00 +0900)]
Add API - set_display_surface_id()

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoRevise service file to have XDG environment value
Sangchul Lee [Tue, 9 May 2023 01:07:14 +0000 (10:07 +0900)]
Revise service file to have XDG environment value

It is related to wayland sink.

[Version] 0.1.6

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoAdd API - set_ready_to_prepare_cb()/set_prepare_async_done_cb()
Sangchul Lee [Thu, 27 Apr 2023 03:20:45 +0000 (12:20 +0900)]
Add API - set_ready_to_prepare_cb()/set_prepare_async_done_cb()

[Version] 0.1.5

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agocommon/ipc: Fix out-param type to bool in case of ESPP_SERVICE_DATA_TYPE_BOOL
Sangchul Lee [Thu, 4 May 2023 06:45:27 +0000 (15:45 +0900)]
common/ipc: Fix out-param type to bool in case of ESPP_SERVICE_DATA_TYPE_BOOL

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoMove some functions to the new espp_service_ipc.c file
Sangchul Lee [Thu, 27 Apr 2023 08:08:22 +0000 (17:08 +0900)]
Move some functions to the new espp_service_ipc.c file

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agodaemon/socket: Revise codes to make it easy to read
Sangchul Lee [Fri, 28 Apr 2023 02:48:00 +0000 (11:48 +0900)]
daemon/socket: Revise codes to make it easy to read

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoPass client handle address and utilize it with pid as a key
Sangchul Lee [Thu, 27 Apr 2023 02:46:14 +0000 (11:46 +0900)]
Pass client handle address and utilize it with pid as a key

[Version] 0.1.4

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agodaemon/socket: Get client pid from fd
Sangchul Lee [Thu, 27 Apr 2023 02:29:31 +0000 (11:29 +0900)]
daemon/socket: Get client pid from fd

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoAdd support for init/deinit event handler
Sangchul Lee [Thu, 27 Apr 2023 02:28:10 +0000 (11:28 +0900)]
Add support for init/deinit event handler

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoRevise structure of json-structured parameters
Sangchul Lee [Wed, 26 Apr 2023 03:47:30 +0000 (12:47 +0900)]
Revise structure of json-structured parameters

e.g.)
{
  "params": {
    "codec_data":{"string":null},
    "codec_data_length":{"uint":0},
    "mime_type":{"int":7},
    "bitrate":{"uint":0},
    "channels":{"uint":2},
    "sample_rate":{"uint":0}
  }
}

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoAdd function - prepare_async()
Sangchul Lee [Mon, 24 Apr 2023 02:27:42 +0000 (11:27 +0900)]
Add function - prepare_async()

[Version] 0.1.3

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoAdd functions to open/close handle
Sangchul Lee [Mon, 24 Apr 2023 02:05:42 +0000 (11:05 +0900)]
Add functions to open/close handle

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoAdd function to stop handle
Sangchul Lee [Sat, 22 Apr 2023 11:15:45 +0000 (20:15 +0900)]
Add function to stop handle

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoAdd API to set audio/video stream info
Sangchul Lee [Sat, 22 Apr 2023 11:03:48 +0000 (20:03 +0900)]
Add API to set audio/video stream info

[Version] 0.1.2

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agodaemon: Add support for parsing json-structured parameters
Sangchul Lee [Sat, 22 Apr 2023 10:01:12 +0000 (19:01 +0900)]
daemon: Add support for parsing json-structured parameters

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoclient: Add support for json-structured parameters
Sangchul Lee [Fri, 21 Apr 2023 07:14:34 +0000 (16:14 +0900)]
client: Add support for json-structured parameters

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoRevise member variables in espp_service_data_from_client_s and apply it
Sangchul Lee [Fri, 21 Apr 2023 02:10:26 +0000 (11:10 +0900)]
Revise member variables in espp_service_data_from_client_s and apply it

common/espp_service_common.c is added.

[Version] 0.1.1

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agodaemon/handler: Add initial function handler
Sangchul Lee [Wed, 19 Apr 2023 05:58:48 +0000 (14:58 +0900)]
daemon/handler: Add initial function handler

dependency of esplusplayer library is added.

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoclient: Add initial client library
Sangchul Lee [Wed, 19 Apr 2023 05:57:32 +0000 (14:57 +0900)]
client: Add initial client library

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoCreate main.yml
이상철/Tizen Platform Lab(SR)/삼성전자 [Thu, 20 Apr 2023 06:20:51 +0000 (15:20 +0900)]
Create main.yml

2 years agoAdd common/espp_service_common.h for being used commonly in client/daemon
Sangchul Lee [Tue, 18 Apr 2023 07:41:48 +0000 (16:41 +0900)]
Add common/espp_service_common.h for being used commonly in client/daemon

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agodaemon/socket: Add support for socket binding
Sangchul Lee [Tue, 18 Apr 2023 07:14:00 +0000 (16:14 +0900)]
daemon/socket: Add support for socket binding

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoRevise README.md
Sangchul Lee [Tue, 18 Apr 2023 02:59:02 +0000 (11:59 +0900)]
Revise README.md

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoAdd initial codes to launch daemon
Sangchul Lee [Tue, 18 Apr 2023 02:34:32 +0000 (11:34 +0900)]
Add initial codes to launch daemon

Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
2 years agoInitial commit
이상철/Tizen Platform Lab(SR)/삼성전자 [Mon, 17 Apr 2023 07:35:01 +0000 (16:35 +0900)]
Initial commit