android_enableSubscribeLocalStream method
@platform android @hidden for internal use only. @detail api @author shenpengliang @brief Set whether to subscribe to your own stream @param enable Subscribe to yourself/not subscribe to yourself @return - 0: Success. - < 0 : Fail. See ReturnStatus{@link #ReturnStatus} for more details.
Implementation
Future<int?> android_enableSubscribeLocalStream(bool enable) async {
$() => ($instance as $p_a.RTCRoom).enableSubscribeLocalStream(enable);
if (Platform.isAndroid) {
return $();
} else {
throw UnsupportedError(
'Not Support Platform ${Platform.operatingSystem}');
}
}