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

Delayed 'move_listener' calls causes delayed voices in audio stream #39

Closed
13rac1 opened this issue Feb 5, 2015 · 4 comments
Closed

Comments

@13rac1
Copy link
Member

13rac1 commented Feb 5, 2015

The Android RW Service starts an audio stream with request_stream but is slow to send a move_listener update. A move_listener call including a GPS lat/long is needed to start the RW Asset playback. The resulting experience by the user is background music, but no audio assets.

You can even reproduce the issue with FakeGPS.

  • Start FakeGPS
  • Select a location within the de Young sculpture garden near a sculpture (where audio assets exist)
  • Start the Roundware app
  • Press listen
  • Wait forever (if you want) and hear no voices.

To get audio:

  • Switch back to FakeGPS
  • Set a new location (I'm not sure if this is distance from the original location has an effect)
  • After a minor delay for buffering, audio assets will start playing back.

Expected: Audio assets start playing as soon as the app is audio stream starts.

Solution: Send a move_listener call ASAP after app playback starts?

@13rac1 13rac1 added this to the FAMSF Store submission milestone Feb 5, 2015
@hburgund
Copy link
Member

hburgund commented Feb 5, 2015

I agree with the proposed solution. That said, I'm surprised that a move_listener doesn't get sent pretty quickly after request_stream is returned naturally since GPS tends to frequently update/refine. I don't know how it works in Android or what fine-tuning parameters have been set to dictate the GPS behavior in the app, but I suppose if the accuracy isn't set very high, move_listeners could be much less frequent.

@13rac1
Copy link
Member Author

13rac1 commented Feb 5, 2015

FYI When this issue is corrected you'll know it's working right because then you'll encounter this issue on the server 😆 😭 roundware/roundware-server#173

@multidynamic
Copy link
Contributor

Perhaps the request_steam call should include the lat long.

@13rac1
Copy link
Member Author

13rac1 commented Feb 6, 2015

@multidynamic Yes, it's actually sent, but the data isn't currently handled by the server. Either way, voice/asset playback isn't an issue on iOS right now. It should be less time to fix this issue in Android, than change the Server and iOS.

Should be straightfoward to make a move_listener call as soon as the location reporting services have a location.

multidynamic added a commit to multidynamic/roundware-android that referenced this issue Feb 7, 2015
multidynamic added a commit to multidynamic/roundware-android that referenced this issue Feb 11, 2015
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