Issues streaming audio on iOS w/ sound blocks - [June 2022] - [viable workaround available]

Hello all

I try to test an app in TestFlight. This app has a play audio (url and .mp3)

When I do the test, I don’t hear any audio in any player. I have several screens with an audio player and nothing is heard on any of them.
In android and in thunkable live it works perfectly. The iphone where I am testing is Iphone 7 version 14.7.1.
What could be causing this bug?

Thank you

1 Like

Does any of your audio filenames has spaces in it?

Hello Muneer

I hope you are good.

they do not have spaces because a fire base is linked.

Check the images below:

image


Is it a playback control error? In android and thunkable live works good.

Apple is rejecting my app because it says my app has audio bugs.

1 Like

Hello all

I hope you are good

Are you so kind to help me with this issue please?

The reason for my urgency is because I have to release this app for my client.

Nice day

You are using Firebase storage. Have you included the ?alt=media at the end of the URL?

1 Like

Hello Muneer
I hope you are good,

You are correct, I am using fire base and a normal url of a radio broadcast:

Radio: https://streaming.servicioswebmx.com/8160/stream

firebase url example: https://firebasestorage.googleapis.com/v0/b/radio-f382c.appspot.com/o/LST%20radiOnline%2FLocutores%2Fperfil.mp3?alt=media&token=56ebdae5-b4a6-4789-9df7-a87be8ad147e

audio file name into the app: intro.mp3
image

the correct way to put the url would be as follows?

firebase url example: https://firebasestorage.googleapis.com/v0/b/radio-f382c.appspot.com/o/LST%20radiOnline%2FLocutores%2Fperfil.mp3?alt=media&token=56ebdae5-b4a6-4789-9df7-a87be8ad147e?alt=media

And for the radio station will be
Radio: https://streaming.servicioswebmx.com/8160/stream?alt=media

This is correct?

and for the file name,How should I put it to correct it?

Thank you.

1 Like

I can see that you already have the ?alt=media in the original URL. No need to add it again.

I tested the file you supplied in your reply and it works with this block

image

The radio station link does not work so I could not test it.

Hello Munner

I test too in Android and Thunkable live and it´s works, but doesn´t work in IOS testflight.

For the radio transmission at this time it does not exist because they have a schedule from 8 am to 10 pm Mexico time.

For the .mp3 audio, a second is heard and the audio is lowered, distorting itself until it is no longer heard in Test flight IOS.

I share the comments for apple team to decline the app:

Guideline 2.1 - Performance - App Completeness

We discovered one or more bugs in your app. Specifically, we were unable to play any audible content during review. Please review the details below and complete the next steps.

Review device details:

  • Device type: iPad
  • OS version: iOS 15.5

Next Steps

Please run your app on a device to reproduce the issues, then revise and submit your app for review. If at first you’re unable to reproduce the issue, try the following:

  • For new apps, uninstall all previous versions of your app from a device, then install and follow the steps to reproduce.
  • For app updates, install the new version as an update to the previous version, then follow the steps to reproduce.

If we misunderstood the intended behavior of your app, please reply to this message in App Store Connect to provide information on how these features were intended to work.

Resources

I tried to build it many times and they say the same, after them i test in testflyght and they are correct. the app has a bug in all audios but is only en IOS, in android and thunkable live works good.

1 Like

I downloaded APK of my test project and installed it in my phone and it worked. So it must be a bug only in iOS.

Yes, you are correct. Do you know so kind to help us with this issue?

Nice day.

I can verify this same issue streaming audio using the sound block on iOS. I was able to stream using the same URL with the web viewer though. Can you try this project out and let me know if it works for you?

https://x.thunkable.com/projectPage/6217bb2e0f67ab0010dbbcdf

@ingraulbarbosa70a

I have some ideas on the issue. I’ve reported this as a bug. The workaround here is to host the file as an unsigned file on cloudinary like this.
https://res.cloudinary.com/behaviorreportcard/video/upload/v1656419871/perfil_pltsay.mp3 (feel free to use this URL for now until you set up your own though it wont last forever)

1 Like

Hello Jared

I hope you are good, thank you for your comments.

I tried the proyect but the audio is not play. Right now there is radio transmission

With the comment on the radio transmission and the audio in the application that I made, if it also works in the web viewer.

Do you know how long the team will take to fix the audio bug?

or what is the next step? and how I can help?

thank you for your support

can you tell me about the devices that you are testing on with this project?
https://x.thunkable.com/projectPage/6217bb2e0f67ab0010dbbcdf

Hello Jared.

I tried again and this project works. I tried on the android and web viewer device.

Hello Jared

I hope you are doing very well, would you be so kind as to tell me how long it will take for the team to work on this issue? :grinning:

Have a nice day!

Hey @ingraulbarbosa70a Thanks for the warm greeting! :slight_smile:

There is no timeline yet but it is on our fix list. There are a number of other items on there and I’m not sure of this items priority when weighed against the rest at this point.

That said, when I hear of progress on this topic I will be sure to circle around and drop a comment here with updates.

Understood! Thank you for your time and support! :smile:

1 Like

Hello Jared

I hope you are good!

Excuse my impatience, Do you know if the team is working on this issue?

My client is pressuring me :grimacing:

Thank you for your support.

Were you able to test my project that used the cloudinary link?

1 Like