Identifier "VideoStreamState' has already been declared

I have developed an streaming web client using the “Milestone Mobile SDK 2023 R2”. I have hosted my newly built HTML application on the mobile server and tried to get the live streaming but unfortunately getting the below error message.

I have used the “XPMobileSDK” libraries in my code. Does anyone have any idea on why that error comes? Is there anyway that i can resolve that?

I have found the solution for this. I have mistakenly load the “XPMobileSDK.library.js” file to my HTML application which is actually not required.