From d43ffa3a9221ee414ae3c669b1cc6edf948646a1 Mon Sep 17 00:00:00 2001 From: Dmytro Demchenko <91938357+DimaDemchenko@users.noreply.github.com> Date: Fri, 19 Jul 2024 14:35:10 +0300 Subject: [PATCH] Add files via upload --- docs/v1.0/assets/navigation.js | 2 +- docs/v1.0/assets/search.js | 2 +- .../classes/p2p_media_loader_core.Core.html | 40 ++-- ...2p_media_loader_core.CoreRequestError.html | 6 +- .../p2p_media_loader_core.RequestError.html | 8 +- ...p2p_media_loader_hlsjs.HlsJsP2PEngine.html | 20 +- ...p2p_media_loader_shaka.ShakaP2PEngine.html | 20 +- docs/v1.0/modules/p2p_media_loader_core.html | 3 + .../p2p_media_loader_core.ByteRange.html | 2 +- ...2p_media_loader_core.CommonCoreConfig.html | 2 +- .../p2p_media_loader_core.CoreConfig.html | 2 +- .../p2p_media_loader_core.CoreEventMap.html | 20 +- ...p_media_loader_core.DefinedCoreConfig.html | 2 +- .../p2p_media_loader_core.DownloadSource.html | 2 +- ...p_media_loader_core.DynamicCoreConfig.html | 2 +- ...a_loader_core.DynamicStreamProperties.html | 2 +- ...p2p_media_loader_core.EngineCallbacks.html | 2 +- ...edia_loader_core.HttpRequestErrorType.html | 2 +- .../p2p_media_loader_core.PeerDetails.html | 5 +- ...2p_media_loader_core.PeerErrorDetails.html | 178 ++++++++++++++++++ ...edia_loader_core.PeerRequestErrorType.html | 2 +- ...dia_loader_core.RequestAbortErrorType.html | 2 +- ...2p_media_loader_core.RequestErrorType.html | 2 +- .../types/p2p_media_loader_core.Segment.html | 2 +- ...media_loader_core.SegmentAbortDetails.html | 5 +- ...media_loader_core.SegmentErrorDetails.html | 5 +- ..._media_loader_core.SegmentLoadDetails.html | 8 +- ...p2p_media_loader_core.SegmentResponse.html | 2 +- ...media_loader_core.SegmentStartDetails.html | 2 +- ...p_media_loader_core.SegmentWithStream.html | 2 +- .../types/p2p_media_loader_core.Stream.html | 2 +- .../p2p_media_loader_core.StreamConfig.html | 2 +- .../p2p_media_loader_core.StreamType.html | 2 +- ..._media_loader_core.StreamWithSegments.html | 2 +- ...media_loader_core.TrackerErrorDetails.html | 177 +++++++++++++++++ ...dia_loader_core.TrackerWarningDetails.html | 176 +++++++++++++++++ ...der_hlsjs.DynamicHlsJsP2PEngineConfig.html | 2 +- ...dia_loader_hlsjs.HlsJsP2PEngineConfig.html | 2 +- ...p_media_loader_hlsjs.HlsWithP2PConfig.html | 2 +- ...media_loader_hlsjs.HlsWithP2PInstance.html | 2 +- ...der_hlsjs.PartialHlsJsP2PEngineConfig.html | 2 +- ...der_shaka.DynamicShakaP2PEngineConfig.html | 2 +- ...loader_shaka.PartialShakaEngineConfig.html | 2 +- ...dia_loader_shaka.ShakaP2PEngineConfig.html | 2 +- 44 files changed, 639 insertions(+), 92 deletions(-) create mode 100644 docs/v1.0/types/p2p_media_loader_core.PeerErrorDetails.html create mode 100644 docs/v1.0/types/p2p_media_loader_core.TrackerErrorDetails.html create mode 100644 docs/v1.0/types/p2p_media_loader_core.TrackerWarningDetails.html diff --git a/docs/v1.0/assets/navigation.js b/docs/v1.0/assets/navigation.js index 0b3f64cc..00fde358 100644 --- a/docs/v1.0/assets/navigation.js +++ b/docs/v1.0/assets/navigation.js @@ -1 +1 @@ -window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAA6WWUW/TMBDHv4ufW2CRJqBvkFUaCKSoReJhmiovuTWmjm1sF6gQ3x0l7jo3SeOz936//993vrPv7i+x8MeSBVGZmjdQMTrnklag56XUQGZEUVuTBWlktedgXqtMbbqwjQvbtGGvattwMiM7JiqyyGakrBmvNAiyuDsZ5Gd6JafGXNTLB6JX2bt/s5PW2mqgzbeD8hTtQV3Ue47vHfXN+7dX15mn/PFgYUXFFil8Cg/prmHbgLDI47pgpOZ3ZmuXYJT6Mxb06aK6eIeamKr7HM4pRj2keAOPTEDVNlQuxSPb4sQHWNDnIGjDSneoQksF2jJAFuoCjPSMzq2PhXxy2TRSxNr0qbBLrD5W2dU1Rtsngrcgf4uWXcu9LpHPxjmDnPO1pdregKWMYwdwCCK9llpLneLlg0ivDw8yLS8fRHp9kbRKsfK4kFMBEFc5D8DMyPIXCPuVKvyUPBEh9RX83INxZe3uEf/BjqIhv1tr1RGMtBsjMfeS5jZGImuZVsYkF+xu5TOTO5br/BUYJYXBLlrnEKafU3Loc1N5LMWWCcgp5w+03CFnsgeN53HvuQzW55qbHwaxP3dxqAX6lpvPpsiK49lw35mTH0OD80K1ZZS/wHVCAbnavMB8QiH4LnHTLq1FVnwSxlKB+NVPZe6BeKvY+zzDEDZeFRBTNtY2wyGbHABT0x1FDEAXhxqApzW5BWKbwrlMKAQXiHTXFLvj7HRoguUlPC5LRKOMZTjWKPf/ARyPRp1qEAAA" \ No newline at end of file +window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAA6WX3W7bMAyF30XXSbcaKLblbnMDdMMGGEmBXhRFoNqsrUaWNEnZFgx79yF2mso/sSj1nt85IkUK1P1fYuGPJQuiEjWvoWB0ziUtQM9zqYHMiKK2IgtSy2LHwbxTido0YZs2bHMIu6hszcmMbJkoyCKZkbxivNAgyOL+ZJB29HJOjTmrlw5EL5OP/2YnrbXVQOvbvXIU7V6d1XuN7x31/acPl1eJo/xlb2FFRYkUPoX7dNdQ1iAs8rhtMFLzjtmqTTBI/RXz+jRRTXyLmpCquxzOKUTdp3gNT0xAcWioVIonVuLEB5jXZy9ozfL2UJmWCrRlgCzUGRjpGZxbH/P5pLKupQi16VN+l1B9rHJb1xBtl/DegvwtDuxa7nSOfDa6DHLO15Zqew2WMo4dwCGI9FpqLXWMlwsivT4/yri8XBDp9V3SIsbK4XxOGUBY5RwAox1+NX3K53Krab6NMRoBkV53VAsmyhi3Lop5ZZa/QNgfVOHfmRfCp76CnzswbWM2VcCvKKOoz+/GWnUEA+3GSEz3xbmNkchaxpUxygW7nbrM5Jbavh0rMEoKg11VuxCmn2Ny6HNTeSxFyQSklPNHmm+R09mDxvN4cFwGH5CKm2eD+IE0cagvyA0330yWZMez4RaCVn4M9c4L1ZZR/gbXCQXkcvgG8wkF77vEzWHtz5LsqzCWCsRedCpzD8Rbhd5nB0PYOFVATNlY2wyHbHIATEW3FDEATRxqAF4+GgcgtClalwkF7woW7xpjd5ydBo2wPIeHZYlolLEMxxrl4T909TCjrBEAAA==" \ No newline at end of file diff --git a/docs/v1.0/assets/search.js b/docs/v1.0/assets/search.js index 60870779..a3264f38 100644 --- a/docs/v1.0/assets/search.js +++ b/docs/v1.0/assets/search.js @@ -1 +1 @@ -window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAA9Vd23LbOBL9F+VV0Qq802+zjmcnW8mMK87sPrhSLkaCbW4oUktSdrKp/PsWQFLqhrop3jSeebJsA82DPt0N4JACv8/y7LmYXdx+n32J0/XswprP0mgjZxezrbV9vZHrOHqdZNFa5q9XWS5n89kuT2YXs0223iWy+NvW2t7pVndVqzvVavFYbpLZfLZKoqKQxexiNvsxb64grGB/jUtosm7NmLyk7c5n2yiXackCBhdeWs7+ym+ufv7p93cf7y5/e//+t1/vLn/7cHV3+duvP7/9R188r1pN9YCqTZ7Ce/Pxw9VP78dCNa2MQOmKQ8issrQo892qzPLe0HDfEYCspXMIsAdZXmbpffzQGw/sORWaaLtNvr35lkabeDUQFmliMnzr9dWTTMt3cVHKVPYnkTAwFbZcbrInOQ4ebWMqhIUs30dpfC+L8oMstllayN/zpDdI1sxUOB+j4kY+bFT3vthQ1wlz9KbMZbQZkqP7nhPmQGXz7f2vWSqvvsZFWQxJBNLKVCh323VUyoFuMzpPhUm1GxpYuO9kXH7O8rI2+y6L1nE6oOCSNqbl8TqJvn2OVl8GMgm6T1jLflqV8ZN8J59k8ve4zKOy90rtFWdlQpRvi3fx0yBk+55ToYkLECbR56Q/KsrCVOjWsijz7FtvTId+o5CEvnAPC8Wq9nz8tj34qPy2ZdEcmo/bAZgw/v6tlB+i9KEbin3rcSA817W9PYS7u7KrF/D1X+179uHlMGJmn1GUUV4Oh7No+g8CtajHxGCT6XoEsqr3RLi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KN8YywHgKXYFAt6zAGoOjHd271ffClslsUzL+qu121zex2gT7IFAY+8FmF6zwXRoN3f4rOZug8Xl/+HLw+TqAa5cfM4hu+06KqW6uaXUSWQAeqW9O6GyoY0c1xkXKxu4zub2P09K0VSIrS0xwXog/Ni68yw/5+VqE33dyKKIHmQR/w+x4QIj9H3BT/PZNt7KRNW9i9tPP378H6lXLJLJsQAA"; \ No newline at end of file +window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAA9VdXXPbOLL9L8qrohXAb7/NOpk72UpmXElm86BKuRgJtrmRSC5J2c6m8t9vASClBtQtih8aZZ4s20DzoE93AziEyO+TInsqJ1eL75OvSbqaXPHpJI03YnI1yXn+ciNWSfxyncUrUbxcZoWYTCfbYj25mmyy1XYtyn/kPL9VrW51q1vZavZQbdaT6WS5jstSlJOryeTHtLkC4+HuGtfQZN2aMHmN251O8rgQaUUCBheec3d35Vevf/3lz7cfb6//ePfuj99vr/94//r2+o/ff33zf13xvDhqqgNUZbIN74eP71//8m4oVNvKAJQe24fMMkvLqtguq6zoDM3sOwAQn7v7ALsX1XWW3iX3nfHAnmOhifN8/e3VtzTeJMuesFATo+FbrV4/irR6m5SVSEV3EhEDY2ErxCZ7FMPg4TbGQliK6l2cJneirN6LMs/SUvxZrDuDJM2MhfMhLj+I+43s3hWb0XXEHP1QFSLe9MnRXc8Rc0DbfHP3e5aK189JWZV9EgG1MhbKbb6KK9HTbVbnsTDJdn0Dy+w7GpdfsqKqzb7N4lWS9ii4qI1xebxZx9++xMuvPZkE3UesZb8sq+RRvBWPYv3PpCriqvNK7QVlZUSUb8q3yWMvZLueY6FJShAm8Zd1d1SYhbHQrURZFdm3zpj2/QYhiQLm7ReKuvZ8/JbvfVR9y0k0++bDdgA2jH9+q8T7OL0/DcWu9TAQvuc5/g7C7W11qhfM67/Y9ezCy37ExD6jrOKi6g9n1vTvBWpWj4nAJtLVAGS690i4DgLamveORrNue6EoglfvF0PNWAmWim1aJRvx5jSuEDgzaKEHsLY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QM+HoHWr0OTfK5LxP5skCdnRO8oBZjxqLnKSpKQmKLhQPamKNl1XyKHRNq3c9+KwE8opcfOT81DkOpJlHBWquvwfeviCBaUeKVLU1tTOhtyUwiCIqA2Xyr5oXpYJVLhhURJWtXeHADMDaNadmMGnBXNL7oFY3kmazMw1rGTRqlNzd/oF0lBDF0aUFTHJyjs+xHQQsrgFFe/ONyrz5RiVcfsMiEVFhqL+bS0qtcB3ciMRBoyGRxNUuUUUb9wusvg49OlydiSD35Eb2KC/Qu6SyUVSIROsDj5Bb+2Kbylw2Q4+DhOG1M8mxI8sdDgoVr0O34aJRiUOqFMN5FEsnyDM1KjiXIjZ8gI/c84L5FIMB4oIsKbWJYveyAsArXImRmi2ckrFxgBoZUNFV25Dfhob4Qc6RemrdVe7XDjfcDohMcmYuRVXPReJRrL8kVRFX5oYP1maaiiop18mjuayHEzsdnNUmTpM7OQfWLFiOgNsTqvTUD1uCneDsRK4ITMHMrHkQfUTldbviBtfjIem/ZLNdV3Eqsm0Jt87m7A0cQa7UoCWw3jENgdDyyMi2V5kceJRcoqteBwIeuB65JUHiF1yQXBfqbogIC+9YkGGjOh/c0QUzbXPrNKxvCob1PB41NyPmzfJz3kxl82ZyI+/86cuqpK3LhzFsKLWTND/FxcZajgAv+5S7wBtzQKkzNr9UrtQr+OU6EWlVPyQhL8RdYigRPghSn0IPNxNY6YZ45uRQjB0FZgZWcFI2tNl3QC+nWbU1N/AZKRzuH0mBLqBgSM0pKNt8FVdC3gWVGrZhwBDdjnZHhFe4xqHYtYquA2gkZYhHKXJLxDxH1hg+GDOpEyL7wQCOlcT7JL4U1XITP29EWcb3okz+Z9DogavjYsbn6SRPcrGWhf9q8fnHj/8Hdz5tH/DIAAA="; \ No newline at end of file diff --git a/docs/v1.0/classes/p2p_media_loader_core.Core.html b/docs/v1.0/classes/p2p_media_loader_core.Core.html index 2a109302..e740194f 100644 --- a/docs/v1.0/classes/p2p_media_loader_core.Core.html +++ b/docs/v1.0/classes/p2p_media_loader_core.Core.html @@ -157,7 +157,7 @@ --md-sys-color-surface-container-highest: #e9e1d9 }

Core class for managing media streams loading via P2P.

-

Type Parameters

Constructors

Type Parameters

Constructors

Properties

Methods

getConfig @@ -182,57 +182,57 @@

Example

// Create a Core instance using the default configuration.
const core = new Core();
-

Properties

DEFAULT_COMMON_CORE_CONFIG: CommonCoreConfig = ...

Default configuration for common core settings.

-
DEFAULT_STREAM_CONFIG: StreamConfig = ...

Default configuration for stream settings.

-

Methods

Properties

DEFAULT_COMMON_CORE_CONFIG: CommonCoreConfig = ...

Default configuration for common core settings.

+
DEFAULT_STREAM_CONFIG: StreamConfig = ...

Default configuration for stream settings.

+

Methods

  • Applies a set of dynamic configuration updates to the core, merging with the existing configuration.

    +
  • Applies a set of dynamic configuration updates to the core, merging with the existing configuration.

    Parameters

    Returns void

    Example

    // Example of dynamically updating the download time windows and timeout settings.
    const dynamicConfig = {
    httpDownloadTimeWindowMs: 60, // Set HTTP download time window to 60 seconds
    p2pDownloadTimeWindowMs: 60, // Set P2P download time window to 60 seconds
    httpNotReceivingBytesTimeoutMs: 1500, // Set HTTP timeout to 1500 milliseconds
    p2pNotReceivingBytesTimeoutMs: 1500 // Set P2P timeout to 1500 milliseconds
    };
    core.applyDynamicConfig(dynamicConfig);
    -
  • Adds an event listener for the specified event type on the core event target.

    +
  • Adds an event listener for the specified event type on the core event target.

    Type Parameters

    Parameters

    • eventName: K

      The name of the event to listen for.

    • listener: CoreEventMap[K]

      The callback function to invoke when the event is fired.

      -

    Returns void

  • Removes an event listener for the specified event type on the core event target.

    +

