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
1.) Load mediaEntry from PhoenixMediaProvider with contextType: START_OVER by calling loadMedia(callback:)
2.) Create MediaConfig with received mediaEntry
3.) Prepare video player by calling BasicPlayer.prepare(mediaConfig)
Expected Result:
Player will start playing media from time 0 after loading
Actual Result:
Player starts at "live".
Discussion:
when manually setting mediaConfig.startTime = 1 instead of 0, the live stream loads from beggining, but this is not very "user friendy". Also, when setting startTime to 1, one "live" frame is shown in the player before actually starting the play back.
I would advice to use startTime = -1 to trigger live status and startTime = 0 for beggining of the streams.
Please, let me know, what is the correct approach in this case.
Steps:
1.) Load
mediaEntry
fromPhoenixMediaProvider
with contextType:START_OVER
by callingloadMedia(callback:)
2.) Create
MediaConfig
with receivedmediaEntry
3.) Prepare video player by calling
BasicPlayer.prepare(mediaConfig)
Expected Result:
Player will start playing media from time 0 after loading
Actual Result:
Player starts at "live".
Discussion:
when manually setting
mediaConfig.startTime = 1
instead of 0, the live stream loads from beggining, but this is not very "user friendy". Also, when settingstartTime
to 1, one "live" frame is shown in the player before actually starting the play back.I would advice to use
startTime = -1
to trigger live status andstartTime = 0
for beggining of the streams.Please, let me know, what is the correct approach in this case.
Data:
Media config:
Podfile.lock:
The text was updated successfully, but these errors were encountered: