Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-28034] Android: Hyperloop-Examples app, Media player test does not play audio file

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionInvalid
Resolution Date2020-07-21T14:50:00.000+0000
Affected Version/sRelease 9.0.1, Release 9.0.2, Release 9.0.3
Fix Version/sn/a
ComponentsAndroid
Labelsn/a
ReporterSamir Mohammed
AssigneeUnknown
Created2020-07-21T14:41:51.000+0000
Updated2020-07-21T14:50:00.000+0000

Description

When running the media player test no audio is played, it looks like no audio file is being able to be read at: https://github.com/appcelerator/hyperloop-examples/commit/d983520db7f10d2ad5209fce09b9f560621aa1f3#diff-1d51eeb19fffa018711f22184199d4eaR11
const contentUri = Uri.parse('android.resource://' + activity.getPackageName() + '/raw/audio');
*Test Steps:*

Download Hyperloop-examples app (https://github.com/appcelerator/hyperloop-examples/)

Launch app

Go to Media Player test

*Expected:* Audio file should play. *Actual result:* Audio file does not play.

Comments

  1. Samir Mohammed 2020-07-21

    Closing ticket, after further investigation the issue was due to the emulator having issues with playing sounds.

JSON Source