Returns void

  • Removes an event listener for the specified event type on the core event target.

    Type Parameters

    Parameters

    • eventName: K

      The name of the event to listen for.

    • listener: CoreEventMap[K]

      The callback function to be removed.

      -

    Returns void

  • Sets the response URL for the manifest, stripping any query parameters.

    +

Returns void

Returns void

Returns void

Returns void

Returns void

Returns void

Returns void

Returns void

Custom error class for errors that occur during core network requests.

-

Hierarchy

  • Error
    • CoreRequestError

Constructors

Hierarchy

  • Error
    • CoreRequestError

Constructors

Properties

Constructors

  • Constructs a new CoreRequestError.

    Parameters

    • type: "failed" | "aborted"

      The type of the error, either 'failed' or 'aborted'.

      -

    Returns CoreRequestError

Properties

type: "failed" | "aborted"

The type of the error, either 'failed' or 'aborted'.

-

Represents an error that can occur during the request process, with a timestamp for when the error occurred.

Type Parameters

Hierarchy

  • Error
    • RequestError

Constructors

Hierarchy

  • Error
    • RequestError

Constructors

Properties

Constructors

Properties

timestamp: number

Error timestamp.

-
type: T

The specific error type.

-
ByteRange: {
    start: number;
    end: number;
}

