Hello,
I was reading the source code to understand how things work and I see that as a first step in creating the transports on client and server, the server sends tits DTLS to the client, and client generated from that its own transport and sends back to the server its own dtls resulting in the DTLS of client and server being stored on both server and client. SERVER: localDTLS,RemoteDTLS CLIENT:localDTLS,REMOTEDTLS.
As a next step, I see that the server sends always RTPParams to the client if the client wants to consume and or produce.
If all my above understanding is correct, my question is: if the client wants to consume a stream does the client connect to the server on the given RTPparams sent from the server or does the server PUSHES the data to the client?
Same for the produce, does the client sends the data to the server or the server PULLS the data from the client?
I appreciate if you can help me understand the role of the DTLS and RTP happening over signaling here
Thanks