WCS#1 : 16 Core 32 Thread CPU, 64Gb RAM, 32Gb Heap, 10Gb Fiber publish WebRTC (demo->Streaming->Media Devices) resolution : 1280 x 720 (no mixing) min : 1Mbps, max : 3Mbps WCS#2 : pull 1000 WebRTC (demo->Console->Pull Streams) PC #1 : play WebRTC (demo->Streaming->Player) |
session.createStream({
name: streamName,
display: remoteVideo,
transport: "TCP"
}).on(STREAM_STATUS.PENDING, function (stream) {
...
}).play();
TCP transport allows to prevent packet loss, so it may be useful if there are some channel issues.Is it better to use tcp for live broadcasting, as I thought using udp would drop packets and reduce latency?
Please try to enable one of the tweaks, but not both.and I enabled "stream distribution optimization" and "traffic encryption in a separate thread for each client session" at WCS#1