Skip to content

Commit e150dde

Browse files
Add GetProgramDateTimeEpoch and GetProgramDateTimeString
Added functions to retrieve program date and time information.
1 parent 11acb86 commit e150dde

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

hisplayer-api.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,12 @@ Obtain the language of a certain audio of a certain player. The playerIndex is a
402402
#### void SelectAudioTrack(int playerIndex, int audioTrackIndex)
403403
Select a certain audio-track of a certain stream to be used. Before using this functions is recommended to use GetAudioTrackList in order to know all the information about the audio-tracks. The playerIndex is associated with the index of the element of Multi Stream Properties, e.g. the index 0 is the element 0 in the list.
404404

405+
#### long GetProgramDateTimeEpoch(int playerIndex)
406+
Get the epoch time (in seconds since 1970) of the first EXT-X-PROGRAM-DATE-TIME tag of a certain player in seconds. Only available for HLS manifests that have the tag information. The **playerIndex** is associated with the index of the element of **Multi Stream Properties**, e.g. the index 0 is the element 0 in the list.
407+
408+
#### string GetProgramDateTimeString(int playerIndex)
409+
Get the EXT-X-PROGRAM-DATE-TIME value seen in the manifest of a certain player. Only available for HLS manifests that have the tag information. The **playerIndex** is associated with the index of the element of **Multi Stream Properties**, e.g. the index 0 is the element 0 in the list.
410+
405411
#### void SetLogLevel(LogLevel logLevel)
406412
Establishes the amount of logs to be shown.
407413
**logLevel**: The log level to be used: 0->DEBUG, 1->INFO, 2->WARNING, 3->ERROR, 4->NONE

0 commit comments

Comments
 (0)