InMemoryPlatformMedia
Functions
A change of the outer flow results in new collect of the inner flows. Because this is an expensive operation, the outer flow is throttled by default.
This collects all rooms, so when one changes, a new set gets emitted. A change of the outer flow results in new collect of the inner flows. Because this is an expensive operation, the outer flow is throttled by default.
Returns a TemporaryFile that can be used to get a file representation of the media. This is stored unencrypted, so be careful to TemporaryFile.delete it, when not needed anymore.
Creates a ByteArray and stores it into a cache for re-use.
Converts a flow of timeline events into a flow of list of timeline events limited by maxSize.
Converts a flow of flows of timeline event into a flow of list of timeline events limited by maxSize.