diff options
author | Jeongmo Yang <jm80.yang@samsung.com> | 2017-05-08 19:20:51 +0900 |
---|---|---|
committer | Jeongmo Yang <jm80.yang@samsung.com> | 2017-05-10 19:16:31 +0900 |
commit | 15dc716c2e5d163160835e379f03918a1b26e63f (patch) | |
tree | d1db6ad608d45a54c533d2797d74af72becdf3c1 | |
parent | a17d7f16fa114838d17f32a1999724180eaebae8 (diff) | |
download | recorder-15dc716c2e5d163160835e379f03918a1b26e63f.tar.gz recorder-15dc716c2e5d163160835e379f03918a1b26e63f.tar.bz2 recorder-15dc716c2e5d163160835e379f03918a1b26e63f.zip |
[ACR-962] Remove recorder privilege from some APIstizen_4.0.m1_releasesubmit/tizen/20170515.041223accepted/tizen/unified/20170515.074604
Actually, some APIs includes recorder_create_* does not access recording device,
but, it couldn't be done without recorder privilege.
[Version] 0.3.0
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
Change-Id: Ia6ad999f7fa2e34f675a8c5ee8c9271d86998d2c
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
-rw-r--r-- | include/recorder.h | 14 | ||||
-rw-r--r-- | packaging/capi-media-recorder.spec | 2 |
2 files changed, 5 insertions, 11 deletions
diff --git a/include/recorder.h b/include/recorder.h index 86ebf95..c0e2c4a 100644 --- a/include/recorder.h +++ b/include/recorder.h @@ -369,8 +369,6 @@ typedef bool (*recorder_supported_video_encoder_cb)(recorder_video_codec_e codec /** * @brief Creates a recorder handle to record a video. * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif - * @privlevel public - * @privilege %http://tizen.org/privilege/recorder * @remarks You must release @a recorder using recorder_destroy(). \n * The @a camera handle also could be used for capturing images. \n * If the camera state was #CAMERA_STATE_CREATED, the preview format will be changed to the recommended preview format for recording. @@ -378,6 +376,8 @@ typedef bool (*recorder_supported_video_encoder_cb)(recorder_video_codec_e codec * #CAMERA_STATE_CREATED -> #RECORDER_STATE_CREATED\n * #CAMERA_STATE_PREVIEW -> #RECORDER_STATE_READY\n * #CAMERA_STATE_CAPTURED -> #RECORDER_STATE_READY + * @remarks The privilege %http://tizen.org/privilege/recorder is not required since 4.0,\n + * but it is required in all earlier versions. * @param[in] camera The handle to the camera * @param[out] recorder A handle to the recorder * @return @c 0 on success, otherwise a negative error value @@ -397,9 +397,9 @@ int recorder_create_videorecorder(camera_h camera, recorder_h *recorder); /** * @brief Creates a recorder handle to record an audio. * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif - * @privlevel public - * @privilege %http://tizen.org/privilege/recorder * @remarks You must release @a recorder using recorder_destroy(). + * @remarks The privilege %http://tizen.org/privilege/recorder is not required since 4.0,\n + * but it is required in all earlier versions. * @param[out] recorder A handle to the recorder * @return @c 0 on success, otherwise a negative error value * @retval #RECORDER_ERROR_NONE Successful @@ -418,8 +418,6 @@ int recorder_create_audiorecorder(recorder_h *recorder); /** * @brief Destroys the recorder handle. * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif - * @privlevel public - * @privilege %http://tizen.org/privilege/recorder * @remarks The video recorder's camera handle is not released by this function. * @param[in] recorder The handle to the media recorder * @return @c 0 on success, otherwise a negative error value @@ -440,8 +438,6 @@ int recorder_destroy(recorder_h recorder); /** * @brief Prepares the media recorder for recording. * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif - * @privlevel public - * @privilege %http://tizen.org/privilege/recorder * @remarks Before calling the function, it is required to properly set audio encoder (recorder_set_audio_encoder()), * video encoder(recorder_set_video_encoder()) and file format (recorder_set_file_format()). * @param[in] recorder The handle to the media recorder @@ -470,8 +466,6 @@ int recorder_prepare(recorder_h recorder); /** * @brief Resets the media recorder. * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif - * @privlevel public - * @privilege %http://tizen.org/privilege/recorder * @param[in] recorder The handle to the media recorder * @return @c 0 on success, otherwise a negative error value * @retval #RECORDER_ERROR_NONE Successful diff --git a/packaging/capi-media-recorder.spec b/packaging/capi-media-recorder.spec index 4936912..4b1d3a0 100644 --- a/packaging/capi-media-recorder.spec +++ b/packaging/capi-media-recorder.spec @@ -1,6 +1,6 @@ Name: capi-media-recorder Summary: A Recorder API -Version: 0.2.54 +Version: 0.3.0 Release: 0 Group: Multimedia/API License: Apache-2.0 |