unable to make rounded corner surface view renderer

933 views
Skip to first unread message

Ayyappan

unread,
Aug 23, 2017, 2:49:11 AM8/23/17
to discuss-webrtc
Hi,

I'm using webrtc in android.I'm unable to create rounded corners of surfaceview renderer. Is it possible to make rounded sufaceviewrenderer?  Please help.

thanks in advance.


Ayyappan

Niels Moller

unread,
Aug 23, 2017, 6:39:08 AM8/23/17
to discuss...@googlegroups.com
On Wed, Aug 23, 2017 at 8:49 AM, Ayyappan <ayyapp...@gmail.com> wrote:
> Hi,
>
> I'm using webrtc in android.I'm unable to create rounded corners of
> surfaceview renderer. Is it possible to make rounded sufaceviewrenderer?
> Please help.

I'm not that familiar with the android code, but I think the way to do
it is to implement RendererCommon.GlDrawer, and pass an instance of
your own class to SurfaceViewRender.init. By default, you get a
GlRectDrawer.
Reply all
Reply to author
Forward
0 new messages