feat: (for now android only!) codec configuration and retrieval methods
This commit is contained in:
parent
32789468a3
commit
554c223e57
6 changed files with 117 additions and 0 deletions
10
lib/models/lp_codec.dart
Normal file
10
lib/models/lp_codec.dart
Normal 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"]);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue