platform/core/api/mediastreamrecorder.git
14 months agoAdd tool package to separate testsuite binary 57/289057/1 accepted/tizen_6.5_unified tizen_6.5 accepted/tizen/6.5/unified/20230302.130325 submit/tizen_6.5/20230228.064011 submit/tizen_6.5/20230228.091930
Seungbae Shin [Fri, 17 Feb 2023 07:59:43 +0000 (16:59 +0900)]
Add tool package to separate testsuite binary

Change-Id: I58deff4b8c11fe879aa16ec1bac3c8546da0d005

3 years agoModify document spelling and consistency 92/243692/2 accepted/tizen_6.0_unified_hotfix tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.121829 accepted/tizen/6.0/unified/hotfix/20201103.004101 accepted/tizen/6.0/unified/hotfix/20201103.051054 accepted/tizen/6.5/unified/20211028.095733 accepted/tizen/unified/20200911.043051 submit/tizen/20200909.075652 submit/tizen_6.0/20201029.205102 submit/tizen_6.0_hotfix/20201102.192502 submit/tizen_6.0_hotfix/20201103.114802 submit/tizen_6.5/20211028.161801 tizen_6.0.m2_release tizen_6.5.m2_release
Hyunsoo Park [Wed, 9 Sep 2020 06:55:41 +0000 (15:55 +0900)]
Modify document spelling and consistency

Change-Id: Icd61b21279520f10b36d852b9de7627f13794b2d
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
3 years agoModify document regarding links 91/243691/1
Hyunsoo Park [Fri, 4 Sep 2020 05:53:10 +0000 (14:53 +0900)]
Modify document regarding links

Change-Id: I66fe42e96e7abaaee809bda2d24485da6c0d17ce
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
4 years agoAdd feature checker 03/229903/2 accepted/tizen/unified/20200408.131504 submit/tizen/20200407.044054 submit/tizen/20200408.015152
Hyunsoo Park [Mon, 6 Apr 2020 09:57:51 +0000 (18:57 +0900)]
Add feature checker

Change-Id: I4b17a8366d77ffc4600f6e8801e7883d42e4a413
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
4 years agofeature : Apply feature information 14/228814/2 accepted/tizen/unified/20200326.215042 submit/tizen/20200326.024055
Hyunsoo Park [Thu, 26 Mar 2020 01:31:03 +0000 (10:31 +0900)]
feature : Apply feature information

It merges two patch from Tizen 5.5 M3.
-https://review.tizen.org/gerrit/#/c/platform/core/api/mediastreamrecorder/+/227568/ (checker implmentation)
-https://review.tizen.org/gerrit/#/c/platform/core/api/mediastreamrecorder/+/227567/ (docs)

Change-Id: I210c9f9ec24095da685e89d452e7d9c0b93a8bef
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
4 years agoChange mediapacket usage 07/227607/14 submit/tizen/20200325.100145
Hyunsoo Park [Fri, 13 Mar 2020 05:56:21 +0000 (14:56 +0900)]
Change mediapacket usage

Change-Id: Ib65a525577e70c9656fb63177aa5df97f02a155d
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
4 years agoHandle Exception case 91/224491/2 accepted/tizen/unified/20200219.130203 submit/tizen/20200219.015002
Hyunsoo Park [Tue, 11 Feb 2020 03:57:22 +0000 (12:57 +0900)]
Handle Exception case

Change-Id: Ic10f7abc1a62784967acd0c7794d326d6369c456
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
4 years agoAdds testsuite for looback mode 05/222905/6
Hyunsoo Park [Tue, 21 Jan 2020 08:49:19 +0000 (17:49 +0900)]
Adds testsuite for looback mode

Change-Id: I31b286182467798d286ed3ae813141d3e029e369
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
4 years agoAdd Recording modes 35/218535/28 accepted/tizen/unified/20200113.222502 submit/tizen/20200107.015415 submit/tizen/20200108.071757 submit/tizen/20200113.060950 submit/tizen/20200121.084540 submit/trunk/20200107.014436
Hyunsoo Park [Mon, 25 Nov 2019 07:02:19 +0000 (16:02 +0900)]
Add Recording modes

Adds APIs for setting modes. It serves to select mode for recording what user want.
Mode means how to stream recorder works.

