feat: (for now android only!) codec configuration and retrieval methods

This commit is contained in:
Andrew 2026-05-04 14:04:35 +07:00
parent 32789468a3
commit 554c223e57
6 changed files with 117 additions and 0 deletions

10
lib/models/lp_codec.dart Normal file
View file

@ -0,0 +1,10 @@
final class LPCodec {
final String mimeType;
final int clockRate;
final bool enabled;
const LPCodec(this.mimeType, this.clockRate, this.enabled);
factory LPCodec.fromJson(Map<dynamic, dynamic> json) =>
LPCodec(json["mimeType"], json["clockRate"], json["enabled"]);
}