Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ibc committed Dec 30, 2023
1 parent 13e2b8a commit a697f77
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions node/src/Transport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ export class Transport
throw new TypeError('if given, appData must be an object');
}

// Clone given RTP parameters to not modify inout data.
// Clone given RTP parameters to not modify input data.
const clonedRtpParameters = utils.clone<RtpParameters>(rtpParameters);

// This may throw.
Expand Down Expand Up @@ -861,7 +861,7 @@ export class Transport
throw new TypeError('if given, mid must be non empty string');
}

// Clone given RTP capabilities to not modify inout data.
// Clone given RTP capabilities to not modify input data.
const clonedRtpCapabilities = utils.clone<RtpCapabilities>(rtpCapabilities);

// This may throw.
Expand Down Expand Up @@ -1006,7 +1006,7 @@ export class Transport

let type: DataProducerType;

// Clone given SCTP stream parameters to not modify inout data.
// Clone given SCTP stream parameters to not modify input data.
let clonedSctpStreamParameters
= utils.clone<SctpStreamParameters | undefined>(sctpStreamParameters);

Expand Down
2 changes: 1 addition & 1 deletion node/src/Worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@ export class Worker<WorkerAppData extends AppData = AppData>
throw new TypeError('if given, appData must be an object');
}

// Clone given media codecs to not modify inout data.
// Clone given media codecs to not modify input data.
const clonedMediaCodecs =
utils.clone<RtpCodecCapability[] | undefined>(mediaCodecs);

Expand Down

0 comments on commit a697f77

Please sign in to comment.