You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hisplayer-api.md
+16-1Lines changed: 16 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -447,9 +447,24 @@ Obtain the ID of a certain caption of a certain player. The **playerIndex** is a
447
447
#### public string GetCaptionLanguage(int playerIndex, int ccTrackIndex)
448
448
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.
449
449
450
-
### public void SelectCaptionTrack(int playerIndex, int ccTrackIndex)
450
+
####public void SelectCaptionTrack(int playerIndex, int ccTrackIndex)
451
451
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.
452
452
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
+
453
468
#### protected void EnableABR(int playerIndex)
454
469
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.
0 commit comments