B4X FEED Exoplayer Negative Value for Duration (Solved, I think)

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: Exoplayer Negative Value for Duration (Solved, I think) است. این موضوع تا کنون 29 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع Exoplayer Negative Value for Duration (Solved, I think)
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
29
پسندها
0
آخرین ارسال توسط PracticalSoft
Jun 6, 2020
11,559
4,422
I came across a problem of negative values for Exoplayer's duration property. I read somewhere on the net that it is due to the property being yet UNSET (something like that) during the time the value is read. I tried to add a Wait For Exoplayer_Ready (mine was Wait For Exoplayer4_Ready) before reading the duration. It seemed to have solved the problem. Maybe it happens when Exoplayer is not yet done loading the file so the duration is not yet determined. Not an expert so I'm open for correction on this.

 

عقب
بالا