Reuse transceivers (#24)

* protocol 4

* default to v4

* mediaStreamTrack.enabled

* track start

* private constructor

* remote audio/video tracks

* log sdp

* organize imports
This commit is contained in:
Hiroshi Horie
2021-10-26 02:46:10 +09:00
committed by GitHub
parent 330338afbd
commit 71a21f00b6
12 changed files with 120 additions and 27 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ class SignalClient extends Disposable with EventsEmittable<SignalEvent> {
LiveKitWebSocket? _ws;
SignalClient({
this.protocol = ProtocolVersion.protocol3,
this.protocol = ProtocolVersion.protocol4,
}) {
events.listen((event) {
logger.fine('[SignalEvent] $event');