mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 07:06:58 +08:00
server: if TCP frames are written before the PLAY response, queue and send them anyway, like UDP already does
This commit is contained in:
@@ -518,7 +518,7 @@ func TestServerPublishRecordErrorPartialTracks(t *testing.T) {
|
||||
require.Equal(t, "not all announced tracks have been setup", err.Error())
|
||||
}
|
||||
|
||||
func TestServerPublishFrames(t *testing.T) {
|
||||
func TestServerPublish(t *testing.T) {
|
||||
for _, proto := range []string{
|
||||
"udp",
|
||||
"tcp",
|
||||
@@ -711,7 +711,7 @@ func TestServerPublishFrames(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
func TestServerPublishFramesErrorWrongProtocol(t *testing.T) {
|
||||
func TestServerPublishErrorWrongProtocol(t *testing.T) {
|
||||
conf := ServerConf{
|
||||
UDPRTPAddress: "127.0.0.1:8000",
|
||||
UDPRTCPAddress: "127.0.0.1:8001",
|
||||
|
Reference in New Issue
Block a user