ngx-agora
Version:
Angular wrapper for Agora RTC client (https://www.agora.io/en/)
57 lines • 4.96 kB
JavaScript
/**
* @fileoverview added by tsickle
* Generated from: lib/data/models/audio-mixing-options.model.ts
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
/**
* Audio mixing settings.
* @record
*/
export function AudioMixingOptions() { }
if (false) {
/**
* Whether or not to store the audio mixing file in the cache.
*
* - `true`: (default) store the audio mixing file in the cache to speed up mixing this file the next time.
* - `false`: do not store the audio mixing file in the cache to save RAM.
* @type {?|undefined}
*/
AudioMixingOptions.prototype.cacheResource;
/**
* Number of playback loops (only supports Chrome 65+)
* A positive integer. The value range is `[1,10000]`. The default value is `1`.
* @type {?|undefined}
*/
AudioMixingOptions.prototype.cycle;
/**
* Path of the online audio file to mix. ASCII characters only, and the string length must be greater than 0 and less than 256 bytes.
* Supported audio formats: mp3, aac, and other audio formats depending on the browser.
* @type {?}
*/
AudioMixingOptions.prototype.filePath;
/**
* Whether the audio mixing file loops infinitely.
*
* - `true`: The audio mixing file loops infinitely. Do not use this option if cycle is specified.
* - `false`: (Default) Disables the infinite loops.
* @type {?|undefined}
*/
AudioMixingOptions.prototype.loop;
/**
* Sets the playback position (ms) of the audio mixing file. An integer, and the value range is `[0,100000000]`.
* If you need to play the file from the beginning, set this paramter to `0`.
* @type {?}
*/
AudioMixingOptions.prototype.playTime;
/**
* Whether the online audio file replaces the local audio stream.
* - `true`: The content of the online audio file replaces the audio stream from the microphone.
* - `false`: (Default) The online audio file is mixed with the audio stream from the microphone.
*
* \@remark
* Safari does not support this parameter.
* @type {?|undefined}
*/
AudioMixingOptions.prototype.replace;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXVkaW8tbWl4aW5nLW9wdGlvbnMubW9kZWwuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtYWdvcmEvIiwic291cmNlcyI6WyJsaWIvZGF0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