UdpOutputSettings.fromJson constructor
UdpOutputSettings.fromJson(
- Map<String, dynamic> json
)
Implementation
factory UdpOutputSettings.fromJson(Map<String, dynamic> json) {
return UdpOutputSettings(
containerSettings: UdpContainerSettings.fromJson(
json['containerSettings'] as Map<String, dynamic>),
destination: OutputLocationRef.fromJson(
json['destination'] as Map<String, dynamic>),
bufferMsec: json['bufferMsec'] as int?,
fecOutputSettings: json['fecOutputSettings'] != null
? FecOutputSettings.fromJson(
json['fecOutputSettings'] as Map<String, dynamic>)
: null,
);
}