Skip to content

Commit c9cfc2a

Browse files
committed
fix lint
1 parent 4b14912 commit c9cfc2a

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

src/handlers/sdp/RemoteSdp.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,12 @@ export class RemoteSdp {
235235
});
236236

237237
// Let's try to recycle a closed media section (if any).
238-
// NOTE: We cannot recycle a closed m=audio section as m=video (or vice versa). Firefox rejects the SDP when the media type of a recycled m-line changes.
239-
const oldMediaSection = this._mediaSections.find(m => m.closed && m.getObject().type === kind);
238+
// NOTE: We cannot recycle a closed m=audio section as m=video (or vice
239+
// versa). Firefox rejects the SDP when the media type of a recycled m-line
240+
// changes.
241+
const oldMediaSection = this._mediaSections.find(
242+
m => m.closed && m.getObject().type === kind
243+
);
240244

241245
if (oldMediaSection) {
242246
this.replaceMediaSection(mediaSection, oldMediaSection.mid);

0 commit comments

Comments
 (0)