(1) server 2 connect server 1(2) server 2 get the stream 1 from server 1(3) server 2 use the stream 1 as the publisher's stream(4) Rest listener connect to server 2 and get stream
Hi Lorenzo,
Is it possible to setup a webrtc connection between Janus server using trickle ice way ?
Currently, I can setup a webrtc connection between two Janus servers by disabling trickle
ice on Janus server, like this:
-----------------------------------------------------------------------------------------------------------------------
//*trickle = 1;
*trickle = strstr(jsep_sdp, "a=candidate") ? 0 : 1;
Is it because the webrtc connection between two Janus servers using the non-trickle ice way?
If so, what is the right way to setup a webrtc connection between two Janus servers using trickle ice way ?
Thanks.
Sincerely,
ChihYen(Jam).
But if I setup a webrtc connection between two Janus Servers by using non trickle way, like this:
It takes about < 1s to get the video stream when the chrome browser (listener 1) connecting to Janus 1.
By contrast,
it takes long time (2 min) to get the stream when the chrome browser (listener 2) connecting to Janus 2,
And I found when listener 2 connect to Janus 2,
remoteFeed.getBitrate() is able to get value immediately,
But it has to take long time to trigger "$("#remotevideo").bind("playing", function () { ... }); "
Do you know what cause this problem? How do I fix this?
p.s. the code of listener 1 and listener 2 are the same.
Thank you for your kindly help! I set the "fir_freq" value to 5, and I am able to get media in 5 seconds!
Can you give me some advice about the influence of "fir_freq" value?
For example, when I set the "fir_freq" value to 1, will it cost more resources or delay?
I have tested it by changing the value from 5 to 1, it doesn't show obvious change on cpu, bandwidth and stream delay.
But I am not sure that changing "fir_freq" value will have some influence on other resources or not?