Open 5secorg opened 1 month ago
Hello @5secorg
Clients should send their IP address to the sender somehow (outside the scope of uvgRTP, any method will do). Once the server has the IP address, it can start sending data there. To bypass firewalls, the client needs to send something in the opposite direction. You can use the RCE_HOLEPUNCH_KEEPALIVE enable flag for this, just make sure the session address and media_stream ports are exactly the same (but reversed) in the client and the server.
Hope this helps, Joni Räsänen
@jrsnen Do you mean creating a UDP Socket yourself and just forwarding the frame to the Client?
For getting the IP address, I would recommend TCP or TLS.
For forwarding the packets you can either create the sockets yourself and just forward the packets or you can use uvgRTP for receiving and sending. Both methods should work and have their own upsides and downsides.
Hi everyone, I am having trouble forwarding to every client that I send. Can you help me or suggest a way to get the data from RTP server?
My other question is: Can RTP respond to the Client? (I'm new to this) I want to create a Basic audio voice chat and this Framework has Opus support so it's of interest to me.
If I want to send data from Server to Client, how should I do it? Please help me. Thank you.