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.HISPLAYER_EVENT_DOWNLOAD_COMPLETED** is triggered.
239
-
This event occurs whenever a stream that was being downloaded has ended the download process, and it's ready to be played.
240
-
241
-
<table>
242
-
<tr>
243
-
<th>Name</th>
244
-
<th>Description</th>
245
-
</tr>
246
-
<tr>
247
-
<td>stringInfo</td>
248
-
<td>Relative path where the stream has been stored. This will equal to the title settled to the video. The path is relative to the Application.persistentDataPath,which in iOS corresponds to /var/mobile/Containers/Data/Application/<guid>/Documents. Save it for later plaback of such stream.</td>
Override this method to add custom logic when an error callback is triggered. Please, refer to the **HISPlayerError** list.
273
237
@@ -400,12 +364,3 @@ Obtain the language of a certain audio of a certain player. The playerIndex is a
400
364
401
365
#### public void SelectAudioTrack(int playerIndex, int audioTrackIndex)
402
366
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.
403
-
404
-
#### public void DownloadStream(string url, string videoTitle)
405
-
Download an HLS Stream. Stream will be automatically saved on the Application.PersisentDataPath (/var/mobile/Containers/Data/Appligation/<guid>/Documents). If 2 downloaded contents have the same video title, the last one will overrite the first one. Avoid using non english characters, dots, slashes and any other kind of special character. The **url** refers to the URL to the HLS stream. **videoTitle** is the name of the saved stream and will allow to reproduce it once it has been downloaded.
406
-
407
-
#### public void DeleteDownloadStream(string videoTitle)
408
-
Delete a specific downloaded HLS Stream. **videoTitle** is the name of the stream that will be deleted from the device.
409
-
410
-
#### public void DeleteAllDownloadedStreams()
411
-
Delete all downloaded streams that have been stored in the Application.PersistentDataPath.
0 commit comments