Skip to content

How I can take screenshot of WebRTC View? #7

Description

@osnaz1939

I used this library in here : http://mvnrepository.com/artifact/io.pristine/libjingle/9944
and use the gl.glReadPixels(x, 0, w, y+h, GL10.GL_RGBA, GL10.GL_UNSIGNED_BYTE, intBuffer);
method in my Activity,but returned bmp is black(perhaps because not completely worked method OnDraw).And I do not can extended my custom class from VideoRendererGui class,and redefine OnDraw method.
update: I am use old example https://libjingle.googlecode.com/svn-history/r287/trunk/talk/examples/android/ but in my version libjingle(9944) does not exist the "deepcopy" method in I420Frame
and my View is green,and after 5-10 seconds appears "Camera failure" error.
Can you help me?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions