2

In my application I have integrated the WebRTC protocol so I can make a video call with participants. In order to show my local camera stream, I use a SurfaceViewRenderer inherited from this package org.webrtc.SurfaceViewRenderer

However I want to be able to drag the view around in the screen. How can I achieve that?

james04
  • 1,580
  • 2
  • 20
  • 46
  • Did you find a solution? – Arjun May 13 '21 at 12:20
  • totally nothing...i have posted in Google Conversation but nothing. I need this – james04 May 13 '21 at 12:56
  • Have you tried to use the drag & drop guide? ignore the fact this is SurfaceViewRenderer it is just another view. https://developer.android.com/guide/topics/ui/drag-drop – madlymad May 14 '21 at 17:00
  • @Arjun finally i did this. But i extended a FrameLayout instead of ImageView, that has a SurfaceViewRenderer as a child https://stackoverflow.com/a/63269223/5371749 – james04 May 15 '21 at 15:20

0 Answers0