Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
RTSP: Also allow RTP/AVP/UDP stream type.
It is possible that the server appends UDP to the type so just check for RTP/AVP*.
  • Loading branch information
spdfrk authored and perexg committed Mar 1, 2016
1 parent 9e66bb4 commit 60c8a12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rtsp.c
Expand Up @@ -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;
Expand Down

0 comments on commit 60c8a12

Please sign in to comment.