转换为可用于播放器的配置映射
Convert to a configuration map that can be used by the player
@override Map<String, dynamic> toJson() { return { 'sourceType': sourceType.toString(), 'url': url, }; }