Repository navigation
Softphone go live to WHIP and network input to WHIP wired up - #1932
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.