mirror of
https://github.com/aler9/gortsplib
synced 2025-09-27 11:32:08 +08:00
server: fix SETUP in case of no track ID and query parameters (#623)
This commit is contained in:
@@ -198,6 +198,18 @@ func TestServerPlayPath(t *testing.T) {
|
||||
"rtsp://localhost:8554/teststream/",
|
||||
"/teststream",
|
||||
},
|
||||
{
|
||||
"without media id, query, ffmpeg",
|
||||
"rtsp://localhost:8554/teststream?testing=123/",
|
||||
"rtsp://localhost:8554/teststream/",
|
||||
"/teststream",
|
||||
},
|
||||
{
|
||||
"without media id, query, gstreamer",
|
||||
"rtsp://localhost:8554/teststream/?testing=123",
|
||||
"rtsp://localhost:8554/teststream/",
|
||||
"/teststream",
|
||||
},
|
||||
{
|
||||
"subpath",
|
||||
"rtsp://localhost:8554/test/stream[control]",
|
||||
|
Reference in New Issue
Block a user