videoflix-frontend - v0.0.0
    Preparing search index...

    Video Quality Service.

    Dynamically adjusts the video playback quality based on the user's current network speed (via Network Information API).

    It emits messages to inform the user about quality changes and provides a reactive signal (qualityIndex) to control the player source.

    Index

    Constructors

    Properties

    qualityIndex: WritableSignal<number> = ...

    Signal representing the current quality level index. Levels:

    • 0: Lowest (slow connection)
    • 1: Medium-low
    • 2: Standard (default)
    • 3: High (fast connection)
    sourceUpdateMessage: WritableSignal<string> = ...

    Signal displaying informational messages when video quality changes. Example messages: "Video quality has been increased due to your fast connection."

    Methods

    • Clears the informational message after a delay. Typically used to prevent persistent UI notifications.

      Returns void