Manjeet
Manjeet

Reputation: 191

How to solve issue of "PLAYER_ERROR_SEEK_FAILED" when forward/backward media in Tizen TV?

I am using AV player in tizen TV application. When I forward/backward media then I am getting this error "PLAYER_ERROR_SEEK_FAILED" Please help me to solve this issue.

Upvotes: 2

Views: 1198

Answers (2)

Grabofus
Grabofus

Reputation: 2034

Be cautious about this part of the docs for seekTo, jumpForward, and jumpBackward:

https://developer.samsung.com/tv/develop/api-references/samsung-product-api-references/avplay-api

During this async operation, the other API would not be allowed. So, the application needs to wait for one of both callbacks( SuccessCallback, errorCallback) before any other API call.

If you execute multiple seeks you must await the previous one to call back.

Upvotes: 1

Roger Ramirez
Roger Ramirez

Reputation: 176

Based on https://developer.samsung.com/tv/develop/api-references/samsung-product-api-references/avplay-api

PLAYER_ERROR_SEEK_FAILED : Failed to perform seek operation, or seek operation called during an invalid state.

You should make sure the player is in a valid state.

Can be called in the following states: "IDLE","READY", "PLAYING" (buffered data is flushed and buffering starts over).

Upvotes: 2

Related Questions