public class MediastreamerAndroidContext
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
enableFilterFromName(java.lang.String name,
boolean enable)
Deprecated.
|
static boolean |
filterFromNameEnabled(java.lang.String name)
Deprecated.
|
static android.media.AudioDeviceInfo[] |
getAudioDevices(java.lang.String device_dir) |
static android.content.Context |
getContext() |
static int |
getDeviceFavoriteBufferSize() |
static int |
getDeviceFavoriteSampleRate() |
static java.lang.String |
getNativeLibrariesDirectory() |
static boolean |
getSpeakerphoneAlwaysOn(Factory factory) |
static void |
setContext(java.lang.Object c) |
public static android.content.Context getContext()
public static int getDeviceFavoriteSampleRate()
public static int getDeviceFavoriteBufferSize()
public static java.lang.String getNativeLibrariesDirectory()
public static void setContext(java.lang.Object c)
public static android.media.AudioDeviceInfo[] getAudioDevices(java.lang.String device_dir)
public static boolean getSpeakerphoneAlwaysOn(Factory factory)
public static void enableFilterFromName(java.lang.String name, boolean enable) throws MediastreamException
name
- A name for the filter. refer to ms2 internals to get list of filtersenable,
- true/falseMediastreamException
- if filter name is unknownpublic static boolean filterFromNameEnabled(java.lang.String name)
name
- A name for the filter. refer to ms2 internals to get list of filters