Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix several bugs (duplicate load media, media listeners bug, etc) #36

Merged
merged 3 commits into from Dec 23, 2014

Conversation

Vaporexpress
Copy link
Contributor

Hi. This pull request has several arrangements.
It has been tested with Chrome sender apps from Google as "hello-video" and "cast-videos".
In "chrome.cast.js" line 531 caused to be invoked twice the load of video.
Media update listeners were not recovering the isAlive parameter.
Have adapted the classes methods to fit the parameters expected.
In "ChromecastSession.java", MediaChannelResult callback is not where it should invoke "onMediaLoaded" listener but in the onSuccess of your getStatus. Now "mediaLoaded" has an active session.

Sorry my bad english, hope I explained clearly.

Thanks for your great plugin.

Media update listeners always return isAlive to false. This.fix the bug.
New Fixes added.
Erased comment
@Vaporexpress
Copy link
Contributor Author

Sorry, but how can i add a last change to the pull request?
There are innecessary listeners in "chrome.cast.js", i've tested with https://github.com/googlecast/CastVideos-chrome

matbee-eth added a commit that referenced this pull request Dec 23, 2014
Fix several bugs (duplicate load media, media listeners bug, etc)
@matbee-eth matbee-eth merged commit 642db97 into videostream:master Dec 23, 2014
@matbee-eth
Copy link
Contributor

All you have to do is send a new Pull Request

@Vaporexpress
Copy link
Contributor Author

It's ok.
There is only a duplicated line "_sessionListener = apiConfig.sessionListener;" in 481 and 485

Greetings.

@Vaporexpress Vaporexpress deleted the Fix-mediaUpdate-isAlive branch January 8, 2015 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants