DynamicCoreConfig: Partial<Pick<CoreConfig, DynamicStreamProperties>> & Partial<CommonCoreConfig> & {
    mainStream?: Partial<Pick<StreamConfig, DynamicStreamProperties>>;
    secondaryStream?: Partial<Pick<StreamConfig, DynamicStreamProperties>>;
}

Represents a dynamically modifiable configuration, allowing updates to selected CoreConfig properties at runtime.

Type declaration

const dynamicConfig: DynamicCoreConfig = {
core: {
cachedSegmentsCount: 200,
},
mainStream: {
swarmId: "custom swarm ID for video stream",
p2pDownloadTimeWindow: 6000,
},
secondaryStream: {
swarmId: "custom swarm ID for audio stream",
p2pDownloadTimeWindow: 3000,
}
};