Closed alicera closed 4 years ago
This is not possible directly. You can set a port range of only one port in rtc::Configuration
to select the port manually, but candidates of type srflx
can still change according to the NAT mapping.
If I have a video,how to use client(c++) send it to another client (javascript)?
The media transport for streaming video or audio is experimental for now. You can however send the video as a file (like the benchmark client, but sending the actual video data).
(like the benchmark client, but sending the actual video data).
That's right, instead of generating a random message for benchmark, you send chunks of the video file.
I want to set candidate by myself. Is it possible?
For example I open the offer and get the candidate "a=candidate:2 1 UDP 2122317823 192.168.2.71 60484 typ host".
Next time, I open the offer again and get the candidate "a=candidate:2 1 UDP 2122317823 192.168.2.71 60484 typ host".