platform/core/ml/aitt.git
13 months agoadd aitt_option types accepted/tizen_7.0_unified accepted/tizen_8.0_unified tizen_7.0 tizen_8.0 accepted/tizen/7.0/unified/20230913.174316 accepted/tizen/8.0/unified/20231005.093403 accepted/tizen/unified/20230913.172615 tizen_8.0_m2_release
Youngjae Shin [Wed, 13 Sep 2023 02:33:14 +0000 (11:33 +0900)]
add aitt_option types

AITT_OPT_SERVICE_ID, AITT_OPT_LOCATION_ID, AITT_OPT_ROOT_CA, AITT_OPT_CUSTOM_RW_FILE

13 months agoResolve junit defects
Kartik Anand [Tue, 12 Sep 2023 14:09:28 +0000 (19:39 +0530)]
Resolve junit defects

- Resolve junit defects
- Remove unnecessary tests

13 months agoAdd test cases to android aitt
Praveen Naik S [Mon, 11 Sep 2023 14:43:30 +0000 (20:13 +0530)]
Add test cases to android aitt

- Add test cases to different modules of android-aitt.
- Improve the test coverage

13 months agoadd LOG_OFF
Youngjae Shin [Mon, 11 Sep 2023 02:16:10 +0000 (11:16 +0900)]
add LOG_OFF

13 months agorevise android build
Youngjae Shin [Fri, 8 Sep 2023 00:09:23 +0000 (09:09 +0900)]
revise android build

14 months agoImplement WebRTC stream restart functionality accepted/tizen/7.0/unified/20230911.170235 accepted/tizen/unified/20230908.083305
Kartik Anand [Fri, 25 Aug 2023 11:41:05 +0000 (17:11 +0530)]
Implement WebRTC stream restart functionality

If the WebRTC stream is stopped, it should be possible to start it again and re-establish a connection with the peer.

14 months agoreduce ambiguity
Youngjae Shin [Thu, 24 Aug 2023 05:29:52 +0000 (14:29 +0900)]
reduce ambiguity

- assign explicit value in enum
- apply version of library
- fix typo

14 months agoupdate debian package files
Youngjae Shin [Thu, 17 Aug 2023 11:02:34 +0000 (20:02 +0900)]
update debian package files

14 months agoSupport media format for webRTC android
Praveen Naik S [Wed, 16 Aug 2023 06:41:43 +0000 (12:11 +0530)]
Support media format for webRTC android

- Add multiple media format support to android-aitt (currently h264 format support)
- Add h264 codec support to android-aitt

14 months agomove CustomMQ to modules
Youngjae Shin [Mon, 7 Aug 2023 11:10:34 +0000 (20:10 +0900)]
move CustomMQ to modules

- for supporting RT without changing source code

14 months agoDisable IPC build
Praveen Naik S [Mon, 7 Aug 2023 10:41:59 +0000 (16:11 +0530)]
Disable IPC build

- Disable IPC build to resolve android build error
- IPC implementation to be replaced with Android IPC mechanism in further PRs

15 months agorevise test cases accepted/tizen_unified_dev accepted/tizen/unified/20230713.082748 accepted/tizen/unified/dev/20230726.115902
Youngjae Shin [Tue, 11 Jul 2023 08:04:15 +0000 (17:04 +0900)]
revise test cases

- add negative test cases
- Set PublishWithReply return type(exception) same as other API
- Improved invalid parameters and status checks

15 months agoapply file output of test results
Youngjae Shin [Thu, 6 Jul 2023 03:59:51 +0000 (12:59 +0900)]
apply file output of test results

16 months agofix build error accepted/tizen/unified/20230630.124056
Youngjae Shin [Fri, 30 Jun 2023 00:22:02 +0000 (09:22 +0900)]
fix build error

fix build error on gcc 13

16 months agoremove C-Mock source
Youngjae Shin [Wed, 28 Jun 2023 00:22:18 +0000 (09:22 +0900)]
remove C-Mock source

- use c-mock of tizen
- use downloaded c-mock for linux

16 months agocatch an exception on discovery_viewer
Youngjae Shin [Tue, 27 Jun 2023 07:19:24 +0000 (16:19 +0900)]
catch an exception on discovery_viewer

16 months agoAdd WebRtc Sink Display
Jiung Yu [Wed, 21 Jun 2023 21:39:13 +0000 (06:39 +0900)]
Add WebRtc Sink Display

16 months agorevise architecture accepted/tizen/7.0/unified/20230621.051150 accepted/tizen/unified/20230616.172405
Youngjae Shin [Wed, 14 Jun 2023 11:15:40 +0000 (20:15 +0900)]
revise architecture

- reduce excessive architecture

16 months agoApply H264 payload type for webrtc stream
Jiung Yu [Wed, 14 Jun 2023 00:06:41 +0000 (09:06 +0900)]
Apply H264 payload type for webrtc stream

16 months agomodify to make unified code
Youngjae Shin [Thu, 1 Jun 2023 03:53:18 +0000 (12:53 +0900)]
modify to make unified code

16 months agoResolve SonarQube critical issues
Kartik Anand [Wed, 31 May 2023 15:15:26 +0000 (20:45 +0530)]
Resolve SonarQube critical issues

16 months agoAdd setWillInfo API support for Android AITT
CHANDRASHEKHAR S BYADGI [Thu, 25 May 2023 13:53:18 +0000 (19:23 +0530)]
Add setWillInfo API support for Android AITT

16 months agoHandle WebRTC stop
Kartik Anand [Thu, 25 May 2023 08:46:37 +0000 (14:16 +0530)]
Handle WebRTC stop

16 months agoImplement source types in android WebRTC
Kartik Anand [Fri, 12 May 2023 11:59:33 +0000 (17:29 +0530)]
Implement source types in android WebRTC

16 months agoImprove Viewer
Jihoon Jung [Fri, 12 May 2023 00:56:37 +0000 (09:56 +0900)]
Improve Viewer

- Add ID/Topic monitoring
- Add fixed flexbuffer print for TCP/SECURE_TCP/MQTT

Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
16 months agorevise boilerplate
Youngjae Shin [Tue, 9 May 2023 07:53:28 +0000 (16:53 +0900)]
revise boilerplate

- remove (c). It is duplicated with copyright word.

16 months agoAdd CountSubscriber API in AITT
Jihoon Jung [Tue, 9 May 2023 02:10:47 +0000 (11:10 +0900)]
Add CountSubscriber API in AITT

- Add CountSubscriber API in AITT and some Tests
- Fix bug for TCP / TCP secure related duplicated topic subscribe

Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
16 months agoapply callback count to TCP publish table
Youngjae Shin [Mon, 8 May 2023 08:07:37 +0000 (17:07 +0900)]
apply callback count to TCP publish table

- remove unnecessary comments

16 months agosupport for multiple subscribing to same topic
Youngjae Shin [Thu, 4 May 2023 04:14:05 +0000 (13:14 +0900)]
support for multiple subscribing to same topic

16 months agoAvoid WebRTC subscriber sending START message
CHANDRASHEKHAR S BYADGI [Thu, 27 Apr 2023 12:49:37 +0000 (18:19 +0530)]
Avoid WebRTC subscriber sending START message

16 months agoImprove code readability
Praveen Naik S [Mon, 24 Apr 2023 07:41:38 +0000 (13:11 +0530)]
Improve code readability

16 months agoApply builder for AittStream SetConfig method
Jiung Yu [Wed, 19 Apr 2023 09:42:25 +0000 (18:42 +0900)]
Apply builder for AittStream SetConfig method

16 months agoUpdate JAVA API to match C++ API
Praveen Naik S [Wed, 19 Apr 2023 08:00:51 +0000 (13:30 +0530)]
Update JAVA API to match C++ API

