-
Notifications
You must be signed in to change notification settings - Fork 43
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 is not playing? #61
Comments
convert data to m4a not fileName.aac. If u don't know what's wrong with ur code. u should check audio guide. aac is sort format not fileName. |
Thanks! I renamed the received file to .m4a once downloaded but it not playing. If possible, can you share a audio conversion code would be really helpful. |
Any solution for this? |
did u play audio from file , not data? When u get data ,then save it to file ,then get data from file. Make sure that u get right file name. And it can really be played , like demo. |
Yes, I write the data to local file with .m4a format but not player. Is it support mp3 format right or we need to consider other formats? |
Hi Team,
We need to play audio file received from andriod, we get in 2 formats .mp3 or .aac. Both the audio format not playing in iOS with 'ZHCAudioMediaItem'. We tried to convert the same to 'm4a' and tried but no luck.
#1 - Confirm receive audio has data - we renamed local file extension to m4a - it working fine - just confirm audio is not a problem.
#2 - Please check screenshot - its print audiodata bytes so audiodata is not nil.
Any solution, Please suggest some other solutions.
The text was updated successfully, but these errors were encountered: