fix: voip code breaking from 0.28

have not tested it but should mostly be fine, rewrite should get in someday anyway :p
This commit is contained in:
td 2024-04-30 18:19:10 +05:30
commit 4095560412
No known key found for this signature in database
GPG key ID: 62A30523D4D6CE28
10 changed files with 124 additions and 115 deletions

View file

@ -90,11 +90,6 @@ class VoipPlugin with WidgetsBindingObserver implements WebRTCDelegate {
]) =>
webrtc_impl.createPeerConnection(configuration, constraints);
@override
VideoRenderer createRenderer() {
return webrtc_impl.RTCVideoRenderer();
}
Future<bool> get hasCallingAccount async =>
kIsWeb ? false : await CallKeepManager().hasPhoneAccountEnabled;
@ -179,12 +174,12 @@ class VoipPlugin with WidgetsBindingObserver implements WebRTCDelegate {
}
@override
Future<void> handleGroupCallEnded(GroupCall groupCall) async {
Future<void> handleGroupCallEnded(GroupCallSession groupCall) async {
// TODO: implement handleGroupCallEnded
}
@override
Future<void> handleNewGroupCall(GroupCall groupCall) async {
Future<void> handleNewGroupCall(GroupCallSession groupCall) async {
// TODO: implement handleNewGroupCall
}
@ -197,4 +192,8 @@ class VoipPlugin with WidgetsBindingObserver implements WebRTCDelegate {
Future<void> handleMissedCall(CallSession session) async {
// TODO: implement handleMissedCall
}
@override
// TODO: implement keyProvider
EncryptionKeyProvider? get keyProvider => throw UnimplementedError();
}