Gprof Test on real usage for Audio Video + Datachannels

Hey i have done some gprof Test with 35 users in 1 Room sending Audio Video Datachannel (positions) to each ( every user is publisher and subscriber)

it works pretty well on a dual core Server with loop_index set to 4

i woulder if there is space for more optimisation in
41.94 2.47 2.47 1262038 1.96 2.44 janus_ice_outgoing_traffic_handle
21.39 3.73 1.26 janus_ice_outgoing_traffic_prepare

full gprof report on gist:23647b8052455ba2e7678a6b422f79e4 · GitHub

You can check if performances improve involving the recently merged support for helper threads in the VideoRoom, which basically acts a bit like loops do in the core for media in the plugin (with a few differences, but it’s to give you an idea).

Hi,

we use the Rust Video Audio Datachannel plugin from GitHub - networked-aframe/janus-plugin-sfu: Janus plugin to act as a kind of SFU for game networking data.

the performance is pretty well, only wonder if this could still be optimized on janus side