public class MediastreamerAndroidContext
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
DEVICE_HAS_BUILTIN_AEC |
static int |
DEVICE_HAS_BUILTIN_AEC_CRAPPY |
static int |
DEVICE_HAS_BUILTIN_OPENSLES_AEC |
static int |
DEVICE_USE_ANDROID_CAMCORDER |
static int |
DEVICE_USE_ANDROID_MIC |
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.content.Context |
getContext() |
static int |
getDeviceFavoriteBufferSize() |
static int |
getDeviceFavoriteSampleRate() |
static boolean |
getSpeakerphoneAlwaysOn(Factory factory) |
static void |
setContext(java.lang.Object c) |
public static final int DEVICE_HAS_BUILTIN_AEC
public static final int DEVICE_HAS_BUILTIN_AEC_CRAPPY
public static final int DEVICE_USE_ANDROID_MIC
public static final int DEVICE_HAS_BUILTIN_OPENSLES_AEC
public static final int DEVICE_USE_ANDROID_CAMCORDER
public static android.content.Context getContext()
public static int getDeviceFavoriteSampleRate()
public static int getDeviceFavoriteBufferSize()
public static void setContext(java.lang.Object c)
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