mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 21:15:32 +09:00
fix: tighten edge cases across services (#3158)
This commit is contained in:
1 parent
a9f7a23c0d
commit
4e6b837ccc
170 files changed
+2028
-421
No files matched your search
@@ -307,7 +307,7 @@ describe('ensureVideoDDExtension', () => {
|
||||
expect(ddOf(sdp, '1')).toBe(13);
|
||||
});
|
||||
|
||||
it('leaves a section that already carries the extension alone', () => {
|
||||
it('leaves a section that already has the extension alone', () => {
|
||||
const sdp = parse(`${singlePcOffer}\na=extmap:3 ${ddExtensionURI}`);
|
||||
expect(ensureVideoDDExtension(sectionOf(sdp, '2'), sdp, 0)).toBe(3);
|
||||
expect(sectionOf(sdp, '2').ext).toHaveLength(2);
|
||||
|
||||
@@ -214,7 +214,7 @@ describe('publisher data channels before negotiation', () => {
|
||||
return {engine, created};
|
||||
}
|
||||
|
||||
it('creates them on a renegotiation that already carries transceivers', async () => {
|
||||
it('creates them on a renegotiation that already has transceivers', async () => {
|
||||
const {engine, created} = engineWithPublisherChannels(false);
|
||||
await engine.negotiate();
|
||||
expect(created).toEqual(['publisher']);
|
||||
|
||||
Reference in new issue
Block a user