Document accumulated interoperability findings and current source-backed design. Record build-specific visual results, matched acceleration policy, passing packaged behavior checks, and explicit native/ARM and strict visual acceptance limits. No complete 1:1 claim.
103 lines
7.3 KiB
Markdown
103 lines
7.3 KiB
Markdown
# Installed official TeamSpeak 6 client — read-only inspection (2026-10-24)
|
|
|
|
Purpose: interoperability reference for TeamsPeach screenshare viewing. Only installed program
|
|
files were read (file versions, string tables). The user profile (`%APPDATA%\TeamSpeak\Default`:
|
|
`settings.db`, `tschat_pc.db`) was **not opened**; the running official client (7 `TeamSpeak.exe`
|
|
processes) was not touched. No credentials, tokens or identities were extracted.
|
|
These are static strings, **not runtime proof** of what a given streamer negotiates.
|
|
|
|
## Install
|
|
|
|
- Path: `C:\Users\Admin\AppData\Local\Programs\TeamSpeak`
|
|
- `TeamSpeak.exe`: FileVersionRaw **6.0.0.5163**, ProductVersion 6.0.0.0, TeamSpeak Systems GmbH, files dated 2026-10-15.
|
|
(Registry `DisplayVersion 5.0.0` is the MSI wrapper, not the app.)
|
|
- UI runtime: `libcef.dll` **151.3.15+g57a32ea+chromium-151.0.7922.76**; UI bundle `html/client_ui/main.js` (10.8 MB).
|
|
- `html/client_ui/*.js` contains **no** `RTCPeerConnection` or stream verbs: screenshare WebRTC runs in native
|
|
libwebrtc inside `TeamSpeak.dll`, not in Chromium's JS WebRTC.
|
|
|
|
## Codecs present in `TeamSpeak.dll` (strings)
|
|
|
|
libvpx (VP8/VP9), libaom + dav1d (AV1), OpenH264 2.6.0 fetched at runtime from
|
|
`http://ciscobinary.openh264.org/openh264-2.6.0-win64.dll.bz2` ("Cisco H264 Encoder/Decoder (Software)"),
|
|
FFmpeg `avcodec-62.dll` with hardware coders `h264_nvenc`, `h264_amf`, `h264_qsv`, `H264DecoderImpl`.
|
|
Which codec/profile a particular streamer sends is decided at negotiation time; TeamsPeach shows the
|
|
negotiated codec from `getStats()` while watching instead of assuming one.
|
|
|
|
## Screenshare signaling vocabulary
|
|
|
|
- Server notifications: `notifystreamstarted`, `notifystreamstopped`, `notifystreaminfo`, `notifystreamupdated`,
|
|
`notifystreamclientjoined`, `notifystreamclientleft`, `notifystreamsignaling`, `notifystreamattendees`,
|
|
`notifyjoinstreamrequest`, `notifyrespondjoinstreamrequest`, `notifysfuaccessinfo`.
|
|
- Client commands: `setupstream`, `updatestream`, `requeststreaminfo`, `stopstream`, `removeclientfromstream`,
|
|
`joinstreamrequest` (`is_remove`), `streamsignaling`, `respondjoinstreamrequest` (`decision`, `offer`),
|
|
`requestsfuaccessinfo`; fields `accessibility`, `viewer_limit`, `sfu_endpoint`, `sfu_user_id`, `sfu_token`.
|
|
- `streamsignaling` JSON commands: `answer`, `offer`, `reconnectOffer`, `reconnect`, `iceCandidate` (arg `mLine`), `callEnd` (calls).
|
|
- Behaviour strings: `kOffer, is_reconnect:`; `pending candidate of a previous ICE generation, ufrag=` (stale-ufrag
|
|
candidates are dropped); recovery "tier-1 ICE restart" / "tier-2 full reset";
|
|
`OnRemoteSupportedCodecsChanged … realign` (the offer that follows our answer is a codec realignment);
|
|
`kJoinResponse: decision=false or offer empty, not applying`.
|
|
- Default STUN servers of the official client: `stun:turn.teamspeak.com:3478`, `stun:turn2.teamspeak.com:3478`.
|
|
- An SFU path (mediasoup: `create-stream`, `transport-connect`, `consume-stream`) also exists. TeamsPeach implements
|
|
only the P2P path and reports SFU streams as unsupported.
|
|
|
|
## Public protocol notes used
|
|
|
|
<https://raw.githubusercontent.com/phattbeats/plnt-android/main/STREAMING.md> (read for protocol knowledge only;
|
|
no code copied): discover with `requeststreaminfo clid`, join with `joinstreamrequest id clid msg is_remove=0`,
|
|
offer in `notifyrespondjoinstreamrequest decision=1 offer`, answer `{"cmd":"answer","args":{"answer":sdp}}`,
|
|
trickle `{"cmd":"iceCandidate","args":{"mLine","mid","sdp"}}`, mandatory answer to the realign `offer`,
|
|
leave with `is_remove=1`.
|
|
|
|
## Nickname colours and avatars in the channel tree (follow-up)
|
|
|
|
- `html/client_ui/main.css`: `.is-contact[data-v-…] .tsv-item-text{color:var(--tsv-online-color)}` and
|
|
`.contact{color:var(--tsv-online-color)}` — names of **myTeamSpeak contacts** are drawn in the "online"
|
|
(green) colour; `.ts-mixer-track.is-own … .ts-mixer-row-name{color:var(--tsv-highlight-color)}` — the
|
|
**own client** uses the highlight colour. `main.js` computes `isContact` from the myTeamSpeak chat
|
|
connection (`tschat_manager.defaultConnection`, `haveMyTsIdContact(clientMyTsId)`).
|
|
Nickname colours are therefore **local relationship highlighting, not server data**; no colour field
|
|
exists in `notifycliententerview` (confirmed by the core). TeamsPeach has no myTeamSpeak account and
|
|
therefore no contacts: it highlights only the own nickname.
|
|
- Avatar precedence in `main.js`: `client_flag_avatar` (server file) first, otherwise
|
|
`client_myteamspeak_avatar` resolved by the native `requestAvatarWithTsServerClientProperty`
|
|
(DLL: `Avatar_Cache::request_avatar_from_urls(vector<pair<unsigned, string>>)`).
|
|
|
|
## Publisher protocol inspection (same installed version)
|
|
|
|
Read-only PE inspection recovered **legacy text-command construction**, independently of
|
|
the protobuf descriptor strings in the same DLL. `ts6-publisher-native.json` records the
|
|
SHA-256, method and short x64 disassembly/ASCII-reference excerpts; no binary or profile
|
|
data is copied. Python `capstone` decoded RIP-relative `lea` references after a small
|
|
standard-library PE-section parser located the command strings:
|
|
|
|
- `setupstream`, VA `0x18154bf25`: `name type bitrate accessibility mode viewer_limit audio`.
|
|
- `updatestream`, VA `0x18154c100`: `id name type bitrate accessibility mode viewer_limit audio`.
|
|
- `removeclientfromstream`, VA `0x181549a56`: `id clid reason`; a distinct overload at
|
|
`0x181549d5f` omits `clid`. TeamsPeach uses only the explicit-viewer overload.
|
|
|
|
The official minified UI source supplies independent enum evidence, saved with its
|
|
hash and excerpts in `ts6-publisher-ui-enums.json`: camera `1`, screen `2`, window `3`;
|
|
public `1`, contacts-only `2`, private `3`; P2P `1`, SFU `2`; close reason `KICKED=4`.
|
|
Its join handler only tests a viewer limit when `viewerLimit > 0`, establishing `0`
|
|
as unlimited. It automatically approves public/contact-matched viewers and otherwise
|
|
places them in `_pendingJoinRequests` for a later `joinStreamResponse` decision.
|
|
This establishes client policy, not whether every server version implements the same
|
|
metadata filters. TeamsPeach selected-participant mode therefore uses public discovery
|
|
metadata plus an enforced local UID allowlist; it does not impersonate myTS contacts.
|
|
|
|
The public protocol notes above now also document **Sending**: setup with all seven
|
|
metadata fields, wait for `notifystreamstarted` to obtain the real ID, respond with
|
|
`respondjoinstreamrequest id clid decision offer msg`, receive answer and trickled ICE,
|
|
and unregister with `stopstream id`. The reference reports live desktop crashes for
|
|
H264 Constrained Baseline and non-libwebrtc senders. TeamsPeach uses Chromium libwebrtc
|
|
and safe codec preferences (H264 High/VP8 only), video before audio, the `outgoing_video`
|
|
wire stream label, and trickled candidates. These are interoperability precautions,
|
|
not proof of a TeamsPeach-to-official-client live session.
|
|
|
|
No existing disposable TS6 server binary was found in the inspected repository,
|
|
Downloads filenames, or temporary workspace filenames. No real server, account,
|
|
participant, desktop, microphone or camera was used for this investigation. The
|
|
offline stdio and generated/offscreen media tests have deliberately separate scopes.
|
|
SFU publishing would require a compatible controlled SFU endpoint, access-token and
|
|
transport negotiation, and a real mediasoup sender implementation; P2P is not that path.
|