Skip to content

Softphone go live to WHIP and network input to WHIP wired up - #1932

Merged
sipsorcery merged 7 commits into
masterfrom
softphonev2-whip-input-test
Nov 22, 2026
Merged

sipsorcery merged 7 commits into
masterfrom
softphonev2-whip-input-test

Conversation

@sipsorcery

Copy link
Copy Markdown
Member

No description provided.

sipsorcery and others added 6 commits November 22, 2026 18:26
A WHIP endpoint on localhost (Settings, Network input; --whip-input/--whip-token
for a test run). The publisher's connection ends in C# on a receive-only
SIPSorcery peer connection and a MediaRelay passes its media to the page, which
offers it as one source in both the Camera and Mute menus: picking it sends its
video and sound, with "Keep my microphone" to take the sound back. When it stops
(DELETE, failure or 4 s of nothing) calls go back to your camera and microphone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Settings refreshed on the host's state message before app.js had stored it,
so it drew the old state until reopened.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
"Callers now see and hear it", "Started: Use it" and "Stopped" were in the
shared notices, over whichever call or view you'd moved to. Now each is the
call's: in its bar while it's on the stage, on its tile in Grid. An outcome
can name its call ({ call }) and how long it stays ({ ttl }); the call bar
shows an outcome's button as it does a transfer ask's.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
One account calling another on the same softphone makes two calls here,
and holding one for the other made it untestable. The host pairs the two
legs (Phone.SelfCallPartner: the same Call-ID, or through a B2BUA the
account that called to the account it rang on) and sends each one's
partner as `pair`. The page doesn't hold a call's partner, gives both the
microphone and speaker, marks both rows "⇄ you", and brings a partner
back with its leg when it was held only for another call.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Through a server that starts a new call on the way, the leg that rings has
its own Call-ID, and its To is our registered contact, not the account's
address: so nothing paired. Now it's the account the call rang on that
counts (compared without ports). Pairs are also fixed once made, and
several calls between the same two accounts pair off in order: the leg
that rings with the oldest placed one not yet paired.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ne for network input

Go live: until another address is used, it's Broadcast Box's public server
(b.siobud.com/api/whip), with a made-up, easy to read key (glad-pebble-182),
kept and shown, and "Watch at b.siobud.com/<key>" with Copy, in the popover
and in Live; the host opens that link (b.siobud.com only) in the browser.
Another server: no link, and the key's taken out and dotted again.

Network input: Settings' ffmpeg command sends a plucked C-Am-F-G arpeggio
(aevalsrc) in place of the 440 Hz sine.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The web host now handles open-url (b.siobud.com links only), as the
desktop's does. Go live to b.siobud.com works from the web softphone: its
CORS allows the page's POST with the Authorization header.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sipsorcery
sipsorcery merged commit 0c78ea6 into master Nov 22, 2026
5 checks passed
@sipsorcery
sipsorcery deleted the softphonev2-whip-input-test branch November 22, 2026 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant