HomeGuidesAPI Reference
HubBlogChangelogSupport ForumLog In
API Reference

Web SDK - ILogicBody

Home > @rainway/web > ILogicBody

ILogicBody type

The body of a LogicDatagram.

Signature:

export declare type ILogicBody = {
    discriminator: 1;
    value: IDeviceInfo;
} | {
    discriminator: 2;
    value: ICodecPackRequest;
} | {
    discriminator: 3;
    value: ICodecPackResponse;
} | {
    discriminator: 4;
    value: IClientCapabilities;
} | {
    discriminator: 5;
    value: IErrorResponse;
} | {
    discriminator: 6;
    value: IStreamRequest;
} | {
    discriminator: 8;
    value: ILeaveStream;
} | {
    discriminator: 9;
    value: IStreamStopping;
} | {
    discriminator: 10;
    value: IKeyframeRequest;
} | {
    discriminator: 11;
    value: IVideoBitrateRequest;
} | {
    discriminator: 12;
    value: IJoinStream;
} | {
    discriminator: 13;
    value: IPauseStream;
} | {
    discriminator: 14;
    value: IRejectStreamRequest;
} | {
    discriminator: 15;
    value: IInputLevelUpdate;
} | {
    discriminator: 16;
    value: IInputLevelRequest;
} | {
    discriminator: 17;
    value: IStreamAnnouncement;
} | {
    discriminator: 18;
    value: IListStreams;
};

References: IDeviceInfo, ICodecPackRequest, ICodecPackResponse, IClientCapabilities, IErrorResponse, IStreamRequest, ILeaveStream, IStreamStopping, IKeyframeRequest, IVideoBitrateRequest, IJoinStream, IPauseStream, IRejectStreamRequest, IInputLevelUpdate, IInputLevelRequest, IStreamAnnouncement, IListStreams