Represents a range of bytes, used for specifying a segment of data to download.

Type declaration

  • start: number

    The starting byte index of the range.

  • end: number

    The ending byte index of the range.

    -
CoreEventMap: {
    onSegmentLoaded: ((params) => void);
    onSegmentError: ((params) => void);
    onSegmentAbort: ((params) => void);
    onSegmentStart: ((params) => void);
    onPeerConnect: ((params) => void);
    onPeerClose: ((params) => void);
    onChunkDownloaded: ((bytesLength, downloadSource, peerId?) => void);
    onChunkUploaded: ((bytesLength, peerId) => void);
}

The CoreEventMap defines a comprehensive suite of event handlers crucial for monitoring and controlling the lifecycle +

CoreEventMap: {
    onSegmentLoaded: ((params) => void);
    onSegmentError: ((params) => void);
    onSegmentAbort: ((params) => void);
    onSegmentStart: ((params) => void);
    onPeerConnect: ((params) => void);
    onPeerClose: ((params) => void);
    onPeerError: ((params) => void);
    onChunkDownloaded: ((bytesLength, downloadSource, peerId?) => void);
    onChunkUploaded: ((bytesLength, peerId) => void);
    onTrackerError: ((params) => void);
    onTrackerWarning: ((params) => void);
}

The CoreEventMap defines a comprehensive suite of event handlers crucial for monitoring and controlling the lifecycle of segment downloading and uploading processes.

Type declaration

  • onSegmentLoaded: ((params) => void)

    Invoked when a segment is fully downloaded and available for use.

      • (params): void
      • Parameters

        • params: SegmentLoadDetails

          Contains information about the loaded segment.

          @@ -167,14 +167,22 @@

        Returns void

  • onSegmentStart: ((params) => void)

    Fired at the beginning of a segment download process.

      • (params): void
      • Parameters

        Returns void

  • onPeerConnect: ((params) => void)

    Occurs when a new peer-to-peer connection is established.

    -
      • (params): void
      • Parameters

        Returns void

  • onPeerClose: ((params) => void)

    Triggered when an existing peer-to-peer connection is closed.

    -
      • (params): void
      • Parameters

        Returns void

  • onChunkDownloaded: ((bytesLength, downloadSource, peerId?) => void)

    Invoked after a chunk of data from a segment has been successfully downloaded.

    -
      • (bytesLength, downloadSource, peerId?): void
      • Parameters

        • bytesLength: number

          The size of the downloaded chunk in bytes.

          +
            • (params): void
            • Parameters

              • params: PeerDetails

                Contains details about the peer that the event is about.

                +

              Returns void

        • onPeerClose: ((params) => void)

          Triggered when an existing peer-to-peer connection is closed.

          +
            • (params): void
            • Parameters

              • params: PeerDetails

                Contains details about the peer that the event is about.

                +

              Returns void

        • onPeerError: ((params) => void)

          Triggered when an error occurs during a peer-to-peer connection.

          +
            • (params): void
            • Parameters

              • params: PeerErrorDetails

                Contains details about the error and the peer that the event is about.

                +

              Returns void

        • onChunkDownloaded: ((bytesLength, downloadSource, peerId?) => void)

          Invoked after a chunk of data from a segment has been successfully downloaded.

          +
            • (bytesLength, downloadSource, peerId?): void
            • Parameters

              • bytesLength: number

                The size of the downloaded chunk in bytes.

              • downloadSource: DownloadSource
              • Optional peerId: string

                The peer ID of the peer that the event is about, if applicable.

              Returns void

        • onChunkUploaded: ((bytesLength, peerId) => void)

          Called when a chunk of data has been successfully uploaded to a peer.

          -
            • (bytesLength, peerId): void
            • Parameters

              • bytesLength: number

                The length of the segment in bytes.

                +
                  • (bytesLength, peerId): void
                  • Parameters

                    • bytesLength: number

                      The length of the segment in bytes.

                    • peerId: string

                      The peer ID, if the segment was downloaded from a peer

                      -

                    Returns void

