{"action":"closed","issue":{"url":"https://api.github.com/repos/google/shaka-player/issues/154","labels_url":"https://api.github.com/repos/google/shaka-player/issues/154/labels{/name}","comments_url":"https://api.github.com/repos/google/shaka-player/issues/154/comments","events_url":"https://api.github.com/repos/google/shaka-player/issues/154/events","html_url":"https://github.com/google/shaka-player/issues/154","id":100496262,"number":154,"title":"Video.videoWidth vs. AdaptationEvent.size.width","user":{"login":"jozefchutka","id":750041,"avatar_url":"https://avatars.githubusercontent.com/u/750041?v=3","gravatar_id":"","url":"https://api.github.com/users/jozefchutka","html_url":"https://github.com/jozefchutka","followers_url":"https://api.github.com/users/jozefchutka/followers","following_url":"https://api.github.com/users/jozefchutka/following{/other_user}","gists_url":"https://api.github.com/users/jozefchutka/gists{/gist_id}","starred_url":"https://api.github.com/users/jozefchutka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jozefchutka/subscriptions","organizations_url":"https://api.github.com/users/jozefchutka/orgs","repos_url":"https://api.github.com/users/jozefchutka/repos","events_url":"https://api.github.com/users/jozefchutka/events{/privacy}","received_events_url":"https://api.github.com/users/jozefchutka/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/google/shaka-player/labels/working%20as%20intended","name":"working as intended","color":"e6e6e6"}],"state":"closed","locked":false,"assignee":{"login":"joeyparrish","id":6843156,"avatar_url":"https://avatars.githubusercontent.com/u/6843156?v=3","gravatar_id":"","url":"https://api.github.com/users/joeyparrish","html_url":"https://github.com/joeyparrish","followers_url":"https://api.github.com/users/joeyparrish/followers","following_url":"https://api.github.com/users/joeyparrish/following{/other_user}","gists_url":"https://api.github.com/users/joeyparrish/gists{/gist_id}","starred_url":"https://api.github.com/users/joeyparrish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joeyparrish/subscriptions","organizations_url":"https://api.github.com/users/joeyparrish/orgs","repos_url":"https://api.github.com/users/joeyparrish/repos","events_url":"https://api.github.com/users/joeyparrish/events{/privacy}","received_events_url":"https://api.github.com/users/joeyparrish/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-08-12T08:51:31Z","updated_at":"2015-08-12T14:51:56Z","closed_at":"2015-08-12T14:51:56Z","body":"It seems that video.videoWidth / video.videoHeight (recommended via doc) seems to provide different values then AdaptationEvent.size does in some cases. I can observe video values being updated not synchronously but a couple of seconds later after after AdaptationEvent is recieved. I.e. when 320x240 switches to 640x480, first and adaptation event is fired with new values and I can see the rendered image being improved but video.videoWidth / height values would still provide 320x240 for some 1-3 seconds."}}