name field for participant

This commit is contained in:
Hiroshi Horie
2022-01-02 01:38:54 +07:00
parent 252ee3ed3b
commit 44a42eafea
5 changed files with 15 additions and 2 deletions
+3
View File
@@ -22,10 +22,12 @@ class RemoteParticipant extends Participant<RemoteTrackPublication> {
required Room room,
required String sid,
required String identity,
required String name,
}) : super(
room: room,
sid: sid,
identity: identity,
name: name,
);
@internal
@@ -36,6 +38,7 @@ class RemoteParticipant extends Participant<RemoteTrackPublication> {
room: room,
sid: info.sid,
identity: info.identity,
name: info.name,
) {
updateFromInfo(info);
}