Skip to content

Conversation

@theLastGuppy
Copy link

WinCaster enables seamless game streaming to Android TVs by providing:

  • TCP Command Service (WinCasterCommandService.java):

    • Listens on port 47990 for JSON commands from Winhanced
    • Handles stream, stop, status, and ping commands
    • Runs as foreground service with specialUse type
  • mDNS Advertiser (WinCasterAdvertiser.java):

    • Advertises _wincaster._tcp service on network
    • Uses NsdManager on Android 14+, jmDNS on older versions
    • Includes TXT records: name (device model), version, platform
  • Deep Link Handler (WinCasterDeepLinkActivity.java):

    • Handles wincaster://stream?host=X&uuid=Y&name=Z&app=A URLs
    • Looks up host in paired computers and starts streaming
  • Boot Receiver (WinCasterBootReceiver.java):

    • Starts WinCasterCommandService on device boot
    • Handles BOOT_COMPLETED, LOCKED_BOOT_COMPLETED, QUICKBOOT_POWERON
  • Package/branding updates:

    • Changed namespace/applicationId to com.winhanced.wincaster
    • Changed app name to "WinCaster"
    • Removed root flavor (not needed for TV use case)
    • Set version to 1.0.0
  • AndroidManifest updates:

    • Added RECEIVE_BOOT_COMPLETED, FOREGROUND_SERVICE, FOREGROUND_SERVICE_SPECIAL_USE permissions
    • Registered all new components
  • PcView.java updates:

    • Starts WinCasterCommandService and WinCasterAdvertiser on launch
  • ComputerManagerService updates:

    • Added getComputers() method for listing paired hosts

WinCaster enables seamless game streaming to Android TVs by providing:

- TCP Command Service (WinCasterCommandService.java):
  - Listens on port 47990 for JSON commands from Winhanced
  - Handles stream, stop, status, and ping commands
  - Runs as foreground service with specialUse type

- mDNS Advertiser (WinCasterAdvertiser.java):
  - Advertises _wincaster._tcp service on network
  - Uses NsdManager on Android 14+, jmDNS on older versions
  - Includes TXT records: name (device model), version, platform

- Deep Link Handler (WinCasterDeepLinkActivity.java):
  - Handles wincaster://stream?host=X&uuid=Y&name=Z&app=A URLs
  - Looks up host in paired computers and starts streaming

- Boot Receiver (WinCasterBootReceiver.java):
  - Starts WinCasterCommandService on device boot
  - Handles BOOT_COMPLETED, LOCKED_BOOT_COMPLETED, QUICKBOOT_POWERON

- Package/branding updates:
  - Changed namespace/applicationId to com.winhanced.wincaster
  - Changed app name to "WinCaster"
  - Removed root flavor (not needed for TV use case)
  - Set version to 1.0.0

- AndroidManifest updates:
  - Added RECEIVE_BOOT_COMPLETED, FOREGROUND_SERVICE,
    FOREGROUND_SERVICE_SPECIAL_USE permissions
  - Registered all new components

- PcView.java updates:
  - Starts WinCasterCommandService and WinCasterAdvertiser on launch

- ComputerManagerService updates:
  - Added getComputers() method for listing paired hosts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants