Hi,
Some news:
I switched to a fresh compiled Janus 0.11.1
I have 2 clients each one has a publisher and a subscriber (as I said video and audio are ok)
With the verbose logs (and some additionals logs), I can see that my messages arrive to the server but it doesn't forward them because the session is not "dataready"
I think that there is a problem with the VideoRoom plugin.
The plugin doesn't forward data to the session of the subscriber if the session is not "dataready"
But, the plugin doesn't open the data channel of the subscriber (so the session will never be "dataready") if there is no data to forward...
I tried to remove the "dataready" test and it seems to work... OnDataChannel is called on the subscribers and all the messages are received
index 5c517dc9..b221936f 100644
--- a/plugins/janus_videoroom.c
+++ b/plugins/janus_videoroom.c
@@ -8007,7 +8007,7 @@ static void janus_videoroom_relay_data_packet(gpointer data, gpointer user_data)
if(!session || !session->handle) {
return;
}
- if(!g_atomic_int_get(&session->started) || !g_atomic_int_get(&session->dataready)) {
+ if(!g_atomic_int_get(&session->started)) {
return;
}
if(gateway != NULL && packet->data != NULL) {
Am I right ? Or do I make a mistake ?
Thanks,
Christophe