video rendering, local track creation

This commit is contained in:
David Zhao
2021-08-03 10:25:00 -07:00
parent d193b9fb7f
commit aec2003140
12 changed files with 184 additions and 19 deletions
+3
View File
@@ -19,6 +19,9 @@ class TrackPublication {
updateFromInfo(info);
}
bool get isScreenShare =>
kind == TrackType.VIDEO && name == Track.ScreenShareName;
updateFromInfo(TrackInfo info) {
muted = info.muted;
simulcasted = info.simulcast;