Skip to content

VLC_PORT Is shown as undefined in production builds

Description

VLC_PORT is correctly set in development builds (serve-android and serve-desktop) but is undefined in production builds (build-android and build-desktop).

Expected behavior

VLC_PORT should be set as the port used and console.log(VLC_PORT) should print it as in the case of dev-builds

Actual behavior

VLC_PORT is undefined and console.log(VLC_PORT) prints undefined

Steps to reproduce

  1. Build using build-android or build-desktop
  2. print VLC_PORT using console.log(VLC_PORT)

Screenshot / video

image.png

image.png

Context

Remote access version

Port version

Android

Windows/Linux

MacOS

iOS