Immersive-Video-Sample icon indicating copy to clipboard operation
Immersive-Video-Sample copied to clipboard

Unable to run Player for WebRTC Sample.

Open singerxt opened this issue 1 year ago • 5 comments

Hello!

I'm trying to run a WebRTC Sample and experiencing an issue with the player. I'm running the server and can go to the localhost:3001 and see some debug player playing a video. I was able to compile both the server and player successfully. However, I'm trying to run a player which points to localhost:3001 player is receiving the session token and crashing with an unclear error

[error] handle_read_http_response error: websocketpp.transport:7 (End of File)

My guess will that player is unable to create a web socket connection however I'm not sure why. Is there any hidden requirement that is undocumented? I can guess that maybe WebSocket requires SSL up and running.

singerxt avatar May 10 '23 21:05 singerxt

Hi, I have same issue as you, were you able to find an answer ?

brahimfarhat avatar Jul 05 '23 06:07 brahimfarhat

No :)

singerxt avatar Jul 31 '23 15:07 singerxt

Hi, this is because the socket.io-client-cpp has been updated, you just switch to the previous commit and rebuild the client.

git checkout fb8efd95038f05798d67916a4286dfd586e3b1f6

Best wishes.

htliu6 avatar Dec 10 '23 06:12 htliu6

Hey @htliu6 thank you. I will test it this week

singerxt avatar Dec 20 '23 14:12 singerxt

@singerxt Does it work now?

htliu6 avatar Jan 12 '24 06:01 htliu6