16 months agofix invalid memory read
Youngjae Shin [Wed, 19 Apr 2023 04:05:20 +0000 (13:05 +0900)]
fix invalid memory read

16 months agochange the order of mosquitto api calls
Hansol Lee [Wed, 19 Apr 2023 03:46:31 +0000 (12:46 +0900)]
change the order of mosquitto api calls

if mosquitto_loop_start() is invoked after mosquitto_disconnect(), then
    mosquitto thread might be closed.
so I changed the order of mosquitto api calls

16 months agoAdd media packet source type for webrtc module
Jiung Yu [Wed, 12 Apr 2023 04:28:01 +0000 (13:28 +0900)]
Add media packet source type for webrtc module

16 months agochange stack variables to heap variables
Hansol Lee [Wed, 12 Apr 2023 00:49:15 +0000 (09:49 +0900)]
change stack variables to heap variables

16 months agoremove unnecessary code
Hansol Lee [Wed, 5 Apr 2023 10:25:59 +0000 (19:25 +0900)]
remove unnecessary code

16 months agoAdd RTSP instrumentation tests
Praveen Naik S [Fri, 31 Mar 2023 07:44:07 +0000 (13:14 +0530)]
Add RTSP instrumentation tests

Resolve defects

16 months agoAdd player interrupted cb and state cb in RTSPClient
Jihoon Jung [Thu, 30 Mar 2023 08:40:40 +0000 (17:40 +0900)]
Add player interrupted cb and state cb in RTSPClient

Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
16 months agoConvert CMake commands into lower-case
JoonWoo Kim [Tue, 28 Mar 2023 07:20:59 +0000 (16:20 +0900)]
Convert CMake commands into lower-case

commands lists from help-command-list

Signed-off-by: JoonWoo Kim <jw1772.kim@samsung.com>
16 months agorevise license options in spec file
JoonWoo Kim [Tue, 28 Mar 2023 07:16:51 +0000 (16:16 +0900)]
revise license options in spec file

* Add License file on unittest package

Add C Mock extention header's license file on 'unittest' package.

Signed-off-by: JoonWoo Kim <jw1772.kim@samsung.com>
Co-authored-by: Youngjae Shin <yj99.shin@samsung.com>
16 months agoImplement set config method for WebRTC stream
Kartik Anand [Mon, 27 Mar 2023 06:22:08 +0000 (11:52 +0530)]
Implement set config method for WebRTC stream

16 months agoFix RTSP bugs
Praveen Naik S [Fri, 24 Mar 2023 11:01:10 +0000 (16:31 +0530)]
Fix RTSP bugs

16 months agoAdd WebRtc module configuration for resolution
Jiung Yu [Fri, 24 Mar 2023 02:18:15 +0000 (11:18 +0900)]
Add WebRtc module configuration for resolution

16 months agorevise aitt to remove memory leak
Hansol Lee [Thu, 23 Mar 2023 05:23:57 +0000 (14:23 +0900)]
revise aitt to remove memory leak

16 months agoChange error handling for video capture api
Jihoon Jung [Mon, 20 Mar 2023 06:46:45 +0000 (15:46 +0900)]
Change error handling for video capture api

Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
16 months agoAdd FPS for streaming data
Jihoon Jung [Sun, 19 Mar 2023 22:42:58 +0000 (07:42 +0900)]
Add FPS for streaming data

* Add FPS option
* add definition for second
* Change FPS type float to int
* Change return type of SetConfig
* Add throw exception and delete unused code

Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
19 months agofix potential bugs
Youngjae Shin [Sun, 19 Mar 2023 21:36:57 +0000 (06:36 +0900)]
fix potential bugs

19 months agorevise test code to avoid failure accepted/tizen/unified/20230320.021845
Youngjae Shin [Thu, 16 Mar 2023 08:29:11 +0000 (17:29 +0900)]
revise test code to avoid failure

* add SetConnectionCallback()
* fix Potential Defects

