tv-app-core-types 1.2.3 → 1.2.4
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.
|
@@ -5,7 +5,9 @@ export interface TvChannelDetail {
|
|
|
5
5
|
directCable: string;
|
|
6
6
|
epgCode: string;
|
|
7
7
|
filters: Object;
|
|
8
|
-
hls:
|
|
8
|
+
hls: {
|
|
9
|
+
url: string;
|
|
10
|
+
};
|
|
9
11
|
iptv: IpTvDetail;
|
|
10
12
|
isEncrypted: boolean;
|
|
11
13
|
language: string;
|
|
@@ -21,3 +23,25 @@ export interface IpTvDetail {
|
|
|
21
23
|
port: number;
|
|
22
24
|
protocol: string;
|
|
23
25
|
}
|
|
26
|
+
export interface TvChannelDetailsDV5 {
|
|
27
|
+
protocol: string;
|
|
28
|
+
channelName: string;
|
|
29
|
+
channelId: string;
|
|
30
|
+
sequence: string;
|
|
31
|
+
iptvChannelCode: string;
|
|
32
|
+
stbChannelCode: string;
|
|
33
|
+
channelIp: string;
|
|
34
|
+
channelPort: string;
|
|
35
|
+
serverIp: string;
|
|
36
|
+
serverPort: string;
|
|
37
|
+
channelInterface: string;
|
|
38
|
+
channelQuality: string;
|
|
39
|
+
dimension: string;
|
|
40
|
+
isEncrypted: string;
|
|
41
|
+
channelFps: string;
|
|
42
|
+
smartFps: string;
|
|
43
|
+
hls: null;
|
|
44
|
+
iptvOrStb: string;
|
|
45
|
+
stbType: null;
|
|
46
|
+
channelPId: null;
|
|
47
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ILogDataStream } from "./logs-interface";
|
|
2
2
|
import { IServerInfo, TvData } from "./tv-data-interface";
|
|
3
|
-
import { TvChannelDetail } from "./ip-channel-interface";
|
|
3
|
+
import { TvChannelDetail, TvChannelDetailsDV5 } from "./ip-channel-interface";
|
|
4
4
|
export interface IUtils {
|
|
5
5
|
getPublicIP(): Promise<string> | string;
|
|
6
6
|
getSystemIP(): Promise<string | null>;
|
|
@@ -21,7 +21,7 @@ export interface IUtils {
|
|
|
21
21
|
isTvRegistered(): void;
|
|
22
22
|
fetchIPChannels(): void;
|
|
23
23
|
addRegisteredTv(isRegistered: boolean, isFailed: boolean): void;
|
|
24
|
-
getCurrentChannel(): Promise<TvChannelDetail | boolean>;
|
|
24
|
+
getCurrentChannel(): Promise<TvChannelDetail | TvChannelDetailsDV5 | boolean>;
|
|
25
25
|
getChannelVersion(): Promise<string | boolean>;
|
|
26
26
|
getTizenAppVersion(): void;
|
|
27
27
|
getCpuUsage(): void;
|