[apis]
streamrecorder_set_mode(streamrecorder_h recorder, streamrecorder_mode_e mode);
streamrecorder_get_mode(streamrecorder_h recorder, streamrecorder_mode_e* mode);

[modes]
Add stream recording modes.
- STREAMRECORDER_MODE_STREAM_BUFFER
- STREAMRECORDER_MODE_DEVICE_LOOPBACK

*STREAMRECORDER_MODE_STREAM_BUFFER
: Uses Stream Recorder same as current.

*STREAMRECORDER_MODE_DEVICE_LOOPBACK
: For using it only device's own screen (display) and audio, please use this mode.

Change-Id: Ibbe4356589769659e5091c1b57945ead837a5d22
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
4 years agoFix API description for doxygen. 88/216288/2
Hyunsoo Park [Wed, 23 Oct 2019 04:53:11 +0000 (13:53 +0900)]
Fix API description for doxygen.

Change-Id: I064135ca881f459a9b23700f0fc4c066672618ae
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
4 years agoMake a gcov package for measuring coverage easier 44/209044/2 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.5/unified/20191031.030336 accepted/tizen/5.5/unified/mobile/hotfix/20201027.065030 accepted/tizen/unified/20190704.115500 submit/tizen/20190703.020220 submit/tizen_5.5/20191031.000002 submit/tizen_5.5_mobile_hotfix/20201026.185102 tizen_5.5.m2_release
SeokHoon LEE [Tue, 2 Jul 2019 02:20:27 +0000 (11:20 +0900)]
Make a gcov package for measuring coverage easier

Change-Id: Id0c3436ff59c9aa39984a3fb203cc0d317a7d5a7
Signed-off-by: SeokHoon LEE <andy.shlee@samsung.com>
4 years agoRemove TIZEN_ERROR_STREAMRECORDER 12/207812/1 submit/tizen/20190614.020308
SeokHoon LEE [Thu, 13 Jun 2019 02:43:40 +0000 (11:43 +0900)]
Remove TIZEN_ERROR_STREAMRECORDER

- Delete TIZEN_ERROR_STREAMRECORDER, already in tizen_error.h
- fix typo

Change-Id: Ic04b7550bd2382e0376946098d439d699be91717
Signed-off-by: SeokHoon LEE <andy.shlee@samsung.com>
5 years agoAdd push_video_packet for i420 format 83/204183/2 accepted/tizen/unified/20190423.113409 submit/tizen/20190422.072607
SeokHoon LEE [Mon, 22 Apr 2019 05:25:58 +0000 (14:25 +0900)]
Add push_video_packet for i420 format

- add new function to process video packet
  that have separate plane in I420 format

Change-Id: Ie4b5ccf8473695b286156d4b27aba32c311e71b3
Signed-off-by: SeokHoon LEE <andy.shlee@samsung.com>
5 years agoAdd gcov environment 98/189198/2
SeokHoon Lee [Fri, 14 Sep 2018 06:39:22 +0000 (15:39 +0900)]
Add gcov environment

- delete unused define.

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

5 years agoAdd gcov build environment 39/188739/1
SeokHoon Lee [Mon, 10 Sep 2018 03:04:09 +0000 (12:04 +0900)]
Add gcov build environment

- Add define gcov for coverage test
- build command --define "gcov 1" can enable this feature

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

6 years agoFix typo 63/171463/2 accepted/tizen_5.0_unified tizen_5.0 accepted/tizen/5.0/unified/20181102.013759 accepted/tizen/unified/20180306.061349 submit/tizen/20180305.082441 submit/tizen/20180306.004127 submit/tizen_5.0/20181101.000002
SeokHoon Lee [Mon, 5 Mar 2018 05:22:50 +0000 (14:22 +0900)]
Fix typo

- fix typo in header file.

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

6 years agodelete dupulicate NULL check 51/152951/1
SeokHoon Lee [Wed, 27 Sep 2017 11:10:23 +0000 (20:10 +0900)]
delete dupulicate NULL check

- StreamRecorder handle is checked in capi(streamrecorder.c) already.

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

6 years agoFix double free 25/150825/2 accepted/tizen/unified/20170920.081151 submit/tizen/20170920.023434
SeokHoon Lee [Tue, 19 Sep 2017 00:54:32 +0000 (09:54 +0900)]
Fix double free

- delete free block in msb_cb while VIDEO_CAPTURE event occured.
  it cause to occur double free with lin 324.

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

6 years agoAdd buffer consumed event callback for i420 48/150048/3
SeokHoon Lee [Thu, 14 Sep 2017 06:09:39 +0000 (15:09 +0900)]
Add buffer consumed event callback for i420

- add buffer consumed event for i420 packet
- is_video is changed to use_ext_buffer.

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

6 years agoTizen coding convention 78/149278/1 accepted/tizen/unified/20170913.071352 submit/tizen/20170912.082420
SeokHoon Lee [Tue, 12 Sep 2017 04:39:55 +0000 (13:39 +0900)]
Tizen coding convention

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

6 years agoAdd state check in cancel 61/148561/1
SeokHoon Lee [Fri, 8 Sep 2017 06:31:33 +0000 (15:31 +0900)]
Add state check in cancel

- Cancel api should works in recording or paused state
- remove audio io depandency

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

6 years agoRemove same code if/else 80/142680/2
SeokHoon Lee [Mon, 7 Aug 2017 04:23:07 +0000 (13:23 +0900)]
Remove same code if/else

- There is same code in if {} and else {}
  so, remove code

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

6 years agoFix code for vulnerability 13/141613/1
SeokHoon Lee [Tue, 1 Aug 2017 06:09:50 +0000 (15:09 +0900)]
Fix code for vulnerability

- delete outbound checker ofr enum
- fix unmatched switch - case statement.

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

6 years agoDo not invoke callback with null media packet 69/135169/1 accepted/tizen/4.0/unified/20170816.012428 accepted/tizen/4.0/unified/20170816.015255 accepted/tizen/4.0/unified/20170828.223822 accepted/tizen/unified/20170630.083339 submit/tizen/20170623.044702 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0/20170828.100002 submit/tizen_4.0_unified/20170814.115522
SeokHoon Lee [Wed, 21 Jun 2017 06:00:55 +0000 (15:00 +0900)]
Do not invoke callback with null media packet

- If not find consumed buffer in managed packet,
  Do not callback function for consumed buffer.

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

6 years agoChange to setting value range for C# 12/134012/1
SeokHoon Lee [Wed, 14 Jun 2017 08:05:21 +0000 (17:05 +0900)]
Change to setting value range for C#

 - allow to set 0 for audio channel, samplerate, bitrate

Change-Id: Iff9e927764eed94d35324deaf933e277133a456f
Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
7 years agoChange license macro 45/120245/1 accepted/tizen/unified/20170412.152306 submit/tizen/20170412.003545 tizen_4.0.m1_release
SeokHoon Lee [Wed, 22 Mar 2017 07:01:19 +0000 (16:01 +0900)]
Change license macro

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

7 years agoTest code refactoring 76/113776/2 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170214.173900 accepted/tizen/ivi/20170214.230153 accepted/tizen/mobile/20170214.230042 accepted/tizen/tv/20170214.230104 accepted/tizen/unified/20170309.031533 accepted/tizen/wearable/20170214.230126 submit/tizen/20170214.113450 submit/tizen_unified/20170308.100404
SeokHoon Lee [Thu, 9 Feb 2017 01:25:29 +0000 (10:25 +0900)]
Test code refactoring

When occurring error in setting media format framerate,
it does not matter in just one frame.
and remove memory leak available.

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

7 years agoFix state changed event routine 71/109871/1 accepted/tizen/common/20170117.175047 accepted/tizen/ivi/20170118.041357 accepted/tizen/mobile/20170118.041258 accepted/tizen/tv/20170118.041316 accepted/tizen/wearable/20170118.041330 submit/tizen/20170117.102244
SeokHoon Lee [Thu, 12 Jan 2017 05:28:35 +0000 (14:28 +0900)]
Fix state changed event routine

It never happen to callback function,
because of previous variable.

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

