From 712322edd1904e8b7d1d05180cd7cb566b593d5c Mon Sep 17 00:00:00 2001 From: Haesu Gwon Date: Thu, 19 Oct 2017 18:26:53 +0900 Subject: [PATCH] Change class name and some values PS2: Reviewed Change-Id: I8198303df2218729a40b99cde01bb71e7d478798 Signed-off-by: Haesu Gwon --- org.tizen.guides/html/dotnet/media/camera_cs.htm | 4 ++-- org.tizen.guides/html/dotnet/media/recorder.htm | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/org.tizen.guides/html/dotnet/media/camera_cs.htm b/org.tizen.guides/html/dotnet/media/camera_cs.htm index d2d026f..2a1bf58 100644 --- a/org.tizen.guides/html/dotnet/media/camera_cs.htm +++ b/org.tizen.guides/html/dotnet/media/camera_cs.htm @@ -76,7 +76,7 @@
  • Scene mode, HDR, theater
  • Image quality
  • -

    Depending on the camera device type, the device can support different orientations, resolutions, or preview and capture formats. You can obtain this information from the device using the SupportedPreviewResolutions, SupportedCapturePixelFormats, or other SupportedXXX properties of the Tizen.Multimedia.CameraFeatures class.

    +

    Depending on the camera device type, the device can support different orientations, resolutions, or preview and capture formats. You can obtain this information from the device using the SupportedPreviewResolutions, SupportedCapturePixelFormats, or other SupportedXXX properties of the Tizen.Multimedia.CameraCapabilities class.

    Since devices can have multiple camera sensors with different capabilities, create a Tizen.Multimedia.Camera instance with a proper Tizen.Multimedia.CameraDevice enumeration value, determining which camera sensor is used. Usually the primary sensor is located on the back side and the secondary sensor on the front side of the device. Once the camera sensor is selected, the selected sensor starts working.

    @@ -152,7 +152,7 @@ camera.Display = new Display(new MediaView(new Window("CameraWindow")));
  • Set the camera preview resolution using the PreviewResolution property of the Tizen.Multimedia.CameraSettings class. You must set this property before previewing. -

    To find out which resolutions can be set for the camera preview on a specific device, use the SupportedPreviewResolutions property of the Tizen.Multimedia.CameraFeatures class. This property returns an IEnumerable variable.

    +

    To find out which resolutions can be set for the camera preview on a specific device, use the SupportedPreviewResolutions property of the Tizen.Multimedia.CameraCapabilities class. This property returns an IEnumerable variable.

    The following example sets the camera preview resolution to the first found supported resolution:

    diff --git a/org.tizen.guides/html/dotnet/media/recorder.htm b/org.tizen.guides/html/dotnet/media/recorder.htm index 36c40c6..c6a5bfb 100644 --- a/org.tizen.guides/html/dotnet/media/recorder.htm +++ b/org.tizen.guides/html/dotnet/media/recorder.htm @@ -105,7 +105,7 @@ AudioRecorder audioRecorder = new AudioRecorder(RecorderAudioCodec.Aac, Recorder audioRecorder.SizeLimit = 1024; /// Set the audio encoder bitrate -audioRecorder.AudioBitRate = 28800; +audioRecorder.AudioBitRate = 128000; /// Set the audio device as microphone audioRecorder.AudioDevice = RecorderAudioDevice.Mic; @@ -260,7 +260,7 @@ videoRecorder.VideoMotionRate = 1; videoRecorder.VideoBitRate = 288000; /// Set the audio encoder bitrate -videoRecorder.AudioBitRate = 28800; +videoRecorder.AudioBitRate = 128000; /// Set the audio sample rate videoRecorder.AudioSampleRate = 44100; -- 2.7.4