Setting subtitleConfig cause video suddenly stops
I've encountered a problem while playing videos. Whenever I switch the subtitles, the video suddenly stops. I'm using the following code to change the subtitle URL for m.videoPlayer: content.subtitleConfig = { trackName: captionURL }. Surprisingly, the logs show that the video is still in the playing state, and the URL seems to be correct.
I wanted to see if anyone has experienced a similar issue or has any insights into what might be causing this problem. It's worth mentioning that the backend response's manifest </AdaptationSet> contains multiple subtitles, and I have attempted to use the subtitleTracks option in the API.
and I aslo tried using subtitleTrack, but the terminal displays an error stating that it is a nonexistent field (even though I have added this field in the VideoPlayerContentNode).
Your assistance or suggestions would be greatly appreciated. Thank you in advance for your help!