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

Audio does not play sometimes #18

Open
multidynamic opened this issue Jan 22, 2015 · 5 comments
Open

Audio does not play sometimes #18

multidynamic opened this issue Jan 22, 2015 · 5 comments

Comments

@multidynamic
Copy link
Contributor

Matthew Adler created an issue 2014-12-10
To repro:
User presses triangular play button
button dim noticed
no sound observed, sometimes get "Roundware Error" dialog
Noticed on low end gingerbread device LG VM670

❌ A major bug

@multidynamic
Copy link
Contributor Author

_ Matthew Adler REPORTER 2014-12-10_
Noticed these errors:
12-10 18:14:43.921 2907-2907/org.famsf.roundware E/MediaPlayer﹕ pause called in state 1 12-10 18:14:43.921 2907-2907/org.famsf.roundware E/MediaPlayer﹕ error (-38, 0) 12-10 18:14:43.931 2907-2907/org.famsf.roundware E/MediaPlayer﹕ start called in state 0 12-10 18:14:44.701 2907-2907/org.famsf.roundware E/MediaPlayer﹕ Error (-38,0) 12-10 18:14:46.441 2907-2907/org.famsf.roundware E/MediaPlayer﹕ start called in state 0 12-10 18:14:48.321 2907-2913/org.famsf.roundware E/MediaPlayer﹕ error (1, -2147483648) 12-10 18:14:48.941 2907-2907/org.famsf.roundware E/MediaPlayer﹕ Error (1,-2147483648) 12-10 18:14:59.501 2907-2907/org.famsf.roundware E/MediaPlayer﹕ start called in state 4 12-10 18:14:59.501 2907-2907/org.famsf.roundware E/MediaPlayer﹕ error (-38, 0) 12-10 18:15:00.401 2907-2907/org.famsf.roundware E/MediaPlayer﹕ Error (-38,0) 12-10 18:15:00.831 2907-2930/org.famsf.roundware E/MediaPlayer﹕ error (1, -2147483648) 12-10 18:15:01.481 2907-2907/org.famsf.roundware E/MediaPlayer﹕ Error (1,-2147483648) 12-10 18:15:05.111 2907-2907/org.famsf.roundware E/MediaPlayer﹕ start called in state 4 12-10 18:15:05.111 2907-2907/org.famsf.roundware E/MediaPlayer﹕ error (-38, 0) 12-10 18:15:05.991 2907-2907/org.famsf.roundware E/MediaPlayer﹕ Error (-38,0) 12-10 18:15:06.571 2907-2914/org.famsf.roundware E/MediaPlayer﹕ error (1, -2147483648) 12-10 18:15:07.151 2907-2907/org.famsf.roundware E/MediaPlayer﹕ Error (1,-2147483648) 12-10 18:15:11.935 2907-2907/org.famsf.roundware E/MediaPlayer﹕ start called in state 4 12-10 18:15:11.935 2907-2907/org.famsf.roundware E/MediaPlayer﹕ error (-38, 0) 12-10 18:15:12.725 2907-2907/org.famsf.roundware E/MediaPlayer﹕ Error (-38,0) 12-10 18:15:13.195 2907-2913/org.famsf.roundware E/MediaPlayer﹕ error (1, -2147483648) 12-10 18:15:13.895 2907-2907/org.famsf.roundware E/MediaPlayer﹕ Error (1,-2147483648) 12-10 18:18:11.617 2907-2907/org.famsf.roundware W/MediaPlayer﹕ mediaplayer went away with unhandled events 12-10 18:18:13.047 2907-2907/org.famsf.roundware E/MediaPlayer﹕ pause called in state 1 12-10 18:18:13.047 2907-2907/org.famsf.roundware E/MediaPlayer﹕ error (-38, 0) 12-10 18:18:13.047 2907-2907/org.famsf.roundware E/MediaPlayer﹕ start called in state 0 12-10 18:18:13.942 2907-2907/org.famsf.roundware E/MediaPlayer﹕ Error (-38,0) 12-10 18:18:15.849 2907-2907/org.famsf.roundware E/MediaPlayer﹕ start called in state 4 12-10 18:18:15.849 2907-2907/org.famsf.roundware E/MediaPlayer﹕ error (-38, 0) 12-10 18:18:16.839 2907-2907/org.famsf.roundware E/MediaPlayer﹕ Error (-38,0) 12-10 18:18:17.500 2907-2930/org.famsf.roundware E/MediaPlayer﹕ error (1, -2147483648) 12-10 18:18:18.069 2907-2907/org.famsf.roundware E/MediaPlayer﹕ Error (1,-2147483648) 12-10 18:18:30.219 2907-2907/org.famsf.roundware E/MediaPlayer﹕ start called in state 4 12-10 18:18:30.219 2907-2907/org.famsf.roundware E/MediaPlayer﹕ error (-38, 0) 12-10 18:18:31.059 2907-2907/org.famsf.roundware E/MediaPlayer﹕ Error (-38,0) 12-10 18:18:31.420 2907-2907/org.famsf.roundware E/MediaPlayer﹕ setDataSource called in state 8 12-10 18:18:31.420 2907-2907/org.famsf.roundware E/RWService﹕ java.lang.IllegalStateException

Matthew Adler REPORTER 2014-12-10
Noticed in logcat sound level set to zero too...

Matthew Adler REPORTER 2014-12-10
The play button does not update to pause button on press. It appears the play state is lost or mixed up. Hacking the volume level reveals that audio stream is actively playing.

@13rac1
Copy link
Member

13rac1 commented Jan 23, 2015

I experience this issue on my phone. It seems perfect with FakeGPS, but then when I'm actually onsite it randomly has no audio.

@13rac1 13rac1 added this to the FAMSF Store submission milestone Jan 23, 2015
@multidynamic
Copy link
Contributor Author

@eosrei This sounds like it could be the issue where the user is in the area of de Young, but not close enough to get the audio? Can we narrow this down?

@hburgund
Copy link
Member

For geo-listen projects, clients will only generate a unique custom audio stream on the server if the client is "within range" of the project. If the client is out of range, they will be given the static "out of range" stream url to play instead.

Project ranges are determined by 2x the max distance ranges of all active speakers associated with the project. Therefore, there is a area between 1x and 2x the speaker's max distance within which the client will be "within range", but there won't be any audio to hear. This was done so that users only slightly out of range (per their GPS) but with the intent of walking into range would be give the benefit of the doubt.

I have no idea if this is what is happening here; seems unlikely, actually, but I figured I'd give the background info regardless.

@13rac1
Copy link
Member

13rac1 commented Feb 5, 2015

May be related to #39. Re-check after #39 is fixed.

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

No branches or pull requests

3 participants