公開メンバ関数 | |
| OwliftMediaRecorder (UvcOwliftFunc uvc, OwliftMic mic) throws OwliftException | |
| OwliftMediaRecorder (UvcOwliftFunc uvc) throws OwliftException | |
| boolean | isActive () |
| void | start () throws OwliftException |
| void | stop () |
| void | setVideoFrameRate (int fr) throws OwliftException |
| void | setVideoBitRate (int br) throws OwliftException |
| void | setVideoPostRecvBuffer (boolean b) throws OwliftException |
| void | openFile (String path) throws OwliftException |
画像・音声を記録するクラスです。
| OwliftMediaRecorder | ( | UvcOwliftFunc | uvc, |
| OwliftMic | mic | ||
| ) | throws OwliftException |
コンストラクタ。
| uvc | 録画対象の UvcOwliftFunc。必ず指定します。 |
| mic | 録音対象の OwliftMic。nullを指定すると音声を記録しません。 |
| OwliftMediaRecorder | ( | UvcOwliftFunc | uvc | ) | throws OwliftException |
| boolean isActive | ( | ) |
録画中かどうかを判断します。
| void openFile | ( | String | path | ) | throws OwliftException |
| void setVideoBitRate | ( | int | br | ) | throws OwliftException |
| void setVideoFrameRate | ( | int | fr | ) | throws OwliftException |
| void setVideoPostRecvBuffer | ( | boolean | b | ) | throws OwliftException |
UvcOwliftFunc.Callback.recvBuffer() が呼ばれた後の画像を録画するかどうかを設定します。
start() の前に実行してください。
デフォルトは false で、recvBuffer() が呼ばれる前の画像が録画されます。 true を設定すると、recvBuffer() 内で UvcOwliftFunc.Buffer.getData() の内容を編集した結果が録画されます。
| b | true : UvcOwliftFunc.Callback.recvBuffer() が呼ばれた後の画像を録画します。 false : UvcOwliftFunc.Callback.recvBuffer() が呼ばれる前の画像を録画します。(デフォルト)。 |
| void start | ( | ) | throws OwliftException |
録画を開始します。
| void stop | ( | ) |
録画を停止します。
|
Copyright (C) 2016 Infinitegra, INC. All Rights Reserved. |
Generated by
|