diff --git a/node/src/test/test-Consumer.ts b/node/src/test/test-Consumer.ts index de4b450438..3aa8a68b08 100644 --- a/node/src/test/test-Consumer.ts +++ b/node/src/test/test-Consumer.ts @@ -739,21 +739,25 @@ test('consumer.dump() succeeds', async () => { expect(dump2.consumableRtpEncodings![0]).toEqual( expect.objectContaining({ ssrc: ctx.videoProducer!.consumableRtpParameters.encodings?.[0].ssrc, + scalabilityMode: 'L1T5', }) ); expect(dump2.consumableRtpEncodings![1]).toEqual( expect.objectContaining({ ssrc: ctx.videoProducer!.consumableRtpParameters.encodings?.[1].ssrc, + scalabilityMode: 'L1T5', }) ); expect(dump2.consumableRtpEncodings![2]).toEqual( expect.objectContaining({ ssrc: ctx.videoProducer!.consumableRtpParameters.encodings?.[2].ssrc, + scalabilityMode: 'L1T5', }) ); expect(dump2.consumableRtpEncodings![3]).toEqual( expect.objectContaining({ ssrc: ctx.videoProducer!.consumableRtpParameters.encodings?.[3].ssrc, + scalabilityMode: 'L1T5', }) ); expect(dump2.supportedCodecPayloadTypes).toEqual([103]); diff --git a/rust/tests/integration/consumer.rs b/rust/tests/integration/consumer.rs index f191c7bda9..fda8cf35ce 100644 --- a/rust/tests/integration/consumer.rs +++ b/rust/tests/integration/consumer.rs @@ -1117,7 +1117,7 @@ fn dump_succeeds() { rtx: None, max_bitrate: None, dtx: None, - scalability_mode: ScalabilityMode::None, + scalability_mode: "L1T5".parse().unwrap(), }) .collect::>() );