dsiner / commenplayer Goto Github PK
View Code? Open in Web Editor NEWCommenPlayer ——Video player, Support ijkPlayer, Vlc, MediaPlayer, ExoPlayer; 视频播放器,支持ijkPlayer,Vlc,MediaPlayer,ExoPlayer
CommenPlayer ——Video player, Support ijkPlayer, Vlc, MediaPlayer, ExoPlayer; 视频播放器,支持ijkPlayer,Vlc,MediaPlayer,ExoPlayer
Hello, help me remove deinterlace
UPD stop working with new version. Can please recompile again. Thanks
Hi There,
How we can play udp base video with this player. Thanks
solve.
Can be compiled for arm64-v8a for full codecs commenPlayer ?
Hi, any way to add video zoom function, since i need to view a live RTSP video.
Thanks
Binu
How to play audio in the background or when screen if off?
Most of the popular video player support this feature. I want to know how it is implemented.
Hello Sir. I'm a UI/UX and Graphics Designer. I'm happy to see an open source project, So, I want provide a logo for you. Would you mind if I propose a new logo design for your project as my Open Source Contribution?
Thanks before.
When I coding to play in landscape mode:
AndroidManifest
<activity
android:name=".MainActivity"
android:screenOrientation="landscape"
android:launchMode="singleInstance">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
And in java
@OverRide
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
EventBus.getDefault().register(this);
setContentView(R.layout.activity_simple);
initView();
initPlayer();
}
private void initView() {
player = (CommenPlayer) findViewById(R.id.player);
}
private void initPlayer() {
player.setLive(true);
player.setOnNetListener(new OnNetListener() {
@Override
public void onIgnoreMobileNet() {
ignoreNet = true;
}
}).setOnPlayerListener(new IPlayerListener() {
@Override
public void onLoading() {
player.getControl().setState(ControlLayout.STATE_LOADING);
}
@Override
public void onCompletion(IMediaPlayer mp) {
player.getControl().setState(ControlLayout.STATE_COMPLETION);
}
@Override
public void onPrepared(IMediaPlayer mp) {
if (!ignoreNet && NetConstans.NET_STATUS == NetConstans.CONNECTED_MOBILE) {
player.pause();
player.getControl().setState(ControlLayout.STATE_MOBILE_NET);
} else {
player.getControl().setState(ControlLayout.STATE_PREPARED);
}
}
@Override
public boolean onError(IMediaPlayer mp, int what, int extra) {
player.getControl().setState(ControlLayout.STATE_ERROR);
return false;
}
@Override
public boolean onInfo(IMediaPlayer mp, int what, int extra) {
return false;
}
@Override
public void onVideoSizeChanged(IMediaPlayer mp, int width, int height, int sarNum, int sarDen) {
}
});
player.play(getResources().getString(R.string.url1));
}
video streaming freezes. And rare are artefatti
i check , ijk if full hd stream , there is no sound, PIC is good .
plz check and update,
thanks,
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.