platform/core/api/mediastreamer.git
3 years agoRevise descriptions - Reorder returned values 00/236400/1
Sangchul Lee [Wed, 17 Jun 2020 00:43:40 +0000 (09:43 +0900)]
Revise descriptions - Reorder returned values

[Version] 0.1.67
[Issue Type] Doxygen

Change-Id: I3b32b4e3948609c9f8a0171f9a90f8bb60d7be87
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
3 years agoFix doxygen - Add missing command @a to refer to member arguments 99/236399/2
Sangchul Lee [Wed, 17 Jun 2020 00:20:42 +0000 (09:20 +0900)]
Fix doxygen - Add missing command @a to refer to member arguments

Invalid parameter description is also fixed.

[Version] 0.1.66
[Issue Type] Doxygen

Change-Id: I49fec1980d63c9359dff31e327ec65ef0f58a5be
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
3 years agoAdd WebRTC signaling example to test app 57/235257/13
Hyunil [Wed, 3 Jun 2020 06:29:18 +0000 (15:29 +0900)]
Add WebRTC signaling example to test app

- The websocket handshake example is added

[Version] 0.1.65
[Issue Type] Test

Change-Id: Iae0cfe586265787273d2e50c76aa465a53d253e3
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
3 years agoRevise descriptions 23/236223/3
Sangchul Lee [Mon, 15 Jun 2020 23:29:03 +0000 (08:29 +0900)]
Revise descriptions

Descriptions are revised according to the recommendation
of review comments from ACR process.

[Version] 0.1.64
[Issue Type] Doxygen

Change-Id: I83c43b30cb9caccecba6b67e3670bff5062a2464
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
3 years agoImprove media_streamer_node_set_pad_format() for WebRTC node 01/236101/14
Sangchul Lee [Mon, 15 Jun 2020 01:49:26 +0000 (10:49 +0900)]
Improve media_streamer_node_set_pad_format() for WebRTC node

The previous codes can not propagate the pad event because the
pipeline status is not satisfied with the condition to set the
pad format normally. To fix it, a capsfilter element is added
in the creation time of WebRTC node and set new caps to its
property.

A ghost pad for the audio input is newly added to WebRTC node.

[Version] 0.1.63
[Issue Type] Bug fix

Change-Id: I624bca9c0c4376d38587f0dd49e94c6f7e90ee6a
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
3 years agoAdd internal API to find a specific element by name inside of the bin 42/236142/6
Sangchul Lee [Mon, 15 Jun 2020 06:58:58 +0000 (15:58 +0900)]
Add internal API to find a specific element by name inside of the bin

ms_find_element_in_bin_by_name() is added.

[Version] 0.1.62
[Issue Type] New feature

Change-Id: I2223fd6598d7093f369ece4d7255731dd0d7bc4c
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
3 years agoAdd to check privilege and feature for WebRTC node 30/236030/6
Sangchul Lee [Fri, 12 Jun 2020 05:54:58 +0000 (14:54 +0900)]
Add to check privilege and feature for WebRTC node

 - internet privilege is needed to create WebRTC node.
 - At least, one of wifi, telephony, ethernet feature should be enabled.
 - The return value of MEDIA_STREAMER_ERROR_PERMISSION_DENIED,
   MEDIA_STREAMER_ERROR_NOT_SUPPORTED are added to media_streamer_node_create().

[Version] 0.1.61
[Issue Type] Privilege/Feature

Change-Id: I10daa928b2310b8ac194e5aa6b3762672e3a2933
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
3 years agoImprove pad-added related codes of WebRTC node 02/235902/10
Hyunil [Thu, 11 Jun 2020 01:55:26 +0000 (10:55 +0900)]
Improve pad-added related codes of WebRTC node

- Add linking pad added by decodebin to webrtc_container's ghost_pad(video_out)
- Fix adding decodebin to webrtc_container

[Version] 0.1.60
[Issue Type] Improvement

Change-Id: I5a9fce745e78c06561fab4c77baf5aee0bf5f81c
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
3 years agoImprove media_streamer_node_set_pad_format() to support the WebRTC 01/235801/9
Hyunil [Wed, 10 Jun 2020 01:06:18 +0000 (10:06 +0900)]
Improve media_streamer_node_set_pad_format() to support the WebRTC

- Newly add ms_webrtcbin_set_pad_format() and __ms_rtp_node_set_pad_format()

- Add VP8 and OPUS type to ms_convert_mime_to_rtp_format(media_format_mimetype_e mime)

- VP8 and OPUS can be convert to rtp format by this function

[Version] 0.1.59
[Issue Type] New feature

Change-Id: Idea5134bf8b5e4b6dda123413eb9a4f438dbb62d
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
3 years agoRevise error log 53/235953/1
Sangchul Lee [Thu, 11 Jun 2020 08:49:28 +0000 (17:49 +0900)]
Revise error log

[Version] 0.1.58
[Issue Type] Log

Change-Id: I0d545bf2488c6ee5dd9dee796b715144648a697f
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
3 years agoAdd new parameter to set/get STUN server URL for WebRTC node 02/235802/4
Sangchul Lee [Wed, 10 Jun 2020 01:47:20 +0000 (10:47 +0900)]
Add new parameter to set/get STUN server URL for WebRTC node

