mirror of
https://github.com/livekit/livekit.git
synced 2026-08-06 23:39:43 +00:00
set DownTrack's initial codec to first codec of potential codecs (#740)
This commit is contained in:
@@ -216,6 +216,7 @@ func NewDownTrack(
|
||||
receiver: r,
|
||||
upstreamCodecs: codecs,
|
||||
kind: kind,
|
||||
codec: codecs[0],
|
||||
}
|
||||
d.forwarder = NewForwarder(d.kind, d.logger)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user