MediaConfigList.from_dict#

classmethod MediaConfigList.from_dict(data)[source]#

Create a media configuration list from a dictionary.

Parameters:
datadict | list

The data to create the media configuration list from. Supports both the new dict format (with __type__) and legacy list format.

Returns:
MediaConfigList

The media configuration list created from the dictionary.