MEDIA_STREAMER_PARAM_WEBRTC_STUN_SERVER is added.
The default value is "stun://stun.l.google.com:19302"

[Version] 0.1.57
[Issue Type] New feature

Change-Id: I12365080f76f19dc4175c8616a998fb8fe5d3624
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
3 years agoAdd support for OPUS audio format 04/235904/1
Sangchul Lee [Thu, 11 Jun 2020 02:21:05 +0000 (11:21 +0900)]
Add support for OPUS audio format

[Version] 0.1.56
[Issue Type] New feature

Change-Id: I2629add7d6d5f00a6dea8290c997a70656757cef
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
3 years agoAdd new APIs to set/unset decoded ready callback of the node 14/235514/6
Sangchul Lee [Fri, 5 Jun 2020 06:00:47 +0000 (15:00 +0900)]
Add new APIs to set/unset decoded ready callback of the node

This callback will be invoked when the 'pad-added' signal of
a gstreamer element for decoding something in the node is received.

User can utilize this callback to link the decoded source pad
with new node's sink pad for rendering something in the application.

 - int media_streamer_node_set_decoded_ready_cb(media_streamer_node_h node,
                                                media_streamer_node_decoded_ready_cb callback,
                                                void *user_data)
 - typedef void (*media_streamer_node_decoded_ready_cb)(media_streamer_node_h node,
                                                        const char *src_pad_name,
                                                        const char *media_types,
                                                        void *user_data)
 - int media_streamer_node_unset_decoded_ready_cb(media_streamer_node_h node)

Change-Id: I92199bae3b9c3e4028050e26a8ba7ab7b39df2d4
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
3 years agoFix bug in ms_find_element_in_bin_by_type() 24/235724/1
Sangchul Lee [Tue, 9 Jun 2020 06:19:22 +0000 (15:19 +0900)]
Fix bug in ms_find_element_in_bin_by_type()

Invalid parameter for gst_element_get_factory() is fixed.

[Version] 0.1.55
[Issue Type] Bug fix

Change-Id: Ic459e16669c27bb2b314921c26f33aa74f13498f
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
3 years agoAdd new param for setting remote session description and ICE candidiate for WebRTC... 01/235501/20
Hyunil [Fri, 5 Jun 2020 05:48:15 +0000 (14:48 +0900)]
Add new param for setting remote session description and ICE candidiate for WebRTC peer connection

- add MEDIA_STREAMER_PARAM_WEBRTC_REMOTE_SESSION_DESCRIPTION
- add MEDIA_STREAMER_PARAM_WEBRTC_ADD_ICE_CANDIDATE

Add internal APIs to set remote session description and ICE candidate to WebRTC node

- int ms_webrtcbin_set_remote_session_description(media_streamer_node_s *node, const char *sdp_msg)
- int ms_webrtcbin_add_ice_candidate(media_streamer_node_s *node, const char *ice_msg)

[Version] 0.1.54
[Issue Type] New feature

Change-Id: I5a1a66a61dcb511cebf62628d3bb8217912bc8cd
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
3 years agoAdd internal APIs to get SDP/ICE from text message 74/235374/11
Sangchul Lee [Thu, 4 Jun 2020 06:58:51 +0000 (15:58 +0900)]
Add internal APIs to get SDP/ICE from text message

- int ms_webrtc_get_sdp_from_message(const char *sdp_msg, gchar **sdp)
- int ms_webrtc_get_ice_candidate_from_message(const char *ice_msg, gchar **candidate, gint *mlineindex)

[Version] 0.1.53
[Issue Type] New feature

Change-Id: Id8a6c9c1fad0dadcaf1456c80db8ebcaa00683a1
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
3 years agoAdd new APIs to set/unset webrtc message callback 74/235274/10
Sangchul Lee [Wed, 3 Jun 2020 08:59:00 +0000 (17:59 +0900)]
Add new APIs to set/unset webrtc message callback

- int media_streamer_webrtc_node_set_message_cb(media_streamer_node_h webrtc,
                                                media_streamer_webrtc_message_cb callback,
                                                void *user_data)
- int media_streamer_webrtc_node_unset_message_cb(media_streamer_node_h webrtc)
- typedef void (*media_streamer_webrtc_message_cb)(media_streamer_node_h webrtc,
                                                   const char *message,
                                                   void *user_data);

[Version] 0.1.52
[Issue Type] New feature

Change-Id: I452d7c88ff6e6e80cb41388a7d5c6d05d308527e
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
3 years agoAdd support for WebRTC node 25/235025/17
Sangchul Lee [Mon, 1 Jun 2020 23:54:17 +0000 (08:54 +0900)]
Add support for WebRTC node

WebRTC node is added.
 - MEDIA_STREAMER_NODE_TYPE_WEBRTC

New parameter is added for WebRTC node to determine
this peer is for offer or answer.
 - MEDIA_STREAMER_PARAM_WEBRTC_PEER_TYPE

Handling SDP messages regarding WebRTC node are added.

media_streamer_gst_webrtc.c[h] are added.

[Version] 0.1.51
[Issue Type] New feature

Change-Id: Ic63e1993f75bb598db6e7bc85e861b6f35678e69
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
3 years agoAdd webrtcbin test menu 54/235154/5
Hyunil [Tue, 2 Jun 2020 08:07:01 +0000 (17:07 +0900)]
Add webrtcbin test menu

[Version] 0.1.50
[Issue Type] New feature

Change-Id: I3ce67e4c875461c6421cf9aa0454af04a7ff698d
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
3 years agoAdd internal function - ms_find_element_in_bin_by_type() 24/235024/1
Sangchul Lee [Mon, 1 Jun 2020 02:30:43 +0000 (11:30 +0900)]
Add internal function - ms_find_element_in_bin_by_type()

__ms_bin_find_element_by_type() is renamed to
__ms_bin_find_element_and_link_by_type()

[Version] 0.1.49
[Issue Type] New feature

Change-Id: I09948cb17ce496fa9c42e2a14077080825c12266
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
3 years agoFix return type of ms_rtp_node_prepare() 25/234925/1
Sangchul Lee [Mon, 1 Jun 2020 01:07:44 +0000 (10:07 +0900)]
Fix return type of ms_rtp_node_prepare()

[Version] 0.1.48
[Issue Type] Improvement

Change-Id: I1675c66f243f851b3b593ce34b8135d9e69052cd
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
3 years agoModify __demux_find to __find_node 50/234750/6
Hyunil [Thu, 28 May 2020 09:19:28 +0000 (18:19 +0900)]
Modify __demux_find to __find_node

- now, function is used for all node

[Version] 0.1.47
[Issue Type] Improvement

Change-Id: Id323af85dd26f347febeca488fe00cbc67c92d8a
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
3 years agoAdd VP8 encoder for video encoder bin 94/234694/7
Hyunil [Thu, 28 May 2020 04:46:37 +0000 (13:46 +0900)]
Add VP8 encoder for video encoder bin

- There's no parser for VP8

[Version] 0.1.46
[Issue Type] New feature

Change-Id: I5e859b937aab400feb1d5a262447cde1f9155502
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
3 years agoRelease resources after finishing change of gst state to NULL 75/234575/2
Sangchul Lee [Wed, 27 May 2020 04:23:50 +0000 (13:23 +0900)]
Release resources after finishing change of gst state to NULL

[Version] 0.1.45
[Issue Type] Bug fix

Change-Id: I021849c35725ac757218ec2071491168d579625a
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
3 years agoChange file name - _node_policy_ to _node_dpm_policy_ 12/234412/3
Sangchul Lee [Tue, 26 May 2020 07:18:08 +0000 (16:18 +0900)]
Change file name - _node_policy_ to _node_dpm_policy_

The name of files and internal APIs are changed
to clarify what it relates.

[Version] 0.1.44
[Issue Type] Naming

Change-Id: Ib47ea70d94cdb2833b991efe6f34a1b923ee58aa
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
3 years agoRevise DPM policy checking codes 88/234388/6
Sangchul Lee [Tue, 26 May 2020 04:16:18 +0000 (13:16 +0900)]
Revise DPM policy checking codes

Modified to keep going even if the DPM API fails.
Missing g_object_unref() is added.
Some logs are modified.

[Version] 0.1.43
[Issue Type] Improvement

Change-Id: I2d472262195fca4e7cc80883b5d40279cce0d244
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
3 years agoChange function name - ms_state_change() to ms_set_state() 51/234351/2
Sangchul Lee [Mon, 25 May 2020 11:35:19 +0000 (20:35 +0900)]
Change function name - ms_state_change() to ms_set_state()

[Version] 0.1.42
[Issue Type] Naming

Change-Id: I6a32b0b4ba74034ba761d3183c70e347220f8e82
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
3 years agoUse 'src' to unify parameter name for the source 97/234197/6
Sangchul Lee [Fri, 22 May 2020 11:33:56 +0000 (20:33 +0900)]
Use 'src' to unify parameter name for the source

Parameter names of media_streamer_node_link() are also
revised to avoid any possibility of misunderstanding,
the previous name - src_node - does not mean a source type
node.

[Version] 0.1.41
[Issue Type] Doxygen

Change-Id: Idfa954a679d8c30f04f74944b71c019e93d654ee
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
3 years agoUse '__' prefix only for static functions 95/234195/3
Sangchul Lee [Fri, 22 May 2020 10:54:26 +0000 (19:54 +0900)]
Use '__' prefix only for static functions

Some functions are moved to the proper file.

[Version] 0.1.40
[Issue Type] Naming convention

Change-Id: I1bc0d028ede29369b256cb323b6c926a12a73252
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
3 years agoAdd package for webrtc 08/234008/1
Hyunil [Thu, 21 May 2020 05:12:21 +0000 (14:12 +0900)]
Add package for webrtc

Change-Id: I7ab1b4a5a915e9d90e3b2f54a1d998eed16688ef
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
4 years agoRemove unnecessary @since_tizen command in private headers 80/233180/2
Sangchul Lee [Wed, 13 May 2020 01:20:18 +0000 (10:20 +0900)]
Remove unnecessary @since_tizen command in private headers

[Version] 0.1.39
[Issue Type] Doxygen

Change-Id: I528b8ab30436d108398447fc1cff95a08df874d1
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
4 years agoRevise and move functions 93/232693/3
Sangchul Lee [Thu, 7 May 2020 06:10:53 +0000 (15:10 +0900)]
Revise and move functions

Move internal functions to the proper file.
Revise function signatures to clarify its meaning.

[Version] 0.1.38
[Issue Type] Refactory

Change-Id: I0b796c9ccdbcfd68e81ecd09475d4fd22217692c
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
4 years agoAdd ms_warning() log function 66/232066/1 submit/tizen/20200511.015752
Sangchul Lee [Tue, 28 Apr 2020 05:05:33 +0000 (14:05 +0900)]
Add ms_warning() log function

Use purple color for "<Enter>" as well as "<Leave>".

[Version] 0.1.37
[Issue Type] Log

Change-Id: I48f27d94792f5da15af5390d0d07038421419016
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
4 years agoRemove __ms_check_ini_status() function 86/231986/4
Sangchul Lee [Mon, 27 Apr 2020 06:33:25 +0000 (15:33 +0900)]
Remove __ms_check_ini_status() function

Since the ini file is located in read-only partition,
removal or modification of this file is meaningless.
Also, ini file size can not be a reasonable method
to check if this file is tainted or not.

Missing const qualifier is added.

Unnecessary null check for g_strdup() is removed.

[Version] 0.1.36
[Issue Type] Improvement

Change-Id: I935729f3ab5578feac628845b823e0fe8564eb56
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
4 years agoAdd static directive to internal functions in media_streamer_gst.c 64/231964/1
Sangchul Lee [Mon, 27 Apr 2020 04:33:18 +0000 (13:33 +0900)]
Add static directive to internal functions in media_streamer_gst.c

Unused function prototype in media_streamer_gst.h is also removed.
 : __ms_bin_find_element_by_klass()

[Version] 0.1.35
[Issue Type] Improvement

Change-Id: Ia32b4c59d2a82f56f72336ee4adaabd34feb0be9
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
4 years agoAdd static directive to __ms_get_ini_instance() 54/231954/1
Sangchul Lee [Mon, 27 Apr 2020 03:55:17 +0000 (12:55 +0900)]
Add static directive to __ms_get_ini_instance()

Declaration of this function prototype
in media_streamer_util.h is removed.

[Version] 0.1.34
[Issue Type] Improvement

Change-Id: Iccd1878192392bd9ae6b454927436f9bf701f19e
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
4 years agoMerge "Return the proper data type required by the callback function" into tizen
Sangchul Lee [Fri, 24 Apr 2020 00:55:06 +0000 (00:55 +0000)]
Merge "Return the proper data type required by the callback function" into tizen

4 years agoReturn the proper data type required by the callback function 94/231594/1
Sangchul Lee [Thu, 23 Apr 2020 00:57:17 +0000 (09:57 +0900)]
Return the proper data type required by the callback function

[Version] 0.1.33
[Issue Type] Bug fix

Change-Id: Ic595f855ac859bf7fb4a652b0858a2ec3d6596bc
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
4 years agoRevise the include guards of header files 26/231526/2
Sangchul Lee [Wed, 22 Apr 2020 07:42:18 +0000 (16:42 +0900)]
Revise the include guards of header files

[Version] 0.1.33
[Issue Type] Improvement

Change-Id: Id2c23b3614d29506f1d8773cd21c76079700e707
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
4 years agoFix typos and grammar errors 67/231467/3
Sangchul Lee [Wed, 22 Apr 2020 05:35:21 +0000 (14:35 +0900)]
Fix typos and grammar errors

[Version] 0.1.32
[Issue Type] Typo

Change-Id: Ieb5fd1776c10b27939f700e359664367c45a1015
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
4 years agoRevise internal function names to have consistency 20/231420/3
Sangchul Lee [Wed, 22 Apr 2020 01:55:18 +0000 (10:55 +0900)]
Revise internal function names to have consistency

Previously, there were __ms_create() and __ms_streamer_destroy().
Only __mm_streamer_seek() and __ms_streamer_destroy() use the prefix
of "_streamer_" in the media_streamer_priv.h[c] files.

[Version] 0.1.31
[Issue Type] Refactory

Change-Id: I16cf48b8fb2dae88007b14564dfda88f2fd9ed59
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
4 years agoFix typo - change 'transotions' to 'transitions' 11/231411/3
Sangchul Lee [Wed, 22 Apr 2020 01:39:31 +0000 (10:39 +0900)]
Fix typo - change 'transotions' to 'transitions'

[Version] 0.1.30
[Issue Type] Typo

Change-Id: I8e1f1ab3aea3b89ddb1c7cffbb53ebf4b5ca2437
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
4 years agoMove internal functions to the proper place 10/231410/2
Sangchul Lee [Wed, 22 Apr 2020 01:28:16 +0000 (10:28 +0900)]
Move internal functions to the proper place

Missing static directives are also added.
Change include syntax to use quotation mark
only for the headers of this library.

[Version] 0.1.29
[Issue Type] Refactory

Change-Id: If7d6c21fbe12c73431e67b1bdc17ad38fc34995f
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
4 years agoFix typo - change resouces to resources 96/231296/2
Sangchul Lee [Tue, 21 Apr 2020 05:39:28 +0000 (14:39 +0900)]
Fix typo - change resouces to resources

[Version] 0.1.28
[Issue Type] Typo

