plexinc / plex-media-player

Next generation Plex Desktop/Embedded Client
GNU General Public License v2.0
1.17k stars 170 forks source link

[IPv4 + IPv6 environment]: Player parsing IPv6 address incorrectly, and thus playback over IPv6 does not work #990

Open samip5 opened 4 years ago

samip5 commented 4 years ago

I'm writing this on behalf of @Hevari. The server is mine, but player is theirs.

The issue seems to be related to the PlayerComponent, and ffmpeg according to logs.

Logs can be found here, till Oct 31, 2020.

Test environment

PMS Version: 1.20.2.3402 PMP Version: 2.58.0.1076-38e019da build date: 2020-05-19 Platform: Windows 10

Steps to reproduce

  1. Have dual-stack environment.
  2. Set Plex server's IPv6 address to Custom server access urls in the following format:
    https://2001-67c-1104-FA0-F279-59FF-FE62-692A.<server-identifier>.plex.direct:32400
  3. Fire up Plex Media Player from outside the network
  4. Try to watch anything.
  5. It errors/keeps on buffering.

Current behavior

  1. Try to start to watch someting
  2. The playback errors.

Expected behavior

  1. Try to start to watch something.
  2. It works via IPv6, or fallbacks to IPv4.