feat: (for now android only!) codec configuration and retrieval methods
This commit is contained in:
parent
32789468a3
commit
90733a3768
6 changed files with 117 additions and 0 deletions
|
|
@ -4,6 +4,7 @@ import 'package:plugin_platform_interface/plugin_platform_interface.dart';
|
|||
import 'liblinphone_flutter_method_channel.dart';
|
||||
import 'models/call_stats.dart';
|
||||
import 'models/dscp_values.dart';
|
||||
import 'models/lp_codec.dart';
|
||||
|
||||
abstract class LiblinphoneFlutterPlatform extends PlatformInterface {
|
||||
/// Constructs a LiblinphoneFlutterPlatform.
|
||||
|
|
@ -139,4 +140,12 @@ abstract class LiblinphoneFlutterPlatform extends PlatformInterface {
|
|||
Future<CallStats?> getCurrentCallStats() async {
|
||||
throw UnimplementedError('getCurrentCallStats() has not been implemented.');
|
||||
}
|
||||
|
||||
Future<List<LPCodec>> getAvailableAudioCodecs() async {
|
||||
throw UnimplementedError('getCurrentCallStats() has not been implemented.');
|
||||
}
|
||||
|
||||
Future<bool> setAudioCodec(String mime, int clockRate) async {
|
||||
throw UnimplementedError('getCurrentCallStats() has not been implemented.');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue