Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ibc committed Feb 29, 2024
1 parent af7833c commit a3bdf46
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions node/src/test/test-Consumer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down
2 changes: 1 addition & 1 deletion rust/tests/integration/consumer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1117,7 +1117,7 @@ fn dump_succeeds() {
rtx: None,
max_bitrate: None,
dtx: None,
scalability_mode: ScalabilityMode::None,
scalability_mode: "L1T5".parse().unwrap(),
})
.collect::<Vec<_>>()
);
Expand Down

0 comments on commit a3bdf46

Please sign in to comment.