Initializes storage
Core configuration with storage options
Main stream configuration
Secondary stream configuration
Provides playback position from player
Playback position
Playback rate
Provides segment request information from player
Swarm identifier
Stream identifier
Segment identifier
Segment start time
Segment end time
Stream type
Is live stream
Stores segment data
Swarm identifier
Stream identifier
Segment identifier
Segment data
Segment start time
Segment end time
Stream type
Is live stream
Returns used memory information in the storage
Returns true if segment is in storage
Swarm identifier
Stream identifier
Segment identifier
Returns segment IDs of a stream that are stored in the storage
Swarm identifier
Stream identifier
Sets segment change callback function
Callback function that has to be called when segments appear or disappear in the storage
Function to destroy storage
Segments storage interface