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

11 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

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

11 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

11 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

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

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

11 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

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

11 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

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

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

11 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

11 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

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

11 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

11 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

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

11 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

11 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

11 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

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

11 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

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

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

11 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

11 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

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

14 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

14 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

14 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

14 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

14 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

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

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

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

15 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

15 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

15 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

15 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

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

15 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

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

15 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

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

- revise AittMsg also

15 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

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

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

15 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

15 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

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

- added timer remove logic

15 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

15 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

15 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

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

15 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

15 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

15 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

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

17 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

17 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

17 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

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

17 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

17 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

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

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

17 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

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

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

17 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

17 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

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

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

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

17 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

17 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

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

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

19 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

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

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

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

19 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

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

19 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

19 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

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

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

19 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

19 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

19 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