Skip to content

Commit b3d870a

Browse files
Update hisplayer-api.md
1 parent 0bc2e7c commit b3d870a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

hisplayer-api.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,18 @@ The following public APIs are provided by **HISPlayerManager**
106106
* **public int width**: Width of the track.
107107
* **public int height**: Height of the track.
108108
* **public int framerate**: Framerate of the track in frames per second.
109+
110+
* **public struct HISPlayerCaptionTrack**:
111+
* **public string id**: Id of the caption
112+
* **public string language**: Language of the caption
113+
114+
* **public struct HisPlayerAudioTrack**:
115+
* **public string id**: Id of the audio
116+
* **public string caption**: Language of the audio
117+
118+
* **public struct HISPlayerCaptionElement**: The information of the triggered event turns into caption’s format.
119+
* **public int playerIndex**: The index of the player where the event is triggered.
120+
* **public string language**: The next generated caption text.
109121

110122
* **public enum LogLevel**: The current logging level to filter which log messages are output.
111123
* **ERROR** : Indicates critical errors that may prevent the application from functioning correctly.

0 commit comments

Comments
 (0)