Description
Hi Winlin,
I am using the restriction of "refer_publish" for testing in a local area network, but it seems that it is not working.
The configuration is as follows: IP is 10.10.10.100, and there is a machine T1 for internal streaming, using FMLE for streaming.
vhost __defaultVhost__ {
refer_publish 10.10.10.100;
}
In different versions of SRS, the phenomenon is slightly different:
-
In the stable version SRS-CentOS6-x86_64-2.0.223.zip, when I change the IP address of T1 to 10.10.10.100 or 10.10.10.99, reconnect and start streaming, everything works fine without restricting the client.
-
If using source code compilation, git clone https://github.com/ossrs/srs,
A. Changing the IP address of T1 to 10.10.10.100 allows streaming.
B. Disconnecting the stream and changing the IP address of T1 to 10.10.10.99 results in failure to connect (displaying connection failed).
C. Changing the IP address of T1 back to 10.10.10.100 also results in failure to stream, displaying connection failed.
What went wrong?
Thank you.
TRANS_BY_GPT3