platform/core/ml/aitt.git
14 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

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

14 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

14 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>
14 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.

14 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>
14 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

14 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

14 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

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

14 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

14 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

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

14 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

14 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

14 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

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

14 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

14 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>
14 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>
14 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>
14 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

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

14 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

14 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

14 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>
14 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>
17 months agofix potential bugs
Youngjae Shin [Sun, 19 Mar 2023 21:36:57 +0000 (06:36 +0900)]
fix potential bugs

17 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

17 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

17 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

17 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

17 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

17 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>
17 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

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

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

17 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

17 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

17 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

17 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

17 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.

17 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

17 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.

17 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

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

- revise AittMsg also

17 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

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

17 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.

17 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

17 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

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

- added timer remove logic

17 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

17 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

17 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

17 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.

17 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

17 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

17 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

20 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)

20 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

20 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

20 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

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

20 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

20 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

20 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.

20 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.

20 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

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

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

20 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

20 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

20 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.

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

20 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.

20 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

20 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

20 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)

21 months agoStreamManager refactoring accepted/tizen/unified/20221115.172906
Jiung Yu [Thu, 10 Nov 2022 01:56:48 +0000 (10:56 +0900)]
StreamManager refactoring

21 months agoAdd WebRTC Discovery using AITT Discovery
Jiung Yu [Tue, 8 Nov 2022 00:50:10 +0000 (09:50 +0900)]
Add WebRTC Discovery using AITT Discovery

21 months agoAdd initial Android RTSP interfaces with test cases
Chanhee Lee [Mon, 7 Nov 2022 00:53:57 +0000 (09:53 +0900)]
Add initial Android RTSP interfaces with test cases

[Problem] There's no RTSP support in Android AITT.
[Solution] Add basic interfaces for Android RTSP.

21 months agoClean glib dependencies in Android Aitt
Chanhee Lee [Thu, 3 Nov 2022 08:40:27 +0000 (17:40 +0900)]
Clean glib dependencies in Android Aitt

[Problem] glib is needed no more in Android if posix
          MainLoopHandler is introduced.
[Solution] Remove glib-related code used in Android Aitt.

21 months agoRemove warnings of JNI code
Chanhee Lee [Thu, 3 Nov 2022 07:30:57 +0000 (16:30 +0900)]
Remove warnings of JNI code

[Problem] Several warnings are reported for JNI code in Android Studio.
[Solution] Clear warnings by updating code.

21 months agoAdded posix MainLoopHandler to support multiple os
Hansol Lee [Thu, 3 Nov 2022 04:01:51 +0000 (13:01 +0900)]
Added posix MainLoopHandler to support multiple os

- some OS doesn't support glib library
- so I added posix MainLoopHandler to support multiple os
- I removed posix dpkg build script to add it to another PR
- I will make new PR for this script

21 months agoRemove warnings in Android Studio to increase code quality.
Chanhee Lee [Thu, 27 Oct 2022 01:26:40 +0000 (10:26 +0900)]
Remove warnings in Android Studio to increase code quality.

[Problem] A few warnings which include unchecked null references
          are reported in Android Studio.
[Solution] Clean the warnings so that code quality is increased.

21 months agoSend large messages over WebRTC data channel
Kartik Anand [Wed, 26 Oct 2022 05:59:40 +0000 (11:29 +0530)]
Send large messages over WebRTC data channel

21 months agorevise connection callback
Youngjae Shin [Wed, 26 Oct 2022 01:04:20 +0000 (10:04 +0900)]
revise connection callback

- add C API for setting connection callback
- support calling mosquitto APIs in callback

21 months agoenable basic unittests
Youngjae Shin [Mon, 24 Oct 2022 08:16:32 +0000 (17:16 +0900)]
enable basic unittests

21 months agoAdd WebRTC Signaling via AITTDiscovery
Jiung Yu [Sun, 23 Oct 2022 21:31:44 +0000 (06:31 +0900)]
Add WebRTC Signaling via AITTDiscovery

21 months agoChange RTSPClient Class for rendering and capture media packet
Jihoon Jung [Fri, 21 Oct 2022 05:27:38 +0000 (14:27 +0900)]
Change RTSPClient Class for rendering and capture media packet

21 months agoAdd IPC protocol support to aitt android
Praveen Naik S [Wed, 19 Oct 2022 13:41:06 +0000 (19:11 +0530)]
Add IPC protocol support to aitt android

21 months agocqm score is less because of un used variable
CHANDRASHEKHAR S BYADGI [Tue, 18 Oct 2022 14:12:23 +0000 (19:42 +0530)]
cqm score is less because of un used variable

21 months agoAdd discovery message logic in RTSP
Jihoon Jung [Mon, 17 Oct 2022 07:39:34 +0000 (16:39 +0900)]
Add discovery message logic in RTSP

21 months agofix test failure due to timeout
Youngjae Shin [Thu, 13 Oct 2022 23:58:58 +0000 (08:58 +0900)]
fix test failure due to timeout

21 months agocheck negative sized message
Youngjae Shin [Thu, 13 Oct 2022 05:56:41 +0000 (14:56 +0900)]
check negative sized message

21 months agochange message size type from size_t to int
Youngjae Shin [Wed, 12 Oct 2022 11:35:06 +0000 (20:35 +0900)]
change message size type from size_t to int

- For compatibility between heterogeneous devices

21 months agoAdd negative test cases to android AITT
Praveen Naik S [Fri, 7 Oct 2022 09:27:20 +0000 (14:57 +0530)]
Add negative test cases to android AITT

21 months agoAdd rtsp module
Jihoon Jung [Wed, 5 Oct 2022 00:59:11 +0000 (09:59 +0900)]
Add rtsp module

21 months agoChange webrtc module from transport to stream
Jiung Yu [Mon, 3 Oct 2022 21:59:26 +0000 (06:59 +0900)]
Change webrtc module from transport to stream