|
YAACC - UPNP Client and Server
|
The codecs that YAACC can ask a Snapcast server to send a stream in (the output codec of a stream: the feed is always PCM). More...

Static Public Member Functions | |
| static List< String > | choices (int sdkInt) |
| The codecs that can be chosen on a device of this API level, in the order of the list: FLAC, PCM, and Opus where it exists. | |
| static String | normalize (String stored, int sdkInt) |
| static String | forFeed (boolean ownServer, String ownServerChoice, String feedChoice, int sdkInt) |
| The codec for the stream that the phone asks a server for when it feeds it: the choice for the phone's own server when the server is the phone's own, else the choice for feeding other servers. | |
| static boolean | isOwnServer (String host, int port, boolean ownServerRuns, int ownControlPort, Predicate< String > isLocalAddress) |
| Whether a server is this phone's own: the built-in server runs, the port is its control port and the host is an address of this phone (or the loopback). | |
The codecs that YAACC can ask a Snapcast server to send a stream in (the output codec of a stream: the feed is always PCM).
Two settings use them: the codec of the stream the phone makes on a server it feeds, and the codec of the streams of the phone's own server. FLAC is the default, PCM the plain choice, Opus only where the platform has an encoder (Android 10, API 29). Pure.
|
static |
DEFAULT (also for null, an unknown name or Opus on Android 9) Referenced by de.yaacc.snapcast.SnapcastCodecs.forFeed().

