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 -9
View File
@@ -4,14 +4,8 @@ import '../proto/livekit_models.pb.dart';
import 'track.dart';
class VideoTrack extends Track {
VideoTrack(String name, MediaStreamTrack mediaTrack)
MediaStream mediaStream;
VideoTrack(String name, MediaStreamTrack mediaTrack, this.mediaStream)
: super(TrackType.VIDEO, name, mediaTrack);
// TODO: keep list of video renderers
@override
stop() {
super.stop();
// TODO: remove renderer
}
}