Skip to content

Commit e474b42

Browse files
Update hisplayer-api.md
1 parent c1d9309 commit e474b42

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

hisplayer-api.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,9 +447,24 @@ Obtain the ID of a certain caption of a certain player. The **playerIndex** is a
447447
#### public string GetCaptionLanguage(int playerIndex, int ccTrackIndex)
448448
Obtain the language of a certain caption of a certain player. 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.
449449

450-
### public void SelectCaptionTrack(int playerIndex, int ccTrackIndex)
450+
#### public void SelectCaptionTrack(int playerIndex, int ccTrackIndex)
451451
Select a certain caption of a certain stream to be used. Before using this functions is recommended to use GetCaptionTrackList in order to know all the information about the captions. 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.
452452

453+
#### public HisPlayerAudioTrack[] GetAudioTrackList(int playerIndex)
454+
Provide information about all the audio tracks of a certain stream. 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.
455+
456+
#### public int GetAudioCount(int playerIndex)
457+
Obtain the number of audio of a certain stream. 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.
458+
459+
#### public string GetAudioID(int playerIndex, int audioTrackIndex)
460+
Obtain the ID of a certain audio of a certain player. 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.
461+
462+
#### protected string GetAudioLanguage(int playerIndex, int audioTrackIndex)
463+
Obtain the language of a certain audio of a certain player. 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.
464+
465+
#### protected void SelectAudioTrack(int playerIndex, int audioTrackIndex)
466+
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.
467+
453468
#### protected void EnableABR(int playerIndex)
454469
Enables the ABR to change automatically between 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.
455470

0 commit comments

Comments
 (0)