19 months agoadd license identifier of C-Mock in spec file
Youngjae Shin [Thu, 16 Mar 2023 06:27:02 +0000 (15:27 +0900)]
add license identifier of C-Mock in spec file

19 months agoAdd Asynchronous frame handler callback thread
Jiung Yu [Wed, 15 Mar 2023 12:12:24 +0000 (21:12 +0900)]
Add Asynchronous frame handler callback thread

19 months agoincrease code quality accepted/tizen/unified/20230315.093500
Youngjae Shin [Tue, 14 Mar 2023 09:59:28 +0000 (18:59 +0900)]
increase code quality

- fix static code analysis bugs

19 months agoAPI's to get the resolution of a received frame
CHANDRASHEKHAR S BYADGI [Mon, 13 Mar 2023 10:05:39 +0000 (15:35 +0530)]
API's to get the resolution of a received frame

19 months agoChange get RTSP rawdata method
Jihoon Jung [Mon, 13 Mar 2023 05:21:43 +0000 (14:21 +0900)]
Change get RTSP rawdata method

Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
20 months agofix latent bugs accepted/tizen/unified/20230309.161434
Youngjae Shin [Thu, 9 Mar 2023 01:12:51 +0000 (10:12 +0900)]
fix latent bugs

- remove thread-unsafe function
- add initialization

20 months agoAdd missing try-catch
Kartik Anand [Fri, 3 Mar 2023 09:00:01 +0000 (14:30 +0530)]
Add missing try-catch

20 months agooptimise YUVtoNV21 frame conversion
CHANDRASHEKHAR S BYADGI [Wed, 22 Feb 2023 14:09:25 +0000 (19:39 +0530)]
optimise YUVtoNV21 frame conversion

20 months agoAdd audio support to RTSP module
Praveen Naik S [Wed, 22 Feb 2023 07:25:45 +0000 (12:55 +0530)]
Add audio support to RTSP module

20 months agorevise the READY_STATUS_N test case
Youngjae Shin [Tue, 21 Feb 2023 23:17:18 +0000 (08:17 +0900)]
revise the READY_STATUS_N test case

20 months agoRemove Android Studio warnings in Android AITT code
Chanhee Lee [Fri, 17 Feb 2023 00:59:50 +0000 (09:59 +0900)]
Remove Android Studio warnings in Android AITT code

[Problem] Some warnings are shown in Android Studio.
[Solution] Resolve warnings for clean code

20 months agorevise DiscoveryBlob
Hansol Lee [Thu, 16 Feb 2023 10:26:07 +0000 (19:26 +0900)]
revise DiscoveryBlob

I added deleter to completely delete data

20 months agoclear all connection in abnormal cases
Youngjae Shin [Wed, 15 Feb 2023 01:20:58 +0000 (10:20 +0900)]
clear all connection in abnormal cases

- when connection is failed, discovery connection can be remained.

20 months agoUse native discovery for webrtc signaling
Kartik Anand [Wed, 1 Feb 2023 11:56:02 +0000 (17:26 +0530)]
Use native discovery for webrtc signaling

20 months agoAdd Android instrumented test cases for TCP_SECURE protocol
Chanhee Lee [Mon, 30 Jan 2023 01:12:03 +0000 (10:12 +0900)]
Add Android instrumented test cases for TCP_SECURE protocol

[Problem] Test cases for TCP_SECURE protocol do not exist.
[Solution] Add test cases for TCP_SECURE protocol.

20 months agoimplement request/response pattern on TCP
Youngjae Shin [Thu, 19 Jan 2023 08:17:10 +0000 (17:17 +0900)]
implement request/response pattern on TCP

- revise AittMsg also

20 months agointegrate subscribe callbacks
Youngjae Shin [Thu, 19 Jan 2023 05:14:26 +0000 (14:14 +0900)]
integrate subscribe callbacks

- revise AittMsg also

