--
You received this message because you are subscribed to a topic in the Google Groups "meetecho-janus" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/meetecho-janus/HR0f3XN-_i8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to meetecho-janu...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Any detail you can provide that can help us improve this would be precious, thanks!
To unsubscribe from this group and all its topics, send an email to meetecho-janus+unsubscribe@googlegroups.com.
Time:1466640527 Pckt-per-sec=3783.00 UDP=3776 TCP=6 bps=23327216.00
To unsubscribe from this group and all its topics, send an email to meetecho-janus+unsubscribe@googlegroups.com.
At the end of the janus_ice_setup_local function, we called this:
if (handle->video_stream) {
GSocket *gsok;
gsok = nice_agent_get_selected_socket( handle->agent , handle->video_stream->stream_id,
handle->video_stream->rtp_component->component_id );
JANUS_LOG(LOG_WARN, "SOCKETPATCH(%p) stream=%d component=%d return=%p\n",
handle->agent,handle->video_stream->stream_id,
handle->video_stream->rtp_component->component_id,gsok);
}
But we keep getting gsok = NULL :
[Fri Jun 24 16:17:34 2016] [WARN] SOCKETPATCH(0x7f2d34006c00) stream=2 component=1 return=(nil)
Clearly we must be too early in the socket's lifecycle; can you help us find a better spot to do this ?
kr,
J-
Hi lorenzo,You were right, the patch did nothing more than set up directly to /proc the socket bufferat least I'm sure now all sockets buffer videoroom has set up was at 12 MB.But problem is still here. I'm sure now it is related to a feedback issue ( FIR / NACKS & PLI)I noticed when I set up NACKS queue to high ( around 1000), the gateway loose her selfcontrol when users > 300 and go to 100% CPU. How to find out the right value in general ?
Something I noticed : If I use H264, janus quicly set up to (about) 56k all headless clients , even I set up in cfg file much more (1 Mbit/s); to avoid that I have to use VP8 codec. With VP8 codec I can get close to 40K pkts /s , 250 Mbits with a 2048 bits 720p webcam flow in input.why these difference between botch codec ?
I want a behaviour of "good connection" viewers are not impact by bad ones. It seems it is not the case, even if I set up NACKs queue to 0 and FIR to 0.Can you explain exactly to me what happen with janus when I set up the NAKs queue to 0 ? Will he ignore all demands regarding retransmission packets ?I read somewhere (from you) browser still send FIR every 100 sec, still the case ?I would like to understand, why janus start dropping packets to my "screened clients" when he have to deal with bad clients (I mean : clients which drops packets because they are too busy = 100% CPU), do you have an idea where I should start to look ?
Il giorno domenica 26 giugno 2016 02:39:35 UTC+2, Juju Trankilou ha scritto:Hi lorenzo,You were right, the patch did nothing more than set up directly to /proc the socket bufferat least I'm sure now all sockets buffer videoroom has set up was at 12 MB.But problem is still here. I'm sure now it is related to a feedback issue ( FIR / NACKS & PLI)I noticed when I set up NACKS queue to high ( around 1000), the gateway loose her selfcontrol when users > 300 and go to 100% CPU. How to find out the right value in general ?The problem are not NACKs or the NACK queue. The problem, as I said in earlier posts, is that with too many listeners for the same source, the source probably can't keep up. The for loop to iterate on all listeners probably take more than the interval between packets, with too many listeners, and so you miss packets to relay. This coauses losses on the receivers end (they all miss those packets) so they all start NACKing. Multiply this to all the packets you start missing and it causes that issue. The solution is definitely not in disabling NACKs (you need those) but to fix the relaying problem for too many users. This is what I meant by multiple relaying threads and clustering of receivers for the same publisher: this would make sure the source is never blocked, and different threads would take the burden of relaying to multiple users at the same time. I'll probably have a look at this and prepare a PR next week, if I have time to do that.
In the meantime, you can verify it's not an issue of Janus with too many streams by just using multiple publishers or multiple mountpoints you feed with the same stuff (e.g., a gstreamer pipeline that sends to two or more mountpoints at the same time, or multiple publishers originated by the sae webcam/mic), and adding a limited number of receivers (e.g., 100-200) on each of them, which would be an application-level way of doing what I want to do within Janus itself.
Something I noticed : If I use H264, janus quicly set up to (about) 56k all headless clients , even I set up in cfg file much more (1 Mbit/s); to avoid that I have to use VP8 codec. With VP8 codec I can get close to 40K pkts /s , 250 Mbits with a 2048 bits 720p webcam flow in input.why these difference between botch codec ?I'm not familiar with the H.264 implementation in Chrome, you'll have to ask them. I guess they have a more limited access to the encoding properties with H.264 than they do with VP8, and so REMB feedback is lesse effective, but tha's just guessing.
To unsubscribe from this group and all its topics, send an email to meetecho-janus+unsubscribe@googlegroups.com.