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

[BUG] - The disconnecting and connecting again at 1006 #415

Open
parth270 opened this issue Jan 20, 2025 · 1 comment
Open

[BUG] - The disconnecting and connecting again at 1006 #415

parth270 opened this issue Jan 20, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@parth270
Copy link

parth270 commented Jan 20, 2025

UE Version:
E.g. UE 5.4

Frontend Version:
E.g. UE5.4

Description
while doing pixel streaming, it keep disconnecting and connecting for some reason

i followed this forum but cant find what to change anywhere
https://forums.unrealengine.com/t/streamer-disconnected-1006-pixel-streaming/141318

if anyone can help me resolve this

I finally found a solution to my problem in Chinese though

link

translation:

add this line

this.cfg.offerExtmapAllowMixed = false;

to line 61 of …\Engine\Source\Programs\PixelStreaming\WebServers\SignallingWebServer\scripts

webRtcPlayer.js

this.video = createWebRtcVideo();

this.cfg.offerExtmapAllowMixed = false;

onsignalingstatechange = function(state) {
console.info(‘signaling state change:’, state)
};

how to add this in 5.4 version of pixel streaming signalling web server

also leaving some images of error:-

Image

Image

@parth270 parth270 added the bug Something isn't working label Jan 20, 2025
@mcottontensor
Copy link
Collaborator

Firstly that thread is very old and most likely any information gathered there is no longer valid.

Error 1006 is just an abnormal close event which means it can be fired for many reasons. For example maybe the streamer is crashing or something. link for close codes

The errors you have included in your issue seem to suggest there might be some versioning mismatch or some bad configuration between the frontend and the streamer. Are you using the latest release of the 5.4 infrastructure code?

The fix you mentioned, are you sure it fixes your issue? How did you test it? Because of the large differences over past releases it can be hard to compare results across older versions.

More details on your setup would be helpful. Things like what browser you're using, how you obtained your frontend code, what the streamer is doing and what is being output to the console while you attempt streaming.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants