Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run Player for WebRTC Sample. #91

Open
singerxt opened this issue May 10, 2023 · 5 comments
Open

Unable to run Player for WebRTC Sample. #91

singerxt opened this issue May 10, 2023 · 5 comments

Comments

@singerxt
Copy link

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.

@brahimfarhat
Copy link

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

@singerxt
Copy link
Author

No :)

@htliu6
Copy link

htliu6 commented Dec 10, 2023

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.

@singerxt
Copy link
Author

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

@htliu6
Copy link

htliu6 commented Jan 12, 2024

@singerxt Does it work now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants