|
5#
楼主 |
发表于 2013-12-26 16:46:53
|
只看该作者
int index = anychat.mVideoHelper.bindVideo(mSurfaceView.getHolder());
Log.e("bindVideo", "index==" + index);
anychat.mVideoHelper.SetVideoUser(index, -1);
SurfaceHolder holder = mSurfaceView.getHolder();
holder.setFormat(PixelFormat.RGB_565);
holder.setFixedSize(anychat.GetUserVideoWidth(-1),
anychat.GetUserVideoHeight(-1));
Surface s = holder.getSurface();
anychat.SetVideoPos(-1, s, 0, 0, 0, 0);
一直报那个错,麻烦帮忙看下
|
|