Skip to content
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

Vitamio based app not streaming video #18

Closed
ghost opened this issue Jul 23, 2013 · 4 comments
Closed

Vitamio based app not streaming video #18

ghost opened this issue Jul 23, 2013 · 4 comments

Comments

@ghost
Copy link

ghost commented Jul 23, 2013

Wrote a test app which simply streams video from http://www.learnwake.com/samples/flv/HsFs3603dSequence_h.flv. All I see is a black screen. I tested the link on my computer using VLC Player and it streams fine. I then tested this link on my test app: http://ia600204.us.archive.org/2/items/Pbtestfilemp4videotestmp4/video_test_512kb.mp4 and it has the same problem, it won't play. Is there anywhere I can download an older version of the Vitamio library?

@crossle
Copy link
Contributor

crossle commented Jul 23, 2013

I test the two link, it's playback fine. can you tell us some error log?

@ghost
Copy link
Author

ghost commented Jul 23, 2013

Strangely enough, there's no errors in LogCat. Pressing the start button spits out this: 07-23 14:41:21.341: I/ActivityManager(96): Starting: Intent { cmp=com.example.vdemo/.Player } from pid 6564
07-23 14:41:21.481: I/ActivityManager(96): Displayed com.example.vdemo/.Player: +108ms

My source for this app is here: https://www.dropbox.com/sh/mf697dzxu0klase/2yylixeoX0
and the apk I compiled is here: https://www.dropbox.com/s/zswt0gjz0qx79ee/VDemo.apk

@crossle
Copy link
Contributor

crossle commented Jul 24, 2013

You can look the demo, must add the line code

if (!LibsChecker.checkVitamioLibs(this))
            return;
<!-- Don't forgot InitActivity -->
        <activity
            android:name="io.vov.vitamio.activity.InitActivity"
            android:configChanges="orientation|keyboardHidden|navigation"
            android:launchMode="singleTop"
            android:theme="@android:style/Theme.NoTitleBar"
            android:windowSoftInputMode="stateAlwaysHidden" />

@crossle crossle closed this as completed Jul 24, 2013
@crossle crossle reopened this Jul 24, 2013
@ghost
Copy link
Author

ghost commented Jul 24, 2013

Thanks! It works now. By the way, is it possible to customize the UI, since I need to put more emphasis on some controls rather than others

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant