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

Doesn't work with Webkit browsers (shoutcase/icecast streams) #23

Open
Yahav opened this issue Aug 13, 2012 · 8 comments
Open

Doesn't work with Webkit browsers (shoutcase/icecast streams) #23

Yahav opened this issue Aug 13, 2012 · 8 comments

Comments

@Yahav
Copy link

Yahav commented Aug 13, 2012

Dancer won't work with Chrome at some cases,
problem is: i have no idea what's the difference.
all i know it this:

HOME PC: (Win7,Chrome‪21.0.1180.75 m‬) : playing music and beating.

WORK PC: (Win7,Chrome‪21.0.1180.75 m): playing music but not beating (no errors in console) - this.proc.onaudioprocess is never called.

FRIEND PC: (Win7,Chrome‪21.0.1180.75 m): not playing music nor beating (no errors in console) - this.proc.onaudioprocess is never called as well.

@jsantell
Copy link
Owner

Is this on the edge version in the repo, or the one on the gh-pages? Tested both in 21.0.1180.75 and canary 23.0.1232.0, on OSX (works in both). Will have to boot up Windows I think to dig around on this.. Thanks!

@Yahav
Copy link
Author

Yahav commented Aug 13, 2012

we tried in OSX using safari and it doesn't work as well.
where can i find the edge version in the repo?
i would have sent you the URL i'm using but it cannot be public and i can't find a private messages option here in github

@jsantell
Copy link
Owner

Safari 6 implements the Web Audio API, but not all components work with it since using createMediaElementSource (see test case, works in Chrome, not Safari).

Edge version just being whatever the latest is in the repo, as the one on gh-pages still need to be updated to the latest -- shoot me any URLs on twitter or an email

@jsantell
Copy link
Owner

Issue with using shoutcast/icecast real time streams

@Gaffen
Copy link

Gaffen commented Aug 9, 2013

I investigated the soundmanager issue and it seems to be a cross domain problem - it can be fixed by downloading SM2 and extracting the cross-domain flash file to use instead of the one packaged with dancer.

@Gaffen
Copy link

Gaffen commented Aug 9, 2013

Doing the above allows soundmanager to play the file, however you need to do a bit of tinkering to hook the ._whileplaying() SM2 function into the adapterFlash.js update() method.

I can make a merge request with my changes if it's of interest?

@Yahav
Copy link
Author

Yahav commented Aug 9, 2013

@Gaffen please do, this could be helpful.

@Gaffen
Copy link

Gaffen commented Aug 9, 2013

@Yahav I'll make a fork and request a little later - using dancer for a client project who needs Safari support!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants