Skip to content

Commit

Permalink
TCP: Add config for WebRTC over TCP.
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Sep 2, 2022
1 parent 38c3d9f commit ddeaa5e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions trunk/conf/full.conf
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,14 @@ rtc_server {
# @see https://github.com/ossrs/srs/issues/307#issuecomment-612806318
# default: off
merge_nalus off;
# For WebRTC over TCP directly, not TURN, see https://github.com/ossrs/srs/issues/2852
# Some network does not support UDP, or not very well, so we use TCP like HTTP/80 port for firewall traversing.
tcp {
# The TCP listen port for WebRTC. Highly recommend is some normally used ports, such as TCP/80, TCP/443,
# TCP/8000, TCP/8080 etc. However SRS default to TCP/8000 corresponding to UDP/8000.
# Default: 8000
listen 8000;
}
# The black-hole to copy packet to, for debugging.
# For example, when debugging Chrome publish stream, the received packets are encrypted cipher,
# we can set the publisher black-hole, SRS will copy the plaintext packets to black-hole, and
Expand Down

0 comments on commit ddeaa5e

Please # to comment.