Change-Id: Ic11512a96e66f823cfd2978f3dbead88acea7562
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
4 years agoComply with the Tizen coding rule 49/231049/1
Sangchul Lee [Fri, 17 Apr 2020 03:59:04 +0000 (12:59 +0900)]
Comply with the Tizen coding rule

[Version] 0.1.27
[Issue Type] Coding convention

Change-Id: If78ffb56e0351fe7216ec2a4420d340243cd60cd
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
4 years agoRemove useless parameter of the internal functions 56/230956/1
Sangchul Lee [Thu, 16 Apr 2020 07:49:40 +0000 (16:49 +0900)]
Remove useless parameter of the internal functions

The second parameter - media_streamer_node_type_e type -
of functions below is removed.
 - __ms_video_encoder_element_create()
 - __ms_video_decoder_element_create()
 - __ms_audio_encoder_element_create()
 - __ms_audio_decoder_element_create()

Change-Id: I483c8ef261c198424bdfff0b6afcea9651a385b3
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
4 years agoFix typo of the internal function name 52/230952/1
Sangchul Lee [Thu, 16 Apr 2020 07:19:06 +0000 (16:19 +0900)]
Fix typo of the internal function name

Change __ms_node_check_priveleges() to
       __ms_node_check_privileges().

Change-Id: I4550d6f92000e0df9ec30a0d7164c98660eb56d0
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
4 years agoRemove useless condition in __ms_signal_destroy() 51/230951/1
Sangchul Lee [Thu, 16 Apr 2020 06:51:57 +0000 (15:51 +0900)]
Remove useless condition in __ms_signal_destroy()

The first parameter of GST_IS_ELEMENT() macro is nullable
by looking inside of it. If null is set, it will return false.

Change-Id: I83bcdeccfd24623649de73ea159427dd3f93ba24
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
4 years agoRevise description - function names are stated explicitly 38/230738/1
Sangchul Lee [Tue, 14 Apr 2020 02:05:47 +0000 (11:05 +0900)]
Revise description - function names are stated explicitly

Change-Id: I15834188e1b8b92aee0ff32e4eb37f689894777e
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
4 years agoRevise descriptions 36/230636/2
Sangchul Lee [Mon, 13 Apr 2020 06:04:30 +0000 (15:04 +0900)]
Revise descriptions

 1. fix invalid state information of @post of media_streamer_pause().
   - #MEDIA_STREAMER_STATE_READY -> #MEDIA_STREAMER_STATE_PAUSED
 2. fix grammar errors.
   - it have to be free -> it has to be freed
 3. remove redundant 'function' word after mentioning func_xxx().
 4. add punctuation mark when after finishing each @pre, @post
    doxygen command.

Change-Id: Ic62f0a45ebae73b950e55a37e9b2ccb1fe651eda
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
4 years agoRevise description - use uppercase for abbreviations 25/230625/3
Sangchul Lee [Mon, 13 Apr 2020 05:07:53 +0000 (14:07 +0900)]
Revise description - use uppercase for abbreviations

Change-Id: I4f5a48fd76329a27176e4543c4f14118673924d4
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
4 years agoRevise description - change 'src' to 'source' 24/230624/2
Sangchul Lee [Mon, 13 Apr 2020 05:01:28 +0000 (14:01 +0900)]
Revise description - change 'src' to 'source'

Change-Id: Iecd584434cf12248745d8c572e41c13879f2ba9e
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
4 years agodoc: Fix grammar errors 83/230583/2
Sangchul Lee [Mon, 13 Apr 2020 01:18:23 +0000 (10:18 +0900)]
doc: Fix grammar errors

Change-Id: I6ab8dadbb56e8f798c8b97635886cd659b433fde
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
4 years agoAdd debug log to rank compare 16/227216/7 submit/tizen/20200312.092738
Hyunil [Tue, 10 Mar 2020 10:52:00 +0000 (19:52 +0900)]
Add debug log to rank compare

Change-Id: I50d8e54c9ab2fe5f57082443022d206bd1940a46
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
4 years agoCreate node by default name when the type is converter 44/225444/2 accepted/tizen/unified/20200304.124005 submit/tizen/20200221.064623 submit/tizen/20200224.070348 submit/tizen/20200302.032418
Hyunil [Thu, 20 Feb 2020 02:48:23 +0000 (11:48 +0900)]
Create node by default name when the type is converter

Change-Id: Ia14b74732b6aa5f4edd7b4369e407e400cf3fda6
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
4 years agoAdd audio-convert to negotiate with libav and pulsesink 36/225236/2 accepted/tizen/unified/20200219.151746 submit/tizen/20200219.072257
Hyunil [Tue, 18 Feb 2020 08:56:41 +0000 (17:56 +0900)]
Add audio-convert to negotiate with libav and pulsesink

Audio decoder output layout is changed from interleaved to non-interleaved

Change-Id: Ideefdf5d2e4d127611a8d9f67b2cd2730bd1a54e
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
4 years agoChange iniparser api return type by iniparser version upgrade 76/224476/2 accepted/tizen/unified/20200213.121623 submit/tizen/20200205.003954
Hyunil [Tue, 11 Feb 2020 01:21:14 +0000 (10:21 +0900)]
Change iniparser api return type by iniparser version upgrade

Change-Id: If6c0ee230fc88c1e69f1cda1d543ae96e3728ad6
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
4 years agoChange deprecated libsoup API 88/220688/3 accepted/tizen/unified/20191224.131916 submit/tizen/20191218.041916
Hyunil [Fri, 20 Dec 2019 07:44:10 +0000 (16:44 +0900)]
Change deprecated libsoup API

SOUP_SERVER_PORT and soup_server_run_async are deprecated

Change-Id: Ibda64e873fec8c5aeeb858a4b1ad1a94147dc60b
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
4 years agoRemove line coverage exception code for media_streamer_set_play_position 92/220492/1
Hyunil [Thu, 19 Dec 2019 01:25:33 +0000 (10:25 +0900)]
Remove line coverage exception code for media_streamer_set_play_position

Change-Id: I0638aa89ad41877aa964388cbcbc59b6ff97078a
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
4 years agoChange URL of Native API Reference 08/220408/2
Hyunil [Wed, 18 Dec 2019 05:47:01 +0000 (14:47 +0900)]
Change URL of Native API Reference

Change-Id: Ibfd77b17042c390290448509cf01549854b820b4
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
4 years agoAdd exception code for measuring line coverage 84/209084/3
Hyunil [Tue, 2 Jul 2019 06:39:54 +0000 (15:39 +0900)]
Add exception code for measuring line coverage

Change-Id: Ia59bfbda48e4340cc1cee5f651e0de8e141c68be
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
4 years agoAdd MEDIA_FORMAT_ARGB to RAW format for rtp video encoding-name 16/217616/1 accepted/tizen/unified/20191113.123501 submit/tizen/20191113.045359 submit/tizen/20191118.055112
Hyunil [Wed, 13 Nov 2019 04:33:13 +0000 (13:33 +0900)]
Add MEDIA_FORMAT_ARGB to RAW format for rtp video encoding-name

Change-Id: Id31b44ebcc5690effe384c96b34892262dc5a2ed
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
4 years agoModify static link test case for mp4 26/216526/4 accepted/tizen/unified/20191104.010836 submit/tizen/20191101.045156
Hyunil [Mon, 28 Oct 2019 04:11:05 +0000 (13:11 +0900)]
Modify static link test case for mp4

Change-Id: I57740991bd3bfce88e133982787f73f1e520b80c
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
4 years agobug fix for using H/W codec 60/216460/3
Hyunil [Fri, 25 Oct 2019 07:04:22 +0000 (16:04 +0900)]
bug fix for using H/W codec

Change-Id: I6e351c1b35d5ad954d9d7d2be3ab7306e14a6056
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
4 years agoAdd static link test case for mp4 63/216363/3
Hyunil [Thu, 24 Oct 2019 02:21:05 +0000 (11:21 +0900)]
Add static link test case for mp4

Change-Id: Ic7cbb30a8db7f16352670727637a1f0a0f2fa89c
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
4 years agoAdd use-tbm test case for playing with H/W codec 94/216294/2
Hyunil [Wed, 23 Oct 2019 05:50:07 +0000 (14:50 +0900)]
Add use-tbm test case for playing with H/W codec

Change-Id: I068821378dc8fd554c1507ba476676024f61e4ab
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
4 years ago[ACR-1469] Add definition for use-tbm 48/215248/3 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.5/unified/20191031.031502 accepted/tizen/5.5/unified/mobile/hotfix/20201027.065859 accepted/tizen/unified/20191009.231743 submit/tizen/20191008.094502 submit/tizen_5.5/20191031.000002 submit/tizen_5.5_mobile_hotfix/20201026.185102 tizen_5.5.m2_release
Hyunil [Fri, 4 Oct 2019 05:59:50 +0000 (14:59 +0900)]
[ACR-1469] Add definition for use-tbm

Change-Id: Ib9f108c2197e25af144c5c1f5863d777d29cd0c1
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
4 years agoSupport Zero copy(tbm) in auto plugging mode 40/215240/2
Hyunil [Fri, 4 Oct 2019 03:53:16 +0000 (12:53 +0900)]
Support Zero copy(tbm) in auto plugging mode

Change-Id: I704a24082c148e3bd9c34086f0a680aa1cbb8cf0
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
4 years agoAdd test case for capsfilter 42/214942/1
Hyunil [Mon, 30 Sep 2019 05:49:45 +0000 (14:49 +0900)]
Add test case for capsfilter

Change-Id: I296554d31487965cde6756adf45cab29a636796b
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
4 years agoAdd test case for videotestsrc and videosink 79/214779/4
Hyunil [Thu, 26 Sep 2019 08:06:45 +0000 (17:06 +0900)]
Add test case for videotestsrc and videosink

Change-Id: I131b0a0befdfbe166bf63f34db821af3eece191e
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
4 years agoAdd setting false to specify usage 75/212975/1 accepted/tizen/unified/20190902.052808 submit/tizen/20190829.051119
Hyunil [Thu, 29 Aug 2019 04:54:48 +0000 (13:54 +0900)]
Add setting false to specify usage

Change-Id: I8f393a7f8d77db73d1b87b520e309466d58275a6
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
4 years agoRemove SAM Violation GV(global variable) 06/212906/4 submit/tizen/20190829.045136
Hyunil [Wed, 28 Aug 2019 05:44:43 +0000 (14:44 +0900)]
Remove SAM Violation GV(global variable)

Change-Id: Ia84e9e15e148c1fc96e076e0f9006747ddf26d69
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
4 years agoRemove cyclomatic complexity of get/set param value function 35/212835/1 submit/tizen/20190828.002025
Hyunil [Tue, 27 Aug 2019 06:54:52 +0000 (15:54 +0900)]
Remove cyclomatic complexity of get/set param value function

Change-Id: I7b756ce2e17193e3f49dc007252cf1d791c05e38
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
4 years agonode check is separated into src node check and sink node check 06/212706/1
Hyunil [Mon, 26 Aug 2019 07:19:01 +0000 (16:19 +0900)]
node check is separated into src node check and sink node check

Change-Id: I57a4f48e6db9132f2aeffa1550b1882b71a0b6ce
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
4 years agoDefine SYSCONFDIR and remove unused ini path 63/212663/1
Hyunil [Mon, 26 Aug 2019 03:16:27 +0000 (12:16 +0900)]
Define SYSCONFDIR and remove unused ini path

Change-Id: I395fa674ecedd6f5a4b294eab2b642430cf96923
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
4 years agoremove setting use-tbm because default value is false 91/212591/1 accepted/tizen/unified/20190827.043442 submit/tizen/20190826.051840
Hyunil [Fri, 23 Aug 2019 07:05:04 +0000 (16:05 +0900)]
remove setting use-tbm because default value is false

Change-Id: I469c83b8cf4ae2b5b76e3e309c271f7f1111f598
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
4 years agoAdd gcov environment 89/211089/2 accepted/tizen/unified/20190730.112008 submit/tizen/20190730.025926
Hyunil [Tue, 30 Jul 2019 02:53:59 +0000 (11:53 +0900)]
Add gcov environment

Change-Id: I088bd23496518c01c4e82e23555119cba0834acd
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
4 years agoChange input value type for parent_id 17/210617/2 accepted/tizen/unified/20190725.220543 submit/tizen/20190724.035455
Hyunil [Tue, 23 Jul 2019 03:44:10 +0000 (12:44 +0900)]
Change input value type for parent_id

Change-Id: I2e3d6a3285d97a056c9495d935fc545e48848924
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
4 years agoAdd static link test for mp3 file playing 25/210025/3 accepted/tizen/unified/20190723.053512 submit/tizen/20190718.071553
Hyunil [Mon, 15 Jul 2019 05:49:07 +0000 (14:49 +0900)]
Add static link test for mp3 file playing

Change-Id: Id9ede22ad11c9233d47ed63663c7d73698005cd1
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
4 years agoAdd void to empty param function 71/209471/1 submit/tizen/20190710.005521
Hyunil [Mon, 8 Jul 2019 06:34:24 +0000 (15:34 +0900)]
Add void to empty param function

Change-Id: I2fda06f2f813f5cb7e8443c5e9bf6e7303a6a704
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
4 years agoAdd static link test for aac file playing 30/209330/3
Hyunil [Fri, 5 Jul 2019 02:38:46 +0000 (11:38 +0900)]
Add static link test for aac file playing

Change-Id: I10691e3ff5e68edb24e7b224231927461d35197e
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
4 years agoSpecify the audio, video and container format in detail. 58/209258/1
Hyunil [Thu, 4 Jul 2019 05:14:11 +0000 (14:14 +0900)]
Specify the audio, video and container format in detail.

Change-Id: Ia40c7d9da016345c0ebe536615a8f5a23eb529b9
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
4 years agoRename enum string for sharing with audio file 73/209173/1
Hyunil [Wed, 3 Jul 2019 06:39:17 +0000 (15:39 +0900)]
Rename enum string for sharing with audio file

Change-Id: Ic36bfcfaf3061014d905891d97dae55386274ca0
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
4 years agoAdd display_menu to Appsink/src test 70/209170/1
Hyunil [Wed, 3 Jul 2019 06:24:48 +0000 (15:24 +0900)]
Add display_menu to Appsink/src test

Change-Id: Ib9b18b337ef5ba4d399d347ecc643ac071c90ca7
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
4 years agoAdd gcov package for measuring line coverage 65/209065/1 accepted/tizen/unified/20190703.110642 submit/tizen/20190702.070046
Hyunil [Tue, 2 Jul 2019 05:19:51 +0000 (14:19 +0900)]
Add gcov package for measuring line coverage

Change-Id: I42758506055fe93fbaf771ae728636102ce4d882
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
4 years agoAdd static link test menu for local playing 72/208772/5
Hyunil [Fri, 28 Jun 2019 07:12:20 +0000 (16:12 +0900)]
Add static link test menu for local playing

Change-Id: If4be71dc76affa99dfa64af55e6fdf9a00f1e71c
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
4 years agoClarify autoplug test case 80/208280/1 submit/tizen/20190621.094925
Hyunil [Fri, 21 Jun 2019 05:11:32 +0000 (14:11 +0900)]
Clarify autoplug test case

Change-Id: I28da784be128c561bf899513227a6f92c3f3aee1
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
4 years agofix Native API Reference error 29/207629/4 accepted/tizen/unified/20190611.050144 submit/tizen/20190610.223234
Hyunil [Mon, 10 Jun 2019 07:40:40 +0000 (16:40 +0900)]
fix Native API Reference error

