diff --git a/CHANGELOG.md b/CHANGELOG.md index 00e8ea6f1..cf2c30b09 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +## 0.28.1 + + * Filter rtx support from remote SDP for Chrome <= 38 + * Fix Go 1.4 detection for minor versions + * Bump minimal Go version + * Fix Go 1.4 release target + * Allow dist_gopath to fail + * Check if system GOPATH exists + * Add make tarball to travis + + ## 0.28.0 * Update Git hooks, to auto check translations diff --git a/configure.ac b/configure.ac index bd9e60dc1..826c390a3 100644 --- a/configure.ac +++ b/configure.ac @@ -95,7 +95,8 @@ AM_CONDITIONAL([DEFAULT_VENDOR_GOPATH], [test x"${VENDOR_GOPATH}" == x""]) AM_CONDITIONAL([READONLY_VENDOR_GOPATH], [test -n "${VENDOR_GOPATH}" -a ! -w "${VENDOR_GOPATH}"]) AM_COND_IF(DEFAULT_VENDOR_GOPATH, [AC_SUBST(VENDOR_GOPATH, $PWD/vendor)]) AC_MSG_RESULT([$VENDOR_GOPATH]) -AM_CONDITIONAL([GO_14], [test x"${GO_VERSION}" == x"1.4"]) +AX_COMPARE_VERSION([$GO_VERSION], [lt], [1.5], [GO_14="1"], [GO_14="0"]) +AM_CONDITIONAL([GO_14], [test x"${GO_14}" = x"1"]) AC_PATH_PROGS([NODEJS],[nodejs node]) if test x"${NODEJS}" == x"" ; then diff --git a/static/js/mediastream/utils.js b/static/js/mediastream/utils.js index 535ec0ab7..da3c4a671 100644 --- a/static/js/mediastream/utils.js +++ b/static/js/mediastream/utils.js @@ -447,6 +447,11 @@ define([], function() { // This change breaks very old versions of WebRTC. So we change it back locally // for Chrome <= 38 which makes things work fine again. sdp = sdp.replace(/UDP\/TLS\/RTP\/SAVPF/g, "RTP/SAVPF") + + // Remove all rtx support from remote sdp, which is geneated by + // Chrome 48+ but does not work with <= 38. + sdp = sdp.replace(/a=rtpmap:\d+ rtx\/\d+\r\n/i, ""); + sdp = sdp.replace(/a=fmtp:\d+ apt=\d+\r\n/i, ""); } return sdp; }