]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
RTSP: Also allow RTP/AVP/UDP stream type.
authorspdfrk <spdfrk123456@gmail.com>
Sun, 28 Feb 2016 10:28:08 +0000 (11:28 +0100)
committerJaroslav Kysela <perex@perex.cz>
Tue, 1 Mar 2016 19:23:15 +0000 (20:23 +0100)
It is possible that the server appends UDP to the type so just check for RTP/AVP*.

src/rtsp.c

index dd52a85f572e3ee2239fcda4d0e4cc7f0702eb60..83d2380a04d81925962158b502bd99fbd2c23c9e 100644 (file)
@@ -169,7 +169,7 @@ rtsp_setup_decode( http_client_t *hc, int satip )
         }
       }
     }
-  } else if (!strcasecmp(argv[0], "RTP/AVP")) {
+  } else if (!strncasecmp(argv[0], "RTP/AVP", 7)) {
     if (n < 3)
       return -EIO;
     hc->hc_rtp_multicast = strcasecmp(argv[1], "multicast") == 0;