diff --git a/packages/p2p-media-loader-core/src/segment-storage/segment-memory-storage.ts b/packages/p2p-media-loader-core/src/segment-storage/segment-memory-storage.ts index bda8ba91..0b4538f0 100644 --- a/packages/p2p-media-loader-core/src/segment-storage/segment-memory-storage.ts +++ b/packages/p2p-media-loader-core/src/segment-storage/segment-memory-storage.ts @@ -162,7 +162,7 @@ export class SegmentMemoryStorage implements SegmentStorage { return segment !== undefined; } - getStoredSegmentIds(streamId: string, _swarmId: string) { + getStoredSegmentIds(_swarmId: string, streamId: string) { const externalIds: number[] = []; for (const { segmentId, streamId: streamCacheId } of this.cache.values()) {