{"action":"opened","issue":{"url":"https://api.github.com/repos/google/shaka-player/issues/1306","repository_url":"https://api.github.com/repos/google/shaka-player","labels_url":"https://api.github.com/repos/google/shaka-player/issues/1306/labels{/name}","comments_url":"https://api.github.com/repos/google/shaka-player/issues/1306/comments","events_url":"https://api.github.com/repos/google/shaka-player/issues/1306/events","html_url":"https://github.com/google/shaka-player/issues/1306","id":297553115,"number":1306,"title":"Start playing live stream with certain offset from edge","user":{"login":"jakubvojacek","id":3463456,"avatar_url":"https://avatars1.githubusercontent.com/u/3463456?v=4","gravatar_id":"","url":"https://api.github.com/users/jakubvojacek","html_url":"https://github.com/jakubvojacek","followers_url":"https://api.github.com/users/jakubvojacek/followers","following_url":"https://api.github.com/users/jakubvojacek/following{/other_user}","gists_url":"https://api.github.com/users/jakubvojacek/gists{/gist_id}","starred_url":"https://api.github.com/users/jakubvojacek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakubvojacek/subscriptions","organizations_url":"https://api.github.com/users/jakubvojacek/orgs","repos_url":"https://api.github.com/users/jakubvojacek/repos","events_url":"https://api.github.com/users/jakubvojacek/events{/privacy}","received_events_url":"https://api.github.com/users/jakubvojacek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-15T18:40:00Z","updated_at":"2018-02-15T18:40:00Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\n\r\nis there a way to start playing the video for example 3600 seconds behind the live edge? I know there is the `player.load(manifestUri, opt_startTime)` method but the `opt_startTime` would have to be offset from the manifest start. But in our case, we can never know what is the exact length of the captured timeshift, we just know that we want to play live edge - 3600 seconds. \r\n\r\nUntil now, I was using player.load(manifest) and then seek back using `video.currentTime = video.currentTime - liveOffset` in `video.ontimeupdate` event. It works however the downside is that the player first loads the live edge and only then it seeks (the customer sees the live edge, then buffering and only then the desired video).\r\n\r\nIs there a way to start playing immediately from the offset that we need?\r\n\r\nThank you"}}
{"actor":{"display_login":"jakubvojacek"}}