prepareSubStreamsConfig method
Implementation
List<Map<String, dynamic>> prepareSubStreamsConfig(
Map<int, StreamType> configs) {
List<Map<String, dynamic>> result = [];
configs.forEach((userId, streamType) {
result.add({
'mid': getVideoMidForUser(userId),
'substream': streamTypeToInt(streamType),
});
});
return result;
}