Please refer the below issue and suggest the best solution to fix it.
Steps to reproduce the issue:
1 Join the session
2 Share the screen by using screen share button
3 Stop the screen share
4 Now try to publish/un-publish the audio/video
5 We are getting below error at UI side (we are using Angular technology) then after audio/video icons are not functioning