Skip to content

TS: Option to enable / disable to disconnect when pausing. Error emitted #1415

@danrossi

Description

@danrossi

I'm investigating an option to instead of pausing the stream to save on session resources. Call enable / disable to disconnect and reconnect to the relay when toggling to pause.

In my customised module the enable signal to connection and broadcast won't reconnect. But calling the enable signals directly on both connection and broadcast seems to work.

There is some errors emitted when disabling/enabling this way. Calling to close the connection won't reconnect. So enable / disable is the only way. It's just an option as pause/unpause works also but keeps the session open.

Image

The jsdelivr release the UI won't update properly.

https://jsfiddle.net/danrossi303/kcv6zw8r/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions