If you don't find an answer, please click here to post your question.
Reply
Occasional Contributor
Posts: 4
Registered: ‎12-08-2017

Ooyala SDK for Exoplayer -- segment URL

Hi,

 

I am using Ooyala android mobile SDK and playing a HLS video. I need access to the index/identifier of the "video segment" (the .ts file in HLS case), that is being loaded. I can register to listen to the event "

BUFFERING_STARTED_NOTIFICATION_NAME 

But, this only tells me that the segment download has started. It does not tell me any identification of the segment that is being downloaded now. I can from logcat logs in Android Studio that ExoPlayer underneath is logging the entire segment URL. But, I can't access this programatically. Is there any way I can get this information from code?

 

Has any one tried integrating with other analytics SDKs that provides this information? Is that something I should be trying?

 

Thanks for your attention.

Ooyalan
Posts: 11
Registered: ‎01-17-2017

Re: Ooyala SDK for Exoplayer -- segment URL

Hello ooyalamobileuse,

 

I am running a few tests to try and achieve the behavior you have described. Please allow me a couple of days and I will get back to you with my results.

 

Cheers!

Highlighted
Ooyalan
Posts: 13
Registered: ‎10-09-2017

Re: Ooyala SDK for Exoplayer -- segment URL

[ Edited ]

Hello,

 

Sorry for the late response but unfortunately you can not access the chunk ID that you are downloading  What you can use is the percentage of the buffering with getBufferPercentage ()

 

https://apidocs.ooyala.com/android_mobilesdk/classcom_1_1ooyala_1_1android_1_1_ooyala_player.html#a5...