@stinkycomputing/web-live-player 0.1.11 → 0.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/sources/stream-source.d.ts +5 -0
- package/dist/web-live-player.cjs +2 -2
- package/dist/web-live-player.mjs +2113 -2128
- package/package.json +2 -2
|
@@ -70,4 +70,9 @@ export declare abstract class BaseStreamSource implements IStreamSource {
|
|
|
70
70
|
protected emit(event: 'error', error: Error): void;
|
|
71
71
|
protected emit(event: 'connected' | 'disconnected'): void;
|
|
72
72
|
dispose(): void;
|
|
73
|
+
/**
|
|
74
|
+
* Parse raw binary data using the wire protocol and emit a typed stream event.
|
|
75
|
+
* Shared by all transport sources (WebSocket, MoQ, etc.) to ensure consistent handling.
|
|
76
|
+
*/
|
|
77
|
+
protected parseAndEmitStreamData(trackName: string, data: Uint8Array): void;
|
|
73
78
|
}
|