🔧(frontend) enable dynacast optimizations
According to the documentation: Dynacast dynamically pauses video layers that are not being consumed by any subscribers, significantly reducing publishing CPU and bandwidth usage. Dynacast will be enabled if SVC codecs (VP9/AV1) are used. Multi-codec simulcast requires dynacast My goal is to reduce CPU and bandwidth usage for clients. Dynacast is enabled both in OpenTalk and LiveKit demo app!
This commit is contained in:
committed by
aleb_the_flash
parent
0eb283b75a
commit
a8618239d1
@@ -66,6 +66,7 @@ export const Conference = ({
|
|||||||
const roomOptions = useMemo((): RoomOptions => {
|
const roomOptions = useMemo((): RoomOptions => {
|
||||||
return {
|
return {
|
||||||
adaptiveStream: true,
|
adaptiveStream: true,
|
||||||
|
dynacast: true,
|
||||||
publishDefaults: {
|
publishDefaults: {
|
||||||
videoCodec: 'vp9',
|
videoCodec: 'vp9',
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user