@vkontakte/videoplayer-core 2.0.170 → 2.0.171-beta.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.170",
3
+ "version": "2.0.171-beta.0",
4
4
  "author": "vk.ru",
5
5
  "description": "Videoplayer core library based on the vk.ru platform",
6
6
  "homepage": "https://vk.ru",
@@ -42,6 +42,6 @@
42
42
  "**/*.d.ts"
43
43
  ],
44
44
  "dependencies": {
45
- "@vkontakte/videoplayer-shared": "1.0.99"
45
+ "@vkontakte/videoplayer-shared": "1.0.100-beta.0"
46
46
  }
47
47
  }
@@ -98,6 +98,7 @@ export default class LiveDashPlayer {
98
98
  * send buffering notification to player
99
99
  */
100
100
  private _notifyBuffering;
101
+ private _notifyLoadStart;
101
102
  /**
102
103
  * initialize video tag, add necessary event listeners
103
104
  * @private
@@ -1,11 +1,12 @@
1
+ import { Subject } from "@vkontakte/videoplayer-shared";
1
2
  import type { IError } from "@vkontakte/videoplayer-shared";
2
- import type { IHeuristicDeps } from "../types";
3
+ import type { IHeuristicDeps, IMaydayEvent } from "../types";
3
4
  import type { IAsyncHeuristic, HeuristicResult } from "./IHeuristic";
4
5
  export declare class HangupHeuristic implements IAsyncHeuristic {
5
6
  private deps;
6
7
  static readonly heuristicName = "HangupHeuristic";
7
8
  readonly type = "async";
8
- readonly recommendation$;
9
+ readonly recommendation$: Subject<IMaydayEvent>;
9
10
  private timerId;
10
11
  private sub;
11
12
  private error;