feat(media): integrate embedded media services and shared native encoding

Embed STUN and SFU in the shared Go process, reuse native encoding pipelines with independent adaptation, and complete Client lifecycle, settings, diagnostics and packaging fixes. Retain standard Browser senders after measured encoded-reuse limitations.
This commit is contained in:
AAA authored and GitHub committed 2026-09-09 06:09:06 +08:00
1 parent 61a9b74cbd
commit cfc323adce
274 files changed
+37854 -13238

No files matched your search

@@ -0,0 +1 @@
{"date":"2026-09-07","scope":"In-memory Pion GCC/TWCC payload feedback; not Browser, network, codec or quality acceptance","source":"internal/client/mediaedge/testdata/gcc_feedback_probe.go","sourceSha256":"156183418f6b778cda45e72c9e96774b9b1e5971bec481b6da596f40dba7a3cc","pionInterceptor":"v0.1.47","initialBitrate":5000000,"lowOutputCap":1250000,"linkPropagationMs":20,"linkMaxDelayMs":120,"feedbackMs":100,"pacer":"NoOpPacer","runs":[{"sourceCadence":"30fps frame bursts","rawSha256":"c5e24ebc5e43a9d82f0613716cf6baece41a67881eae6bf28aa16c85d51728ba","observations":[{"second":1.0003041,"arm":"low-layer-capped","phase":"high","capacityBps":6000000,"targetBps":5704154,"sourceBps":5000000,"sentBps":4990482,"receivedBps":4731361,"droppedPackets":0,"maxQueueMs":50.4},{"second":1.0003041,"arm":"follows-budget","phase":"high","capacityBps":6000000,"targetBps":5704154,"sourceBps":5000000,"sentBps":4990482,"receivedBps":4731361,"droppedPackets":0,"maxQueueMs":50.4},{"second":2.0052051,"arm":"low-layer-capped","phase":"high","capacityBps":6000000,"targetBps":6170446,"sourceBps":5000000,"sentBps":4977206,"receivedBps":4996313,"droppedPackets":0,"maxQueueMs":50.4},{"second":2.0052051,"arm":"follows-budget","phase":"high","capacityBps":6000000,"targetBps":6170446,"sourceBps":5000000,"sentBps":4977206,"receivedBps":4996313,"droppedPackets":0,"maxQueueMs":50.4},{"second":3.0101007,"arm":"low-layer-capped","phase":"high","capacityBps":6000000,"targetBps":6674342,"sourceBps":5000000,"sentBps":4977233,"receivedBps":5005893,"droppedPackets":0,"maxQueueMs":50.4},{"second":3.0101007,"arm":"follows-budget","phase":"high","capacityBps":6000000,"targetBps":6674342,"sourceBps":5000000,"sentBps":4977233,"receivedBps":5005893,"droppedPackets":0,"maxQueueMs":50.4},{"second":4.0102228,"arm":"low-layer-capped","phase":"high","capacityBps":6000000,"targetBps":7219386,"sourceBps":5000000,"sentBps":5000989,"receivedBps":5000989,"droppedPackets":0,"maxQueueMs":50.4},{"second":4.0102228,"arm":"follows-budget","phase":"high","capacityBps":6000000,"targetBps":7219386,"sourceBps":5000000,"sentBps":5000989,"receivedBps":5000989,"droppedPackets":0,"maxQueueMs":50.4},{"second":5.0102378,"arm":"low-layer-capped","phase":"constrained","capacityBps":500000,"targetBps":7679038,"sourceBps":5000000,"sentBps":5001524,"receivedBps":5001524,"droppedPackets":11,"maxQueueMs":116},{"second":5.0102378,"arm":"follows-budget","phase":"constrained","capacityBps":500000,"targetBps":7679038,"sourceBps":5000000,"sentBps":5001524,"receivedBps":5001524,"droppedPackets":11,"maxQueueMs":116},{"second":6.0150873,"arm":"low-layer-capped","phase":"constrained","capacityBps":500000,"targetBps":282094,"sourceBps":282094,"sentBps":1901180,"receivedBps":496790,"droppedPackets":157,"maxQueueMs":119.346},{"second":6.0150873,"arm":"follows-budget","phase":"constrained","capacityBps":500000,"targetBps":299577,"sourceBps":299577,"sentBps":1767428,"receivedBps":506344,"droppedPackets":142,"maxQueueMs":119.346},{"second":7.0151373,"arm":"low-layer-capped","phase":"constrained","capacityBps":500000,"targetBps":326557,"sourceBps":326557,"sentBps":297585,"receivedBps":297585,"droppedPackets":0,"maxQueueMs":58.4},{"second":7.0151373,"arm":"follows-budget","phase":"constrained","capacityBps":500000,"targetBps":346796,"sourceBps":346796,"sentBps":316784,"receivedBps":316784,"droppedPackets":0,"maxQueueMs":58.4},{"second":8.015183,"arm":"low-layer-capped","phase":"constrained","capacityBps":500000,"targetBps":416776,"sourceBps":416776,"sentBps":374382,"receivedBps":364783,"droppedPackets":0,"maxQueueMs":58.4},{"second":8.015183,"arm":"follows-budget","phase":"constrained","capacityBps":500000,"targetBps":442606,"sourceBps":442606,"sentBps":393582,"receivedBps":383982,"droppedPackets":0,"maxQueueMs":58.4},{"second":9.0154976,"arm":"low-layer-capped","phase":"constrained","capacityBps":500000,"targetBps":531920,"sourceBps":531920,"sentBps":470252,"receivedBps":460655,"droppedPackets":0,"maxQueueMs":70.079},{"second":9.0154976,"arm":"follows-budget","phase":"constrained","capacityBps":500000,"targetBps":555023,"sourceBps":555023,"sentBps":499043,"receivedBps":479849,"droppedPackets":0,"maxQueueMs":99.949},{"second":10.0203965,"arm":"low-layer-capped","phase":"released","capacityBps":6000000,"targetBps":467581,"sourceBps":467581,"sentBps":468106,"receivedBps":477659,"droppedPackets":0,"maxQueueMs":88.323},{"second":10.0203965,"arm":"follows-budget","phase":"released","capacityBps":6000000,"targetBps":472622,"sourceBps":472622,"sentBps":458553,"receivedBps":468106,"droppedPackets":0,"maxQueueMs":96.082},{"second":11.02057,"arm":"low-layer-capped","phase":"released","capacityBps":6000000,"targetBps":505604,"sourceBps":505604,"sentBps":489515,"receivedBps":489515,"droppedPackets":0,"maxQueueMs":23.2},{"second":11.02057,"arm":"follows-budget","phase":"released","capacityBps":6000000,"targetBps":511097,"sourceBps":511097,"sentBps":489515,"receivedBps":499113,"droppedPackets":0,"maxQueueMs":23.2},{"seLine truncated