MultiplexSettings.fromJson constructor

MultiplexSettings.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory MultiplexSettings.fromJson(Map<String, dynamic> json) {
  return MultiplexSettings(
    transportStreamBitrate: json['transportStreamBitrate'] as int,
    transportStreamId: json['transportStreamId'] as int,
    maximumVideoBufferDelayMilliseconds:
        json['maximumVideoBufferDelayMilliseconds'] as int?,
    transportStreamReservedBitrate:
        json['transportStreamReservedBitrate'] as int?,
  );
}