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
Override this method to add custom logic when **HISPlayerEvent.HISPlayerEvent.HISPLAYER_EVENT_AUTO_TRANSITION** is triggered.
238
253
This event occurs when the playback has changed to the next video in the playlist automatically.
@@ -417,9 +432,33 @@ Get the number of tracks of a certain stream. The **playerIndex** is associated
417
432
#### protected void SelectTrack(int playerIndex, int trackIndex)
418
433
Select a certain track of a certain stream to be used as the main track. This action will disable ABR, to enable it again you can use **EnableABR** API. The possible tracks can be obtained from the tracks returned from the method GetTracks. 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.
419
434
435
+
#### public void EnableCaptions(int playerIndex, bool enabled)
436
+
Enables the captions of the 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.
437
+
438
+
#### public HISPlayerCaptionTrack[] GetCaptionTrackList(int playerIndex)
439
+
Provide information about all the captions 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.
440
+
441
+
#### public int GetCaptionsCount(int playerIndex)
442
+
Obtain the number of captions 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.
443
+
444
+
#### public string GetCaptionID(int playerIndex, int ccTrackIndex)
445
+
Obtain the ID 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.
446
+
447
+
#### public string GetCaptionLanguage(int playerIndex, int ccTrackIndex)
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
+
450
+
### public void SelectCaptionTrack(int playerIndex, int ccTrackIndex)
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
+
420
453
#### protected void EnableABR(int playerIndex)
421
454
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.
422
455
456
+
#### protected void SetMaxBitrate(int playerIndex, int bitrate)
457
+
Set a new maximum bitrate (in bits per second) of a specific track. This doesn’t disable ABR. The possible tracks can be obtained from the tracks returned from the method GetTracks. 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
+
#### protected void SetMinBitrate(int playerIndex, int bitrate)
460
+
Set a new minimum bitrate (in bits per second) of a specific track. This doesn’t disable ABR. The possible tracks can be obtained from the tracks returned from the method GetTracks. 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
+
423
462
#### protected void DisableABR(int playerIndex)
424
463
Disables the ABR to prevent the player from changing tracks regardless of bandwidth. 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