html5_rtsp_player icon indicating copy to clipboard operation
html5_rtsp_player copied to clipboard

Streamedian not getting domain name

Open nik13 opened this issue 3 years ago • 3 comments

Hi Team,

The streaming works fine on most of the platforms, but I have started to get following error:

⚡️  [error] - [wsp] The associated resource or media provider object (such as a MediaStream) has been found to be unsuitable.
⚡️  [error] - Failed to start player: The associated resource or media provider object (such as a MediaStream) has been found to be unsuitable.
⚡️  [error] - [wsp] The associated resource or media provider object (such as a MediaStream) has been found to be unsuitable.
⚡️  [error] - Failed to start player: The associated resource or media provider object (such as a MediaStream) has been found to be unsuitable.
⚡️  [log] - [info] ------------- Info ---------------------
⚡️  [log] - [info] License expires at :  Mon Jan 10 00:00:00 2022

⚡️  [log] - [info] Requested domain   :  
⚡️  [log] - [info] -----------------------------------------
⚡️  [error] - [transport:ws] [ctrl] close. code: 4000 Invalid Domain (credentials)
⚡️  [error] - [transport:ws] Invalid domain (credentials)
⚡️  [error] - [wsp] Invalid Domain (credentials)
⚡️  [error] - Failed to start player: Invalid Domain (credentials)

It seems like the requested domain field is empty and the streamedian is not filling it.

This is causing a lot of our user's issues. Kindly help.

nik13 avatar Oct 20 '21 06:10 nik13

are custom scheme supported, for example capacitor://localhost?

nik13 avatar Oct 20 '21 08:10 nik13

Hi @nik13 Are you using nginx or another web-server? This error can happen if the test page is opened from the file system please check it. What browser are you using?

victorgrenke avatar Oct 23 '21 06:10 victorgrenke

I’m using nginx with default configurations. It is working fine for web and mobile. We are using hybrid framework ionic.

At some places, at place of using https://, it uses capacitor://

According to me, this is causing the issue. It works for us in desktop and mobile browsers: chrome, edge, Firefox, safari mac and ios. But while creating an ios app, it uses capacitor:// as schema rather than https: while creating an ios app.

nik13 avatar Oct 23 '21 06:10 nik13