DefinedCoreConfig: CommonCoreConfig & {
    mainStream: StreamConfig;
    secondaryStream: StreamConfig;
}

Represents a defined Core configuration with specific settings for the main and secondary streams.

Type declaration

  • mainStream: StreamConfig

    Configuration for the main stream.

  • secondaryStream: StreamConfig

    Configuration for the secondary stream.

    -
DownloadSource: "http" | "p2p"

Specifies the source of a download within a media streaming context.

"http" - Indicates that the segment was downloaded using the HTTP protocol.

"p2p"- Indicates that the segment was downloaded through a peer-to-peer network.

-
DynamicStreamProperties: "highDemandTimeWindow" | "httpDownloadTimeWindow" | "p2pDownloadTimeWindow" | "simultaneousHttpDownloads" | "simultaneousP2PDownloads" | "webRtcMaxMessageSize" | "p2pNotReceivingBytesTimeoutMs" | "p2pInactiveLoaderDestroyTimeoutMs" | "httpNotReceivingBytesTimeoutMs" | "httpErrorRetries" | "p2pErrorRetries" | "validateP2PSegment" | "httpRequestSetup" | "isP2PDisabled"

Represents a set of properties that can be dynamically modified at runtime.

-
HttpRequestErrorType: "http-error" | "http-bytes-mismatch" | "http-unexpected-status-code"

Defines the types of errors specific to HTTP requests.

-
PeerDetails: {
    peerId: string;
}

Represents the details of a peer in a peer-to-peer network.

+
PeerDetails: {
    peerId: string;
    streamType: StreamType;
}

Represents the details of a peer in a peer-to-peer network.

Type declaration

  • peerId: string

    The unique identifier for a peer in the network.

    -
PeerErrorDetails: {
    peerId: string;
    streamType: StreamType;
    error: Error;
}

