Call join

This commit is contained in:
2024-04-27 13:12:26 +08:00
parent 15c8c0fe8f
commit 7ac5c651aa
24 changed files with 1801 additions and 34 deletions

View File

@ -1,3 +1,4 @@
import 'package:livekit_client/livekit_client.dart';
import 'package:solian/models/channel.dart';
class Call {
@ -46,4 +47,22 @@ class Call {
"channel_id": channelId,
"channel": channel.toJson(),
};
}
enum ParticipantStatsType {
unknown,
localAudioSender,
localVideoSender,
remoteAudioReceiver,
remoteVideoReceiver,
}
class ParticipantTrack {
ParticipantTrack(
{required this.participant,
required this.videoTrack,
required this.isScreenShare});
VideoTrack? videoTrack;
Participant participant;
final bool isScreenShare;
}