scrcpy icon indicating copy to clipboard operation
scrcpy copied to clipboard

Does scrcpy have some kind of api?

Open DenisVASI9 opened this issue 1 year ago • 1 comments

Hi, I want to write my application using scrcpy as a basis, is there an api through some protocol? For example a socket or other network protocol

DenisVASI9 avatar Apr 12 '23 16:04 DenisVASI9

There is no libscrcpy, but you can use the server only and write your own client. However, there is absolutely no guarantee of protocol stability (it is an internal protocol for scrcpy and may change at any time).

I have to document how to use the server somewhere, but you can get an example here (based on scrcpy v1.25).

rom1v avatar Apr 12 '23 18:04 rom1v