Repository navigation
Add rt cstats - #137
Merged
Merged
Add rt cstats#137
Conversation
…ugh CDP Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
setSinkId tracing is optional: no rtcstats release exports it yet. The close function is defined before any wrap so a frame whose setup fails halfway can still close its socket. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…y tab The CDP script only applied to the first tab: BBB ESR and Webinaire run the meeting in a tab they open, which got no trace. An unpacked extension (MAIN world, document_start, all frames) covers every tab and frame; the trace is closed in every tab at call end. A server URL without ws:// or wss:// is refused, and a tracing error inside the page no longer reaches the meeting's WebRTC calls. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Kamailio, TURN, MySQL and one gateway on the host, with v4l2loopback devices from /dev/video10 (webcams keep video0..), HOST_IP from the default route instead of docker0, and the branch image. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
127.0.0.1 inside gw0 is the container itself, so the gateway could not register with Kamailio (Connection refused). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The desktop's DISPLAY reached the gateway, which then skipped its web display and looked for the host X server: Chrome exited at session start. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Same as SIPMediaGW.sh --loop: a docker events watcher recreates gw0 when it exits; stop.sh kills the watcher first so stopping does not restart it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… address With the gw_net gateway as HOST_IP, a softphone on the host sent its RTP from 192.168.92.1 while advertising its default-route address, so coturn had no permission for it and dropped all media towards the gateway. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A softphone on the host signed sip:bob@HOST_IP, which Kamailio takes for a local subscriber: its INVITE was challenged with 407. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…for rtcstats bundle
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.
Add RTCSTATS_ENABLED an environment variable to load RTCstats library as Chrome extension at Chrome startups to capture all WebRTC starts and send it to a specified rtcStats server defined in env variable RTCSTATS_SERVER_URL.
This PR also provide 2 simple bash command to start a light local SIPMediaGW test environment for linux dev host in test/environnement/local folder.