Marmot-TS
    Preparing search index...

    Type Alias GroupMediaServiceOptions<TMedia>

    type GroupMediaServiceOptions<
        TMedia extends BaseGroupMedia
        | undefined = undefined,
    > = {
        getCiphersuite: () => CiphersuiteImpl;
        getRetainedStates?: () => Iterable<ClientState>;
        getState: () => ClientState;
        media: TMedia;
    }

    Type Parameters

    Index
    getCiphersuite: () => CiphersuiteImpl
    getRetainedStates?: () => Iterable<ClientState>

    The still-retained canonical states (newest epoch first), used to decrypt media from an epoch older than the current tip. Optional — when omitted, decryption uses only the current epoch's key. See GroupMediaService.decryptMedia.

    getState: () => ClientState
    media: TMedia