I am developing a video call application in Android using webRTC dependency
implementation "org.webrtc:google-webrtc:1.0.32006"
In order to display the local participant camera preview i use the SurfaceViewRenderer view that the webRTC library offers <org.webrtc.SurfaceViewRenderer />
However, what i want to achieve is to make that view draggable around the screen, just like all the other known chats are doing (Whatsapp, Messenger, Signal etc)
I have tried several ways but nothing seems to work.
Is there any advice or a sample of how to make a SurfaceViewRenderer draggable on the screen?
Thank you