@vkontakte/videoplayer-core 2.0.113-dev.a853d449.0 → 2.0.113-dev.b7c2037c.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vkontakte/videoplayer-core",
3
- "version": "2.0.113-dev.a853d449.0",
3
+ "version": "2.0.113-dev.b7c2037c.0",
4
4
  "author": "vk.com",
5
5
  "description": "Videoplayer core library based on the vk.com platform",
6
6
  "homepage": "https://vk.com",
@@ -49,7 +49,7 @@
49
49
  "**/*.d.ts"
50
50
  ],
51
51
  "dependencies": {
52
- "@vkontakte/videoplayer-shared": "1.0.45-dev.47c22cbb.0",
52
+ "@vkontakte/videoplayer-shared": "1.0.45-dev.5ee6a138.0",
53
53
  "hls.js": "~1.4.7"
54
54
  }
55
55
  }
@@ -7,11 +7,16 @@ export declare class VolumeMultiplierManager {
7
7
  private volumeMultiplierError$;
8
8
  private volumeMultiplier;
9
9
  private static errorId;
10
+ private destroyController;
10
11
  private subscriptions;
11
- private lastAudioContextResumeId;
12
- constructor(providerOutput: IProviderOutput, provider$: IValueSubject<IProviderEntry>, volumeMultiplierError$: ISubject<IError>, volumeMultiplier: number, enabled: boolean);
12
+ private audioContext;
13
+ private gainNode;
14
+ private mediaElementSource;
15
+ constructor(providerOutput: IProviderOutput, provider$: IValueSubject<IProviderEntry>, volumeMultiplierError$: ISubject<IError>, volumeMultiplier: number);
13
16
  private subscribe;
14
- private isSupported;
17
+ static isSupported(): boolean;
15
18
  private initAudioContextOnce;
19
+ private cleanup;
16
20
  destroy(): void;
21
+ private handleError;
17
22
  }
@@ -1,9 +1 @@
1
- interface IAudioContext {
2
- audioCtx: AudioContext;
3
- gainNode: GainNode;
4
- }
5
- /**
6
- * Возвращает AudioContext
7
- */
8
- export declare function getAudioContext(): IAudioContext;
9
- export {};
1
+ export declare function createAudioContext(): AudioContext;