@livedigital/client 3.57.0-lk-5354-api-reference.1 → 3.57.0-lk-5354-api-reference.2
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/types/media.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ import type EnhancedEventEmitter from '../EnhancedEventEmitter';
|
|
|
16
16
|
import type { MOSScores } from '../qoe/types';
|
|
17
17
|
import type { WIDStatsAdapter } from '../qoe/WIDStatsAdapter';
|
|
18
18
|
import type { ScoresCalculator } from '../qoe/ScoresCalculator';
|
|
19
|
-
import type { BaseTrackInfo, EncoderConfig, TrackLabel, TrackOutboundStats,
|
|
19
|
+
import type { BaseTrackInfo, EncoderConfig, TrackLabel, TrackOutboundStats, TrackTransformParams } from './common';
|
|
20
20
|
import type { InternalObserverEvents } from './engine';
|
|
21
21
|
export interface BaseTrackDependenciesParams {
|
|
22
22
|
internalEventEmitter: EnhancedEventEmitter<InternalObserverEvents>;
|
|
@@ -72,12 +72,6 @@ export interface BaseTrack {
|
|
|
72
72
|
closeProducer: (stopTrack?: boolean) => Promise<void>;
|
|
73
73
|
/** Меняет сетевой приоритет отправки этого трека. */
|
|
74
74
|
setPriority: (priority: RTCPriorityType) => Promise<void>;
|
|
75
|
-
/**
|
|
76
|
-
* Низкоуровневый вариант публикации трека с явным контролем параметров кодирования.
|
|
77
|
-
*
|
|
78
|
-
* В большинстве сценариев приложению достаточно вызывать `publish()`.
|
|
79
|
-
*/
|
|
80
|
-
produce: ({ encodings, codecOptions, preferredCodec, transformParams, keyFrameRequestDelay, }: TrackProduceParams) => Promise<void>;
|
|
81
75
|
/** Публикует трек в канале, чтобы он стал доступен другим участникам. */
|
|
82
76
|
publish: () => Promise<void>;
|
|
83
77
|
/** Снимает трек с публикации. */
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@livedigital/client",
|
|
3
3
|
"author": "vlprojects",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"version": "3.57.0-lk-5354-api-reference.
|
|
5
|
+
"version": "3.57.0-lk-5354-api-reference.2",
|
|
6
6
|
"private": false,
|
|
7
7
|
"bugs": {
|
|
8
8
|
"url": "https://github.com/vlprojects/livedigital-sdk/issues"
|