Change-Id: I5bbf79ba38ff6eeca8da3a3fa1b5e26bea31f25c
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
4 years agoAdd setting caps to MEDIA_STREAMER_NODE_TYPE_FILTER for static use case 04/207304/2 accepted/tizen/unified/20190604.081916 submit/tizen/20190604.050715
Hyunil [Mon, 3 Jun 2019 04:38:07 +0000 (13:38 +0900)]
Add setting caps to MEDIA_STREAMER_NODE_TYPE_FILTER for static use case

Change-Id: Ifcd755ba8681db6700d6f9679d5273b350b679ba
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
5 years agoRemove channel and rate from creating caps to generate correct caps for RAW format 75/202475/4 submit/tizen/20190401.045827
Hyunil [Fri, 29 Mar 2019 04:23:31 +0000 (13:23 +0900)]
Remove channel and rate from creating caps to generate correct caps for RAW format

Change-Id: I3180f026c1e44626694b849ba1d63c04830cec33
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
5 years agofix that mpegaudioparse node is not create with parse node type and mp3 media_format 49/202249/1 accepted/tizen/unified/20190328.012820 submit/tizen/20190327.071331
Hyunil [Tue, 26 Mar 2019 08:49:42 +0000 (17:49 +0900)]
fix that mpegaudioparse node is not create with parse node type and mp3 media_format

Change-Id: I401ba603608e753337ad203be67797ad4571e9d2
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
5 years agoAvoid confusion about fakesink and fakesrc when using media_streamer_node_create 35/202135/2 accepted/tizen/unified/20190326.024606 submit/tizen/20190325.105256
Hyunil [Mon, 25 Mar 2019 07:04:38 +0000 (16:04 +0900)]
Avoid confusion about fakesink and fakesrc when using media_streamer_node_create

Change-Id: Ic2535382f487a5b97370d146b8e19cc6f10d9f5a
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
5 years agoAvoid changing errnum of strerror_r by dlog 79/195979/2 accepted/tizen/unified/20190108.062335 submit/tizen/20181224.063554 submit/tizen/20190107.072633 submit/tizen/20190107.230638
Hyunil [Thu, 20 Dec 2018 07:50:38 +0000 (16:50 +0900)]
Avoid changing errnum of strerror_r by dlog

Change-Id: Iec86bc156b2dbb701d4ebcab38dc0e2727f579c7
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
5 years agoFix typo in document 13/187713/1 accepted/tizen/5.0/unified/20181102.014508 accepted/tizen/unified/20180828.182301 submit/tizen/20180828.050339 submit/tizen/20180928.053742 submit/tizen_5.0/20181101.000002
Hyunil [Tue, 28 Aug 2018 04:33:01 +0000 (13:33 +0900)]
Fix typo in document

Change-Id: I3563c75db78cff043665cf5989a853a82c0280a6
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
5 years agoApply correct memory release function 04/185604/2 accepted/tizen/unified/20180802.134845 submit/tizen/20180802.014527
Hyunil [Wed, 1 Aug 2018 05:37:47 +0000 (14:37 +0900)]
Apply correct memory release function

Change-Id: Ibce6ef8f1420a14fe9fae45fdb09ab0627607343
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
5 years agoModify capi-media-streamer.pc for setting includedir and libdir path 70/184070/1 accepted/tizen/unified/20180719.063032 submit/tizen/20180718.043756
Hyunil [Fri, 13 Jul 2018 08:58:16 +0000 (17:58 +0900)]
Modify capi-media-streamer.pc for setting includedir and libdir path

Change-Id: Ia3db39935a40b776d67958a3066772fdd9c73976
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
5 years agoChange setting and getting camera_id for v4l2src and remove device property 65/181965/6 accepted/tizen/unified/20180620.131635 submit/tizen/20180620.055043
Hyunil [Tue, 19 Jun 2018 07:56:29 +0000 (16:56 +0900)]
Change setting and getting camera_id for v4l2src and remove device property

Change-Id: I443fddb3a1ddb0032d925de78ed53b7522e3b274
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
6 years agoreplace ecore to ecore-wl2 60/176760/1 accepted/tizen/unified/20180426.062457 submit/tizen/20180424.060023
Hyunil [Mon, 23 Apr 2018 08:08:53 +0000 (17:08 +0900)]
replace ecore to ecore-wl2

Change-Id: Ibcedfd37cd0c01be7ae4b062ddcc438943525512
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
6 years agoApply ecore-wl2 instead of ecore-wayland 76/169376/3 accepted/tizen/unified/20180328.010120 submit/tizen/20180319.053649
Hyunil [Tue, 6 Feb 2018 08:00:40 +0000 (17:00 +0900)]
Apply ecore-wl2 instead of ecore-wayland

Change-Id: I1f3545e93acf6e9001d8b1764eaa9a0029f00212
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
6 years agoVerify input argument of function 97/171597/8 accepted/tizen/unified/20180315.150708 submit/tizen/20180313.060507
Hyunil [Tue, 6 Mar 2018 07:33:52 +0000 (16:33 +0900)]
Verify input argument of function

Change-Id: Idac372a58d6c69c5cb436ca5eda30eee17a2ae7b
Signed-off-by: Hyunil <hyunil46.park@samsung.com>