android video view issue - buffer - android

I have android app and video file which is bufferring and running from my application. I have tested that in samusung galaxy s2 and samsung galaxy tab. It works perfectly, but when i try that in karbon A21 and HTC Evo it says "Cannot play video sorry, this video cannot be played". Can somebody help me to understand the issue.

It's all related video codec format support compatibility. you didn't specify your video file extension. mp4 format supports most of all android devices.so, check any mp4 format in all android devices including your karbon A21 and htc devices. good luck!!!!!!!!

Related

setAllowedCapturePolicy not working for Samsung devices on Android Q and above

According to Android docs,
mAudioManager.setAllowedCapturePolicy(AudioAttributes.ALLOW_CAPTURE_BY_NONE);
should block internal audio recording. In my testing, this works for the built-in system screen recording for Pixel devices, but not for Samsung devices. On Samsung devices, the internal audio can still be recorded despite setting ALLOW_CAPTURE_BY_NONE.
Has anyone encountered this and found a workaround?

Android tablet freezes when running HLS stream at high quality

I am running application on Samsung Galaxy Tab 2 10.1, which plays HLS streams, encrypted by Verimatrix. I am using 3rd party player integrated in my app. Streams switch quality among three profiles,
<= 1MBps,
<= 1.6MBps
and
<=2.6MBps.
Playback is OK at low and medium, but at high, occasionally, tablet freezes completely and has to be rebooted manually. Anybody got similar experience? Is this sign of high demands of application on device? I am trying to find out root cause. Any hint appreciated. Thanks.
Well, I got this problem on my Galaxy Tab 7 too. I read on some sites that the problem is on HLS android implementation.
The following links talks about Android's HLS problems.
The Pain of Live Streaming on Android
http://www.jwplayer.com/blog/the-pain-of-live-streaming-on-android/
The Definitive Guide to HLS
http://features.encoding.com/http-live-streaming-hls/

Media player 1004 error on galaxy s3

I have a videoview that displays content from the web.
When I play on the nexus 7 with Android 4.2 it works fine, but when I play it on the GS3 ir return an error 1004 IO Error.
Does anyone has any idea why is this happening?
If you need the code I will post it here.
Thanks
I had the same issue. I was trying to stream an Audio and play it in my application and I had the same error only on Samsung devices. I think they have modified the Android Media Player core and that caused some problem.
What I did for a solution is, I'm checking if the manufacturer of the device is Samsung and pop a dialog window saying that your device does not support streaming. And I download the audio and then play downloaded audio.
I needed an urgent solution and couldn't find a better solution.
Hope it helps.

VideoPlayer Shows Error (1, -1)

I am working on playing a video in my application, and I am observing some strange results in doing so. Videos that I am trying to play are on server and I have to get them to run android's native videoplayer.
I have tested the results on several devices and it is found that video runs on devices having OS version greater than equal ton 2.3.3 but does not run on others, showing error (1, -1). Now my question is that either the later OS versions have some extra Video codecs and format support and that is because the video gets played on them or it's something else? Why so is this error on few devices not on all?
Devices on which Video Works fine in native videopalyer:
Samsung Google Nexus with OS 4.0.1
Samsung Galaxy S with OS 2.3.3
Devices on which does not get played:
HTC-Desire with OS 2.2
Samsung Galaxy S with OS 2.2
Any help about the issue is always appreciated.
This error may occur due to many reasons. Issue might lie videoplayer, as well source from where you are reading the video, Is video coming from HTTp server or RSTP server...any of these can be the reason. You'll have to check accordingly. In our case, we solved it by using Video View and also made changes to URL to get it played.

Multimedia Application in Android

We have to developed an Multimedia Application, should record audio and playback and video as well,
i googled, and it seems, Audio capturing is not supported in Android Emulator,
Is this correct, Is there any way, i can test it on the Emulator.
Also i am starting with Samsung Galaxy Tab as an Android Virtual Machine, please let me know if this is correct way to start.

Categories

Resources