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

Demo does not seem to work #2

Open
jwoertink opened this issue Jun 28, 2023 · 0 comments
Open

Demo does not seem to work #2

jwoertink opened this issue Jun 28, 2023 · 0 comments

Comments

@jwoertink
Copy link

I cloned the repo and ran yarn, then yarn start. The demo does boot up, but when I put my Flussonic ingest server as the "host" value, and my stream key in, I just get a lot of errors in the console.

WebSocket connection to 'wss://my.flu.server/staging/whip/webrtc' failed: 
(anonymous) @ index.js:884
play @ index.js:11620
PUT https://my.flu.server/staging/whip?token=eyJ0eXAiOiJK/sessions/ 400 (Bad Request)
Player::Ws connection closed CloseEvent {isTrusted: true, wasClean: false, code: 1006, reason: '', type: 'close', …}
index.js:11677 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading '0')
    at index.js:11677:22
(anonymous) @ index.js:11677
Promise.then (async)
getCapabilities @ index.js:11676

Is this demo code still relevant? I'm also trying to follow along with https://flussonic.com/doc/video-playback/webrtc-playback/

I'm not exactly sure what I'm supposed to enter in these fields, but I am able to do publishing through my own app, so I tried using the WHIP URL that I use for my app.

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

1 participant