mirror of https://github.com/Genymobile/scrcpy
Make streamer independent of codec type
Rename VideoStreamer to Streamer, and extract a Codec interface which will also support audio codecs. PR #3757 <https://github.com/Genymobile/scrcpy/pull/3757>pull/3757/head
parent
c226797991
commit
10ce0f376a
@ -0,0 +1,16 @@
|
||||
package com.genymobile.scrcpy;
|
||||
|
||||
public interface Codec {
|
||||
|
||||
enum Type {
|
||||
VIDEO,
|
||||
}
|
||||
|
||||
Type getType();
|
||||
|
||||
int getId();
|
||||
|
||||
String getName();
|
||||
|
||||
String getMimeType();
|
||||
}
|
Loading…
Reference in New Issue