Android Mediaplayer not able to play some wowza m4a url on Android devices whose version is 4.3 or higher - android-mediaplayer

Android Mediaplayer not able to play some wowza m4a urls on Android devices whose version is 4.3 or higher. While some are getting played without any efforts on same device.
The same urls are working fine on Android 4.2.2/ 4.1/ & lower version devices.
The logs on wowza are showing play state, but in my app its not getting played. When seeked to some position, it also get tracked on wowza but no sound comes out.....
Can any one suggest me any solution?

Related

S3 video play in edge and react native but not chrome or firefox

one of the user of the app I work for has an issue, all the video she upload doesn't work in an HTML5 video player, except on Edge and Safari for iOS (and if it works there I assume it could work in other browsers)
The video can be played in our react-native app or after being downloaded, but not directly using the S3 or cloudfront link
Since the vieos from the other users work, I'm assuming it's related to encryption and S3 specifications, does anyone have met this problem and found a solution ?
EDIT: forgot to put a sample link
https://video-reetags.s3.eu-west-3.amazonaws.com/compressed/aed0a512a419334fe5d0c0c6fb4094a21610642052.mp4
Since the videos from the other users are working fine, I'm assuming it's related to encryption and/or S3 specifications...
No, the problem is not encryption or S3 server issues.
Your MP4 container has video in HEVC format (aka H.265), which is not supported in Chrome or Firefox. You should still be able to hear the sound part since AAC audio is supported.
Playing the video is possible with React-Native and other (native) video players because they rely on the O.S running the player App to decode video. If a browser brand didn't buy a license for HEVC then that browser cannot play it.
Solution:
Re-encode such videos to MP4 containing H.264 with AAC audio (...not H.265 with AAC).
Re-encoding takes time but it's the only way for now. Either the user does it before any uploading, or your own app accepts any file and re-encodes the "not supported" ones on server-side (eg: using FFmpeg or GStreamer tool).

Unable to stream in stereo

I am using a 3d mic that works like a charm on the iPhone using 1/8th jack into an adapter. It works great with the camera app so I know the hardware is able to receive the stereo.
However in my agora.io iPhone app I have the following settings:
audio.setChannelProfile(.liveBroadcasting)
audio.setAudioProfile(.musicHighQualityStereo, scenario: .showRoom)
Is there anything else I need to do for it to work?
I was able to reach Agora Support. The following answer is what I received:
iOS devices does not support stereo audio capture. You would need to use external video source which support stereo audio to do the capture.
I wish this were included in the iOS documentation.
For my use case, a Mac app would be better, so I'm just going to go with that!

JWplayer with HLS video not playing on Android Devices

I am using JWplayer to stream a video that is hosted on Amazon S3, but it won't play on Android devices.
It works fine on PC, Mac and iPhones/iPads.
I have tested with Firefox, Google Chrome and Safari.
I have no idea to what could be wrong and I would really appreciate any input.
The link to the page where the video plays is this: https://ead.starlingacademy.com.br/

Do I need preview for each device?

I recently discovered how to upload preview videos of my app in use, I'm having some difficulty with some of the devices. If you decide to show a preview on one device, does it mean I must do the same for all other devices?

Mp4 wont play on iphone / ipad

I own a VPS server running CentOS with Cpanel WHM where no one can watch videos i post on Iphones / Ipads.
For example take this video http://content.bitsontherun.com/videos/bkaovAYt-364766.mp4
that video is not hosted on my server and plays fine on iphones when watching it on that website. BUT if i download that mp4 file and upload it to my own server, anyone with any iphone or ipad cant watch that video on my own server. however they can watch it on a PC or Android phone/tablet without a problem. i have not changed the file in any way. It plays fine on a PC or android phone / table but not Ipad and iphone
Do anyone know why this would happen and what i need to do to make these files play on iphones / Ipads?