Jump to content
  • 0

Unity web socket error


Vinicius Ribeiro
 Share

Question

Hello, hope this email finds you well.

Our company is trying to use Sora Unity SDK with Ant Media for Web RTC streams. We are facing a problem with this release. We can't connect to the web socket.

We see this error on server side (with our app and the sample provided):

2021-08-09 15:04:45,200 [http-nio2-0.0.0.0-5080-exec-14] ERROR i.a.e.w.WebSocketEnterpriseHandler - Received message does not contain any command for session id: 14f4, message:{"type":"connect","role":"recvonly","multistream":false,"spotlight":false,"simulcast":false,"channel_id":"816736623406692027287689","sora_client":"Sora Unity SDK 2021.3 (78524c53)","libwebrtc":"Shiguredo-build M92.4515@{#9} (92.4515.9.1 2d3ba085)","environment":"Unity 2020.3.8f1 for Windows","video":{"codec_type":"VP8","bit_rate":1500},"audio":{"codec_type":"OPUS"}}

I tried some changes on sora.cpp but with no luck.

Any ideas/thoughts on what we are missing?

Thank you in advance!

With best regards,
Vinicius Ribeiro.
Link to comment
Share on other sites

  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

4 answers to this question

Recommended Posts

  • 0

Hi,

We have a Unity SDK that is developed specifically for Ant Media Server. This library needs quite a bit changes to work with Ant Media. If you don't have access to our Unity SDK you can ask for it sending an e-mail to support@antmedia.io 

 

Cheers

 

Link to comment
Share on other sites

  • 0
Hi, thanks for the reply.

We already used this specifically Unity SDK. We faced several crashes when stopping the stream and exiting the application. The problems include the Unity SDK dll memory access violation and Microsoft Visual C++ crashes:

SoraUnitySdk.dll caused an Access Violation (0xc0000005)
  in module SoraUnitySdk.dll at 0033:e6c356c4.

Than we tried to used a new version of Sora SDK and faced the problem mentioned above.

We managed to solve the Visual C++ crashes, but the problem at closing the application still occurs occasionally.

Link to comment
Share on other sites

  • 0

Hi Vinicius,

 

Thank you for your explanation.

Can you create an issue about your problem from github ( https://github.com/ant-media/Ant-Media-Server/issues/new?assignees=&labels=&template=bug_report.md&title= ) so that we can plan the issue in the sprints.

Cheers

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share


×
×
  • Create New...