Black screen Issue with daily recording

svm_agilis Member

I am using Daily 0.57.0. In my application I use daily method startRecording to record owner's video and audio track. And also I use screenshare apis to to share only audio but not video. Below you can see the code for startRecoring and screenShare. When I share music, I see a black screen in the recorded video. I think when I share music, music with no video is getting prioritise over trainer video. Or only share music is getting recorded but not trainer video.
Can someone please help, how to avoid this issue. Trainer audio and video should be on High priority not share music.