switchMediaSource method
Switches to a new media source based on the provided configuration.
config
contains the new media settings and configurations.
Implementation
void switchMediaSource(ByteArkPlayerConfig config) {
ByteArkPlayerControllerPlatform.instance.switchMediaSource(config);
}