Represents a dynamically modifiable configuration, allowing updates to selected CoreConfig properties at runtime.
Optional
Optional dynamic configuration for the main stream.
Optional dynamic configuration for the secondary stream.
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, }}; Copy
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, }};
Represents a dynamically modifiable configuration, allowing updates to selected CoreConfig properties at runtime.