20 months agochange MSG name to AittMsg
Youngjae Shin [Fri, 13 Jan 2023 03:00:45 +0000 (12:00 +0900)]
change MSG name to AittMsg

- The name MSG is too generic

20 months agoResolve tapo camera display
Praveen Naik S [Wed, 11 Jan 2023 09:30:50 +0000 (15:00 +0530)]
Resolve tapo camera display

20 months agoSet id and password correctly to Android RTSP module
Chanhee Lee [Wed, 11 Jan 2023 04:19:13 +0000 (13:19 +0900)]
Set id and password correctly to Android RTSP module

[Problem] Credential information is not set properly in an Android
          RTSP module.
[Solution] Set id and password obtained from MQTT discovery to
           the module.

20 months agoRtsp frames asynchronous decoding changes
CHANDRASHEKHAR S BYADGI [Tue, 10 Jan 2023 06:45:37 +0000 (12:15 +0530)]
Rtsp frames asynchronous decoding changes

20 months agoAdd decode pipeline and connect ouput to stream receive callback
Jiung Yu [Tue, 3 Jan 2023 01:24:14 +0000 (10:24 +0900)]
Add decode pipeline and connect ouput to stream receive callback

20 months agorevise PosixMainLoop
Hansol Lee [Mon, 2 Jan 2023 07:59:58 +0000 (16:59 +0900)]
revise PosixMainLoop

- added timer remove logic

20 months agoUpdate discovery message with input resolution
Praveen Naik S [Fri, 30 Dec 2022 09:42:45 +0000 (15:12 +0530)]
Update discovery message with input resolution

20 months agoApply compression for partial inference data
CHANDRASHEKHAR S BYADGI [Thu, 22 Dec 2022 09:39:34 +0000 (15:09 +0530)]
Apply compression for partial inference data

20 months agofix typo from clear_session to clean_session
Youngjae Shin [Fri, 16 Dec 2022 07:49:01 +0000 (16:49 +0900)]
fix typo from clear_session to clean_session

20 months agoRefactor Android Aitt class and test cases
Chanhee Lee [Fri, 16 Dec 2022 07:29:09 +0000 (16:29 +0900)]
Refactor Android Aitt class and test cases

[Problem] There are some code/comments which need to be simplified.
[Solution] Do refactoring by drawing common code as functions,
           correcting comments and so on.

20 months agorevise AittOption
Youngjae Shin [Fri, 16 Dec 2022 03:08:56 +0000 (12:08 +0900)]
revise AittOption

- separate constructor behavior into constructing and applying option
- revise option usage on Aitt C API
- add test case

20 months agoApply C Mock which is Google Mock's extension
Youngjae Shin [Thu, 15 Dec 2022 01:31:38 +0000 (10:31 +0900)]
Apply C Mock which is Google Mock's extension

20 months agoAdd tests for RTSPStream and AittStreamConfig
Kartik Anand [Tue, 13 Dec 2022 13:13:40 +0000 (18:43 +0530)]
Add tests for RTSPStream and AittStreamConfig

22 months agofix build warning(invalid reference type)
Youngjae Shin [Tue, 13 Dec 2022 01:54:15 +0000 (10:54 +0900)]
fix build warning(invalid reference type)

22 months agorevise Posix Mainloop
Youngjae Shin [Mon, 12 Dec 2022 05:17:26 +0000 (14:17 +0900)]
revise Posix Mainloop

[Problem] cb data is double freed
[Solution] use shared_ptr
- revise TCP test and lock

22 months agorevise AESEncryptor class
Youngjae Shin [Mon, 12 Dec 2022 04:42:10 +0000 (13:42 +0900)]
revise AESEncryptor class

- separate class into two different class(openssl and mbedtls)
- add compatibility test between openssl and mbedtls

22 months agoAdd h264 decoder support to RTSP client
Praveen Naik S [Thu, 8 Dec 2022 06:33:24 +0000 (12:03 +0530)]
Add h264 decoder support to RTSP client

Resolve potential defects
Rename decoder file
Replace AsyncTask with thread

22 months agoadded implementation of mbedTLS apis
Hansol Lee [Thu, 8 Dec 2022 01:32:37 +0000 (10:32 +0900)]
added implementation of mbedTLS apis

22 months agorevise build scripts for Mbed TLS
Youngjae Shin [Wed, 7 Dec 2022 05:38:51 +0000 (14:38 +0900)]
revise build scripts for Mbed TLS

22 months agoadd test for Secure TCP with various message size
Youngjae Shin [Wed, 7 Dec 2022 05:38:39 +0000 (14:38 +0900)]
add test for Secure TCP with various message size

22 months agoAdd Android AITT APIs to align with native AITT APIs
Chanhee Lee [Tue, 6 Dec 2022 07:34:14 +0000 (16:34 +0900)]
Add Android AITT APIs to align with native AITT APIs

[Problem] Some Android AITT APIs do not cover the default parameters
          of native AITT APIs.
[Solution] Add Android AITT APIs to cover the all default parameters.

22 months agoAdd instrumented TCs to improve the code coverage of Android WebRTC
Chanhee Lee [Tue, 6 Dec 2022 07:33:59 +0000 (16:33 +0900)]
Add instrumented TCs to improve the code coverage of Android WebRTC

[Problem] The code coverage of Android WebRTC module is not so high.
[Solution] Add intrumented test cases to improve the code coverage.

22 months agoApply native discovery to android RTSP
Kartik Anand [Mon, 5 Dec 2022 10:10:07 +0000 (15:40 +0530)]
Apply native discovery to android RTSP

22 months agorevise build options
Youngjae Shin [Mon, 5 Dec 2022 02:27:24 +0000 (11:27 +0900)]
revise build options

22 months agoRevise android code
Kartik Anand [Mon, 28 Nov 2022 14:43:37 +0000 (20:13 +0530)]
Revise android code

22 months agoAdd RTSP client support to AITT android
Praveen Naik S [Mon, 28 Nov 2022 14:21:40 +0000 (19:51 +0530)]
Add RTSP client support to AITT android

22 months agoaitt.so is not built for 32bit arm CPU's
CHANDRASHEKHAR S BYADGI [Mon, 28 Nov 2022 07:30:03 +0000 (13:00 +0530)]
aitt.so is not built for 32bit arm CPU's

22 months agoAdd unit test cases for Android WebRTC module
Chanhee Lee [Mon, 28 Nov 2022 00:45:23 +0000 (09:45 +0900)]
Add unit test cases for Android WebRTC module

[Problem] There are not enough various test cases to verify Android
          WebRTC APIs.
[Solution] Add unit and instrumented test cases for Android WebRTC.

22 months agoRevise discovery message callback
Kartik Anand [Wed, 23 Nov 2022 14:41:40 +0000 (20:11 +0530)]
Revise discovery message callback

22 months agoApply subscriber stream interface to Android WebRTC
Chanhee Lee [Wed, 23 Nov 2022 00:33:42 +0000 (09:33 +0900)]
Apply subscriber stream interface to Android WebRTC

[Problem] Initial Android stream interfaces are added but Android
          WebRTC is still using transport interfaces.
[Solution] Update Android WebRTC first with the subscriber stream
           interface.

22 months agoAllocate only one stream for an aitt handle
Jiung Yu [Thu, 17 Nov 2022 07:45:00 +0000 (16:45 +0900)]
Allocate only one stream for an aitt handle

22 months agorefactoring MainLoop
Youngjae Shin [Thu, 17 Nov 2022 06:44:20 +0000 (15:44 +0900)]
refactoring MainLoop

- apply Callback return value for general usages
- apply MainLoopHandler architecture
- revise test code

22 months agoUse native discovery for android (#502)
Kartik Anand [Wed, 16 Nov 2022 06:09:16 +0000 (11:39 +0530)]
Use native discovery for android (#502)