Represents the details of a peer error event.

+

Type declaration

  • peerId: string

    The unique identifier for a peer in the network.

    +
  • streamType: StreamType

    The type of stream that the peer is connected to.

    +
  • error: Error

    The error that occurred during the peer-to-peer connection.

    +
\ No newline at end of file diff --git a/docs/v1.0/types/p2p_media_loader_core.PeerRequestErrorType.html b/docs/v1.0/types/p2p_media_loader_core.PeerRequestErrorType.html index eec8743d..93377563 100644 --- a/docs/v1.0/types/p2p_media_loader_core.PeerRequestErrorType.html +++ b/docs/v1.0/types/p2p_media_loader_core.PeerRequestErrorType.html @@ -157,7 +157,7 @@ --md-sys-color-surface-container-highest: #e9e1d9 }
PeerRequestErrorType: "peer-response-bytes-length-mismatch" | "peer-protocol-violation" | "peer-segment-absent" | "peer-closed" | "p2p-segment-validation-failed"

Defines the types of errors specific to peer-to-peer requests.

-
RequestAbortErrorType: "abort" | "bytes-receiving-timeout"

Defines the types of errors that can occur during a request abortion process.

-

Enumerates all possible request error types, including HTTP and peer-related errors.

-
SegmentAbortDetails: {
    segment: Segment;
    downloadSource: DownloadSource | undefined;
    peerId: string | undefined;
}

Represents details about a segment abort event.

+
SegmentAbortDetails: {
    segment: Segment;
    downloadSource: DownloadSource | undefined;
    peerId: string | undefined;
    streamType: StreamType;
}

Represents details about a segment abort event.

Type declaration

  • segment: Segment

    The segment that the event is about.

  • downloadSource: DownloadSource | undefined

    The source of the download.

  • peerId: string | undefined

    The peer ID, if the segment was downloaded from a peer.

    -
SegmentErrorDetails: {
    error: RequestError;
    segment: Segment;
    downloadSource: DownloadSource;
    peerId: string | undefined;
}

Represents details about a segment error event.

+
SegmentErrorDetails: {
    error: RequestError;
    segment: Segment;
    downloadSource: DownloadSource;
    peerId: string | undefined;
    streamType: StreamType;
}

Represents details about a segment error event.

Type declaration

  • error: RequestError

    The error that occurred during the segment download.

  • segment: Segment

    The segment that the event is about.

  • downloadSource: DownloadSource

    The source of the download.

  • peerId: string | undefined

    The peer ID, if the segment was downloaded from a peer.

    -
SegmentLoadDetails: {
    bytesLength: number;
    downloadSource: DownloadSource;
    peerId: string | undefined;
}

Represents the details about a loaded segment.

-

Type declaration

  • bytesLength: number

    The length of the segment in bytes.

    +
    SegmentLoadDetails: {
        segmentUrl: string;
        bytesLength: number;
        downloadSource: DownloadSource;
        peerId: string | undefined;
        streamType: StreamType;
    }

    Represents the details about a loaded segment.

    +

    Type declaration

    • segmentUrl: string

      The URL of the loaded segment

      +
    • bytesLength: number

      The length of the segment in bytes.

    • downloadSource: DownloadSource

      The source of the download.

    • peerId: string | undefined

      The peer ID, if the segment was downloaded from a peer.

      -
    SegmentResponse: {
        data: ArrayBuffer;
        bandwidth: number;
    }

    Represents the response from a segment request, including the data and measured bandwidth.

    Type declaration

    • data: ArrayBuffer

      Segment data as an ArrayBuffer.

    • bandwidth: number

      Measured bandwidth for the segment download, in bytes per second.

      -
    SegmentWithStream<TStream>: Segment & {
        stream: StreamWithSegments<TStream>;
    }

    Extends a Segment with a reference to its associated stream.

    -

    Type Parameters

    Type declaration

    StreamType: "main" | "secondary"

    Represents the types of streams available, either primary (main) or secondary.

    -
    StreamWithSegments<TStream>: TStream & {
        segments: Map<string, SegmentWithStream<TStream>>;
    }

    Represents a stream that includes multiple segments, each associated with the stream.

    Type Parameters

    • TStream extends Stream = Stream

      Type of the underlying stream data structure.

      -

    Type declaration

    TrackerErrorDetails: {
        streamType: StreamType;
        error: unknown;
    }

    Represents the details of a tracker error event.

    +

    Type declaration

    • streamType: StreamType

      The type of stream that the tracker is for.

      +
    • error: unknown

      The error that occurred during the tracker request.

      +
    \ No newline at end of file diff --git a/docs/v1.0/types/p2p_media_loader_core.TrackerWarningDetails.html b/docs/v1.0/types/p2p_media_loader_core.TrackerWarningDetails.html new file mode 100644 index 00000000..faf51baf --- /dev/null +++ b/docs/v1.0/types/p2p_media_loader_core.TrackerWarningDetails.html @@ -0,0 +1,176 @@ +TrackerWarningDetails | P2P Media Loader Documentation
    TrackerWarningDetails: {
        streamType: StreamType;
        warning: unknown;
    }

    Type declaration

    • streamType: StreamType

      The type of stream that the tracker is for.

      +
    • warning: unknown

      The warning that occurred during the tracker request.

      +
    \ No newline at end of file diff --git a/docs/v1.0/types/p2p_media_loader_hlsjs.DynamicHlsJsP2PEngineConfig.html b/docs/v1.0/types/p2p_media_loader_hlsjs.DynamicHlsJsP2PEngineConfig.html index e70f7190..1257c5cf 100644 --- a/docs/v1.0/types/p2p_media_loader_hlsjs.DynamicHlsJsP2PEngineConfig.html +++ b/docs/v1.0/types/p2p_media_loader_hlsjs.DynamicHlsJsP2PEngineConfig.html @@ -158,7 +158,7 @@ }
    DynamicHlsJsP2PEngineConfig: {
        core?: DynamicCoreConfig;
    }

    Type for specifying dynamic configuration options that can be changed at runtime for the P2P engine's core.

    Type declaration

    HlsJsP2PEngineConfig: {
        core: CoreConfig;
    }

    Represents the complete configuration for HlsJsP2PEngine.

    Type declaration

    HlsWithP2PConfig<HlsType>: ConstructorParameters<HlsType>[0] & {
        p2p?: PartialHlsJsP2PEngineConfig & {
            onHlsJsCreated?: ((hls) => void);
        };
    }

    Configuration type for HLS instances that includes P2P settings, augmenting standard HLS configuration with P2P capabilities.

    Type Parameters

    • HlsType extends (abstract new () => unknown)

      A constructor type that produces an HLS instance.

      -

    Type declaration

    HlsWithP2PInstance<HlsType>: HlsType & {
        p2pEngine: HlsJsP2PEngine;
    }

    Extends a generic HLS type to include the P2P engine, integrating P2P capabilities directly into the HLS instance.

    Type Parameters

    • HlsType

      The base HLS type that is being extended.

    Type declaration

    PartialHlsJsP2PEngineConfig: Partial<Omit<HlsJsP2PEngineConfig, "core">> & {
        core?: Partial<CoreConfig>;
    }

    Allows for partial configuration of HlsJsP2PEngine, useful for providing overrides or partial updates.

    Type declaration

    • Optional core?: Partial<CoreConfig>

      Partial core config

      -
    DynamicShakaP2PEngineConfig: {
        core?: DynamicCoreConfig;
    }

    Type for specifying dynamic configuration options that can be changed at runtime for the P2P engine's core.

    Type declaration

    PartialShakaEngineConfig: Partial<Omit<ShakaP2PEngineConfig, "core">> & {
        core?: Partial<CoreConfig>;
    }

    Allows for partial configuration settings for the Shaka P2P Engine.

    Type declaration

    • Optional core?: Partial<CoreConfig>

      Partial core config

      -
    ShakaP2PEngineConfig: {
        core: CoreConfig;
    }

    Represents the complete configuration for ShakaP2PEngine.

    Type declaration