x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Pixel Streaming client server connection problem

I'm not able to get connected to the server using web server and proxy server setup provided https://docs.unrealengine.com/en-us/...PixelStreaming this works perfectly locally but not on a client-server setup or at least I can't get it working. Is there anyone who could help me with this? alt text

Product Version: UE 4.21
Tags:
1.png (436.2 kB)
2.png (29.5 kB)
more ▼

asked Nov 21 '18 at 08:41 AM in Everything Else

avatar image

PersoDeath
5 2 4

avatar image Pixi Labo Mar 07 '19 at 06:13 PM

@persoDeath Have you found a solution to this problem? We are in the exact same position: "Starting connection to server, please wait".

(comments are locked)
10|2000 characters needed characters left

5 answers: sort voted first
  • Is your signaling server running on the host machine?

  • Is your WebRTC Proxy running on the host machine?

  • Is your Unreal project running on the host machine with the -AudioMixer parameter?

If yes to all of these and it is working locally, it is likely a firewall issue. Open and forward port 8888 to your local machine and connect to the public IP from the external computer.

more ▼

answered Nov 21 '18 at 10:46 AM

avatar image

Weibye
250 1 7 5

(comments are locked)
10|2000 characters needed characters left

The answer to all 3 questions is yes. And to keep things simple all inbound and outbound ports are open also windows firewall has is disabled.

more ▼

answered Nov 21 '18 at 12:46 PM

avatar image

PersoDeath
5 2 4

avatar image Weibye Nov 21 '18 at 03:22 PM

Do you have any other web services currently running on the host machine that might interfere?

avatar image PersoDeath Nov 21 '18 at 11:37 PM

Nah I checked and there are no other web servers

avatar image Ro-Su- STAFF Nov 22 '18 at 09:46 PM

Is the IP address you're using to reach the computer running the Signaling Server accessible over the open Internet?

Did you configure a STUN server?

avatar image PersoDeath Nov 26 '18 at 03:20 AM

the IP address is pingable. I used the provided TURN server provided by the 4.21 package

avatar image VolleyNick Jan 29 '19 at 10:05 PM

@persoDeath were you able to get this working? I was also able to get it to run locally, but not able to get it to run over the web using the STUN server or the TURN server

(comments are locked)
10|2000 characters needed characters left

You can try using an ICE (Interactive Connectivity Establishment) architecture so that there's a fallback even if one of the transitional server fails.

more ▼

answered Nov 27 '18 at 11:51 AM

avatar image

ZDron3
66 3 6 7

(comments are locked)
10|2000 characters needed characters left

You have to follow this step. First of all, you have to run to run.bat. Second of all, you have to run to Start_webRTCProx. Then click Ue4 shortcut. I suggest trying a packaged project.

I hope your issues gonna be solved.

more ▼

answered Nov 30 '18 at 11:00 AM

avatar image

Fish-1028
47 3 3 6

avatar image Fish-1028 Dec 03 '18 at 05:57 AM

I guess you tried PixelStreaming at the local only connection(no access internet). if you do that you can not Pixel streaming on IOS right now. You have to do make a wifi connect the Internet, Then your issue will be solved. I don't know why Ios platform has to connect to the Internet. good luck.

(comments are locked)
10|2000 characters needed characters left

The answer is here: https://www.reddit.com/r/unrealengine/comments/9vtyu2/pixelstreaming_setup/

From rgb-freak:

You have to edit the config.json in Engine\Source\Programs\PixelStreaming\WebServers\SignallingWebServer\

You must add a STUN and a TURN server in the configuration as it described under https://docs.unrealengine.com/en-us/Platforms/PixelStreaming/PixelStreamingReference. This server won't work behind a NAT. They must be public reachable in the Internet.

For STUN i took stun:stun1.l.google.com:19302

For TURN i rent the cheapest cloud instance at https://www.hetzner.de/cloud (3 EUR / Month) and followed this install instructions: https://www.nomachine.com/AR07N00894

Now it works like a charm. Only clients behind proxys have connection problems with the TURN server. Maye I change the TURN server software as mentioned here: https://stackoverflow.com/questions/36627529/coturn-turnserver-error-437-mismatched-allocation-wrong-transaction-id-webr

In my case, I just changed this line in the Start_AWS_WithTURN_SignallingServer.ps1 file and it worked:

$peerConnectionOptions = "{ \""iceServers\"": [{\""urls\"": [\""stun:stun1.l.google.com:19302\"",\""turn:" + $PublicIp + ":19303\""], \""username\"": \""PixelStreamingUser\"", \""credential\"": \""Another TURN in the road\""}] }"

more ▼

answered Mar 08 '19 at 01:40 PM

avatar image

probitaille
1 1

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question