OutSystems Forge 日本語データベース

Media With Compression Plugin

※Forge全件データの日本語検索サービスをご利用になりたい場合は、こちらまでお問合せください。

Forge英文サイト

2017-11-23 1.0.0 Davidk All All Plug-ins
圧縮などの機能を含むメディアプラグイン
このプラグインは、デバイス上でオーディオファイルを録音して再生する機能を提供する、cordova-plugin-mediaの修正版です。録音を一時停止し、録音を再開し、オーディオ入力パワーレベルを照会する新しい方法(iOSとAndroidのみ)が含まれています。このプラグインは、Alpha SoftwareのBob Mooreによって作成されたcordova-plugin-media-with-compressionの改訂版です。ボブは圧縮オプションと、録音を一時停止して続ける機能を追加しました。 新しい方法には次のものが含まれます(iOSとAndroidのみ): recordAudioWithCompression(options):オプションオブジェクトにはNumberOfChannelsとSampleRateが含まれます。詳細については、下記のrecordAudioWithCompressionメソッドの説明を参照してください。 https://github.com/rsirunesys/cordova-plugin-media-with-compression NumberOfChannelsオプションは現在1の静的値です。このプラグインラッパーはこのオプションを変数として含めるように簡単に変更できます。 サンプルのモバイルアプリケーションMediaWithCompressionAppも利用できます。このアプリは、プラグインの使用方法を示しています。私はここにこのアプリを含める方法や、それが可能であれば私の個人的な環境からダウンロードするためのリンクを含める方法を見ることができません。 iOSとAndroidテストが完了しました。 Androidオーディオファイルは、デフォルトではsdcardフォルダにあります。 サンプルアプリケーションを使用すると、オーディオ録音リストの行の右から左へスワイプするとリストからその行が削除されますが、録音自体は削除されません。

[Overview]
Media plugin including compression and other features
[Detail]
This plugin is a modified version of cordova-plugin-media that provides the ability to record and play back audio files on a device. Included are new methods (iOS and Android only) to pause recording, resume recording and to query the audio input power levels. This plugin is also a modified version of cordova-plugin-media-with-compression created by Bob Moore of Alpha Software. Bob added the compression options and the ability to pause and continue a recording. New methods include (iOS and Android only): recordAudioWithCompression(options): The options object includes the NumberOfChannels and the SampleRate. See the recordAudioWithCompression method description below for further details. https://github.com/rsirunesys/cordova-plugin-media-with-compression The NumberOfChannels options is currently a static value of 1. This plugin wrapper could be easily modified to include this option as a variable. Also available is a sample Mobile application: MediaWithCompressionApp. This app demonstrates the use of the plugin. I can't see how to include this app here or how to include a link to download it from my personal environment... if that's possible. iOS and Android testing has been done. Android audio files are, by default, located in the sdcard folder. Using the sample app, a right-to-left swipe on a row in the Audio Recordings List will delete that row from the List, but does NOT delete the recording itself.
戻る