yixia / VitamioBundle

Vitamio for Android
http://www.vitamio.org/en/
Other
5.27k stars 2.07k forks source link

vitamio 5.0 not working with adio streaming #337

Closed mhcpan closed 8 years ago

mhcpan commented 8 years ago

I cannot use audio streaming with vitamio 5.0 Test url: http://46.252.33.58:9410

mediaPlayer.setDataSource(streamingurl);
mediaPlayer.setOnPreparedListener(RadioService.this);
mediaPlayer.prepareAsync();

@Override
public void onPrepared(MediaPlayer mp) {
    try {
        mp.start();
    }
    catch (Exception e) 
    {
    Log.e("onPrepared", "Prepare error", e);
    }
}

logcat: 12-16 01:07:19.387: I/Vitamio[5.0.0]Player: OPEN FILE http://46.252.33.58:9410 12-16 01:07:19.397: D/VitamioPlayer: CPU implementer:0x41 12-16 01:07:19.397: D/VitamioPlayer: CPU architecture:7 12-16 01:07:19.397: D/VitamioPlayer: processor:3 12-16 01:07:19.397: D/VitamioPlayer: BogoMIPS:1592.52 12-16 01:07:19.397: D/VitamioPlayer: Revision:0002 12-16 01:07:19.397: D/VitamioPlayer: CPU revision:0 12-16 01:07:19.397: D/VitamioPlayer: Serial:93e39fed42f78601 12-16 01:07:19.397: D/VitamioPlayer: Hardware:SMDK4x12 12-16 01:07:19.397: D/VitamioPlayer: Chip revision:0011 12-16 01:07:19.397: D/VitamioPlayer: CPU variant:0x3 12-16 01:07:19.397: D/VitamioPlayer: Processor:ARMv7 Processor rev 0 (v7l) 12-16 01:07:19.397: D/VitamioPlayer: Features:swp half thumb fastmult vfp edsp neon vfpv3 tls 12-16 01:07:19.397: D/VitamioPlayer: CPU part:0xc09 12-16 01:07:19.397: D/VitamioPlayer: CPU architecture: 7 12-16 01:07:19.397: D/VitamioPlayer: GET CPU FATURE: V5TE V6 VFP V7A VFPV3 NEON 12-16 01:07:21.392: D/Vitamio[5.0.0]Player: Input #0, mp3, from 'http://46.252.33.58:9410': 12-16 01:07:21.392: D/Vitamio[5.0.0]Player: Metadata: 12-16 01:07:21.392: D/Vitamio[5.0.0]Player: icy-notice1 : 12-16 01:07:21.392: D/Vitamio[5.0.0]Player:
This stream requires http://www.winamp.com/">Winamp 12-16 01:07:21.392: D/Vitamio[5.0.0]Player: icy-notice2 : //some info omitted for easy reading 12-16 01:07:21.392: D/Vitamio[5.0.0]Player: : Audio: mp3, 22050 Hz, stereo, s16p, 64 kb/s 12-16 01:07:21.392: I/Vitamio[5.0.0]Player: META AUDIO: 0. und, META SUBTITLE: 12-16 01:07:21.392: D/Vitamio[5.0.0]Player: FIND CODEC_ID 86017 12-16 01:07:21.392: I/Vitamio[5.0.0]Player: WOW: BRILLIANT C COUNT 4 12-16 01:07:21.392: D/Vitamio[5.0.0]Player: OPEN CODEC mp3 12-16 01:07:21.392: I/Vitamio[5.0.0]Player: OPEN STREAM AUDIO BEGIN 12-16 01:07:21.392: I/Vitamio[5.0.0]Player: Copyright (c) YIXIA (http://yixia.com). 12-16 01:07:21.392: I/Vitamio[5.0.0]Player: THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com) 12-16 01:07:21.392: I/Vitamio[5.0.0]Player: Vitamio Version 5.0.0 12-16 01:07:21.392: I/Vitamio[5.0.0]Player: Application package name: com.xxx.yyy 12-16 01:07:21.392: I/Vitamio[5.0.0]Player: 2, 48000, 0 12-16 01:07:21.392: D/Vitamio[5.0.0]Player: THREAD AUDIO_DECODE START 12-16 01:07:21.412: I/VitamioPlayer: Info (704, 0)

It just stop there and never start play the stream. i.e. onPrepared never be called.

Can anyone help?

MythodeaLoL commented 8 years ago

Possible alternative to vitamio problems https://github.com/Bilibili/ijkplayer

Vitamio G+ https://plus.google.com/u/0/communities/113608906994449577780/stream/a1e85a4b-3e07-4fa6-a9ac-4dead2caab69

Unfortunately I have no time to test, one who is using leave a review please

iosifnicolae2 commented 8 years ago

@ashwanigarg i didn't test this library.. so i cant help you 😥 i just olayed some aac and mp3 audio streams. Check oficial sample from Google..

brdn commented 8 years ago

@pmrajani no, you should update vitamio library to last version

ArslanKathia commented 8 years ago

@pmrajani can you tell me the last version of vitamio library

ninenox-dev commented 8 years ago

5.0.1 https://www.vitamio.org/en/Download/

ArslanKathia commented 8 years ago

@nisit15 but i think it also this version also banned by google play when we use it in our app!

ArslanKathia commented 8 years ago

can have an other alternative of vitamio for streaming the HD video from Url? if have then tell me i need its very urgent! I always appreciate your help Thanks.

ArslanKathia commented 8 years ago

can google play allow this on play store

On Sun, May 29, 2016 at 2:55 PM, Nisit notifications@github.com wrote:

5.0.1 https://www.vitamio.org/en/Download/

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/yixia/VitamioBundle/issues/337#issuecomment-222352308, or mute the thread https://github.com/notifications/unsubscribe/ARpJq1qjdwwNR2W-FCw1MNVaF6Df5ns_ks5qGWKOgaJpZM4G3e1Y .

pmrajani commented 8 years ago

@ArslanKathia Yes, google play allow this version

sanjeebbahma commented 8 years ago

Local RTMP Streaming Over the LAN is not playing.. can any one give me update code base for this url rtmp://192.168.1.14:1935/app&buffer=1&forceObjectEncoding=0

developerbrsoft commented 8 years ago

I have this issue in version 5.0.2. please any one help

Hello Google Play Developer, We rejected Skye9, with package name skye9.com.skye9, for violating our Malicious Behavior or User Data policy. If you submitted an update, the previous version of your app is still available on Google Play. This app uses software that contains security vulnerabilities for users or allows the collection of user data without proper disclosure. Below is the list of issues and the corresponding APK versions that were detected in your recent submission. Please upgrade your app (s) as soon as possible and increment the version number of the upgraded APK. VulnerabilityAPK Version(s) Vitamio The vulnerabilities were fixed in Vitamio v.5.0 and higher. You can find more information and next steps in this Google Help Center article. 7 To confirm youve upgraded correctly, submit the updated version of your app to the Developer Console and check back after five hours to make sure the warning is gone. While these vulnerabilities may not affect every app that uses this software, its best to stay up to date on all security patches. Make sure to update any libraries in your app that have known security issues, even if youre not sure the issues are relevant to your app. Apps must also comply with the Developer Distribution Agreement and Developer Program Policies. If you feel we have made this determination in error, please reach out to our policy support team. Best, The Google Play Team

ominfowave commented 8 years ago

@atul14 i have same issue that you mention above

issue is that 5.0.2 doesn't play mms(WMA) streams, even though 4.0 used to work on that. e.g.

Getting error - OPEN FILE mms://200.42.92.6:1755/qmusica E/Vitamio[5.0.2][Player]: avformat_open_input: Protocol not found : -1330794744 D/Vitamio[5.0.2][Player]: CLEAN START D/Vitamio[5.0.2][Player]: CLEAN END E/Vitamio[5.0.2][Player]: error (1, -1330794744)

are you resolved it?