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]: No video stream is transmitted using GCP TURN server #1010

Open
cz2011301070 opened this issue Oct 24, 2024 · 1 comment
Open

[BUG]: No video stream is transmitted using GCP TURN server #1010

cz2011301070 opened this issue Oct 24, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@cz2011301070
Copy link

Package version

3.1.0-exp.8

Environment

* OS: windows 11
* Unity version:Unity2022.3.20f1
* Graphics API:Directx11
* Browser:Chrome130

Steps To Reproduce

  1. We followed tutorials on setting up turn servers on GCP. Have successfully tested the relay on our turn server using Trickle ICE
    image

  2. Unity running on a PC connecting to the internet through ethernet. Here is the render streaming configuration from Unity side:
    image

  3. An android phone uses data to connect to the internet.

  4. Unity side run the WebBrowserInput sample, the Phone side opens Chrome searches the public IP address of the GCP, and open the videoPlayer sample. The video window is black
    image

  5. when the phone switch to wifi connecting to the same local network as the PC, then the video is successfully streamed.
    image

Current Behavior

When connecting the phone to data or other wifi (not the same local network as the Unity), the phone browser cannot see the video

When connecting the phone to the same network environment as the Unity, then the video streaming is successfully received from the phone browser.

Expected Behavior

When connecting the phone to data or other wifi (not same local network as the Unity), the phone browser should see the video

Anything else?

image
GCP log when the video stream failed.

@cz2011301070 cz2011301070 added the bug Something isn't working label Oct 24, 2024
@keefor
Copy link

keefor commented Dec 1, 2024

I also encountered the same problem, but in the end, I tested that there was an issue with "videoplayer", but "mulitplay" can still be opened. You can try it, but there is a 30 second disconnection issue

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

3 participants