{"action":"created","issue":{"url":"https://api.github.com/repos/johndyer/mediaelement/issues/1620","repository_url":"https://api.github.com/repos/johndyer/mediaelement","labels_url":"https://api.github.com/repos/johndyer/mediaelement/issues/1620/labels{/name}","comments_url":"https://api.github.com/repos/johndyer/mediaelement/issues/1620/comments","events_url":"https://api.github.com/repos/johndyer/mediaelement/issues/1620/events","html_url":"https://github.com/johndyer/mediaelement/issues/1620","id":111833439,"number":1620,"title":"live HLS: seek to 0 doesn't work","user":{"login":"etherElric","id":11576840,"avatar_url":"https://avatars.githubusercontent.com/u/11576840?v=3","gravatar_id":"","url":"https://api.github.com/users/etherElric","html_url":"https://github.com/etherElric","followers_url":"https://api.github.com/users/etherElric/followers","following_url":"https://api.github.com/users/etherElric/following{/other_user}","gists_url":"https://api.github.com/users/etherElric/gists{/gist_id}","starred_url":"https://api.github.com/users/etherElric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etherElric/subscriptions","organizations_url":"https://api.github.com/users/etherElric/orgs","repos_url":"https://api.github.com/users/etherElric/repos","events_url":"https://api.github.com/users/etherElric/events{/privacy}","received_events_url":"https://api.github.com/users/etherElric/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2015-10-16T13:35:57Z","updated_at":"2016-09-02T04:17:45Z","closed_at":null,"body":"Hi!\r\nI have a live HLS stream (containing only an AAC audio) that I play. When I pause and play, everything works as expected.\r\nBut when I try to seek back to live using seek(0), it just doesn't work and the feed stops.\r\nThe feed currentTime seems to go to the number of seconds I started playing the stream.\r\nTherefore, if I start the stream and listen for 30 seconds, currentTime will vary from 0 to 10.\r\nThen I press pause for say, 10 seconds. Pressing play, the currentTime will vary from -10 to 0. I listen for 10 seconds.\r\nThen I seek to 0, currentTime vary from -50 to -40. But since that wasn't streamed yet, I hear nothing.\r\n\r\nI tried seeking to -10, to 0, to 10, to [currentClientTime - feedStartTime], but none worked. It seems mediaelement tried to compensate for the value passed.\r\nI'll try to see if I can find where that happens in the code, but until then, if someone else have the same problem and a solution, I would greatly hear it!\r\n\r\nThanks for your help"},"comment":{"url":"https://api.github.com/repos/johndyer/mediaelement/issues/comments/244279394","html_url":"https://github.com/johndyer/mediaelement/issues/1620#issuecomment-244279394","issue_url":"https://api.github.com/repos/johndyer/mediaelement/issues/1620","id":244279394,"user":{"login":"ron666","id":910829,"avatar_url":"https://avatars.githubusercontent.com/u/910829?v=3","gravatar_id":"","url":"https://api.github.com/users/ron666","html_url":"https://github.com/ron666","followers_url":"https://api.github.com/users/ron666/followers","following_url":"https://api.github.com/users/ron666/following{/other_user}","gists_url":"https://api.github.com/users/ron666/gists{/gist_id}","starred_url":"https://api.github.com/users/ron666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ron666/subscriptions","organizations_url":"https://api.github.com/users/ron666/orgs","repos_url":"https://api.github.com/users/ron666/repos","events_url":"https://api.github.com/users/ron666/events{/privacy}","received_events_url":"https://api.github.com/users/ron666/received_events","type":"User","site_admin":false},"created_at":"2016-09-02T04:17:45Z","updated_at":"2016-09-02T04:17:45Z","body":"@etherElric  This is more related to implementing hls.js to seek the live segment. There's a PR prepared for this (#1776). Please test it and let me know if it works for you"}}
{"actor":{"display_login":"ron666"}}