Skip to content

Commit

Permalink
fix: Doc config typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocobozzz committed Oct 24, 2024
1 parent bdbbd10 commit f9540a3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion packages/p2p-media-loader-core/src/p2p/peer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export class Peer {
(await this.peerConfig.validateP2PSegment?.(
request.segment.url,
request.segment.byteRange,
request.data!
request.data as ArrayBuffer
)) ?? true;

if (this.downloadingContext !== downloadingContext) return;
Expand Down
1 change: 0 additions & 1 deletion packages/p2p-media-loader-core/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ export type CommonCoreConfig = {
* httpDownloadTimeWindow: 3000,
* p2pDownloadTimeWindow: 6000,
* swarmId: "custom swarm ID for video stream",
* cashedSegmentsCount: 1000,
* }
* ```
*
Expand Down

0 comments on commit f9540a3

Please sign in to comment.