Skip to content

Commit

Permalink
Update types.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
mrlika authored Nov 18, 2024
1 parent 839abd6 commit 87dbdf4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/p2p-media-loader-core/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ export type CoreConfig = Partial<StreamConfig> &
/** Configuration options for the Core functionality, including network and processing parameters. */
export type StreamConfig = {
/**
* Indicates if Peer-to-Peer (P2P) upload is disabled for the stream.
* Controls if peer-to-peer upload is disabled for the stream.
* If `true`, the stream only downloads segments without uploading to peers.
*
* @default
Expand All @@ -198,8 +198,7 @@ export type StreamConfig = {
*/
isP2PUploadDisabled: boolean;
/**
* Indicates whether Peer-to-Peer (P2P) functionality is disabled for the stream.
* If set to true, P2P functionality is disabled for the stream.
* Controls whether peer-to-peer functionality is disabled for the stream.
*
* @default
* ```typescript
Expand Down

0 comments on commit 87dbdf4

Please sign in to comment.