7 years agofix build warning of memcpy/sleep function 25/70525/2 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable tizen_3.0.m2 tizen_3.0_tv accepted/tizen/3.0.m2/mobile/20170104.121913 accepted/tizen/3.0.m2/tv/20170104.122413 accepted/tizen/3.0.m2/wearable/20170104.122801 accepted/tizen/3.0/common/20161114.105241 accepted/tizen/3.0/ivi/20161011.055359 accepted/tizen/3.0/mobile/20161015.032641 accepted/tizen/3.0/tv/20161016.003418 accepted/tizen/3.0/wearable/20161015.080328 accepted/tizen/common/20160520.171202 accepted/tizen/ivi/20160520.081506 accepted/tizen/mobile/20160520.081456 accepted/tizen/tv/20160520.081427 accepted/tizen/wearable/20160520.081417 submit/tizen/20160520.025421 submit/tizen_3.0.m2/20170104.093749 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000005 submit/tizen_3.0_mobile/20161015.000001 submit/tizen_3.0_tv/20161015.000000 submit/tizen_3.0_wearable/20161015.000000
SeokHoon Lee [Thu, 19 May 2016 09:25:07 +0000 (18:25 +0900)]
fix build warning of memcpy/sleep function

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

8 years agofix typo on https://review.tizen.org/gerrit/#/c/64393/ 83/66483/1 accepted/tizen/common/20160419.143347 accepted/tizen/ivi/20160419.085620 accepted/tizen/mobile/20160419.085545 accepted/tizen/tv/20160419.085537 accepted/tizen/wearable/20160419.085542 submit/tizen/20160419.070444
SeokHoon Lee [Tue, 19 Apr 2016 06:50:42 +0000 (15:50 +0900)]
fix typo on https://review.tizen.org/gerrit/#/c/64393/

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

8 years agoremove build warning 93/64393/3 accepted/tizen/common/20160404.123615 accepted/tizen/ivi/20160405.012416 accepted/tizen/mobile/20160405.012322 accepted/tizen/tv/20160405.012339 accepted/tizen/wearable/20160405.012357 submit/tizen/20160404.051705
SeokHoon Lee [Fri, 1 Apr 2016 02:48:02 +0000 (11:48 +0900)]
remove build warning

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

8 years agocoding rule check 84/64384/2
SeokHoon Lee [Fri, 1 Apr 2016 02:04:35 +0000 (11:04 +0900)]
coding rule check

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

8 years agoCheck build warning 04/62404/1 submit/tizen/20160321.072619
SeokHoon Lee [Wed, 16 Mar 2016 02:45:59 +0000 (11:45 +0900)]
Check build warning

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

8 years ago[mediastreamrecorder] change memory check and pass the media packet 62/58462/3 accepted/tizen/common/20160302.193538 accepted/tizen/ivi/20160302.072341 accepted/tizen/mobile/20160302.072254 accepted/tizen/tv/20160302.072312 accepted/tizen/wearable/20160302.072327 submit/tizen/20160302.023712
Hyuntae, Kim [Mon, 1 Feb 2016 08:35:35 +0000 (17:35 +0900)]
[mediastreamrecorder] change memory check and pass the media packet

Change-Id: I4eee31fad72c7fc95d87fa45c1cc97eb7d8ed1fd

8 years ago[mediastreamrecorder] fix UTC test issues 32/56832/3
Hyuntae, Kim [Wed, 13 Jan 2016 04:54:47 +0000 (13:54 +0900)]
[mediastreamrecorder] fix UTC test issues

Change-Id: Ib653aa0064899b345fa1a057324e62a8cae1c1c9

8 years ago[mediastreamrecorder] initial code for streamrecorder 86/55086/7 accepted/tizen/ivi/20160218.022854 accepted/tizen/mobile/20160108.065511 accepted/tizen/mobile/20160108.115844 accepted/tizen/tv/20160108.065617 accepted/tizen/tv/20160108.113552 accepted/tizen/wearable/20160108.065808 accepted/tizen/wearable/20160108.113730 submit/tizen/20160108.040923 submit/tizen/20160108.072907 submit/tizen_common/20160218.142243 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000001
Hyuntae, Kim [Mon, 21 Dec 2015 23:36:38 +0000 (08:36 +0900)]
[mediastreamrecorder] initial code for streamrecorder

Change-Id: Iaa58d74566b11fd58f1720bb68e5cc3a7f109a3e

8 years agoInitial empty repository master submit/trunk/20180328.020505
KyungMi Lee [Tue, 1 Dec 2015 02:02:13 +0000 (18:02 -0800)]
Initial empty repository