Simpler APIs (#28)

* TrackSource

* remove absolute import

* typo

* get track

* set source enabled

* fix symbol collision

* move to participant

* update proto

* screen share audio

* typo

* format

* change screen share name
This commit is contained in:
Hiroshi Horie
2021-11-11 00:20:32 +09:00
committed by GitHub
parent abae7a7ff7
commit 1095e25113
19 changed files with 159 additions and 19 deletions
+2
View File
@@ -151,6 +151,7 @@ class SignalClient extends Disposable with EventsEmittable<SignalEvent> {
required String cid,
required String name,
required lk_models.TrackType type,
required lk_models.TrackSource source,
TrackDimension? dimension,
bool? dtx,
}) {
@@ -158,6 +159,7 @@ class SignalClient extends Disposable with EventsEmittable<SignalEvent> {
cid: cid,
name: name,
type: type,
source: source,
);
if (type == lk_models.TrackType.VIDEO && dimension != null) {