Skip to content

Commit

Permalink
Added logic to avoid incorrectly dividing a rtmp path with multiple q…
Browse files Browse the repository at this point in the history
…uery parameters in the connection part of the path.
  • Loading branch information
Jacob Poul Richardt committed Nov 6, 2015
1 parent fa2f08a commit fc048a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/tech/flash-rtmp.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function FlashRtmpDecorator(Flash) {
// Look for the normal URL separator we expect, '&'.
// If found, we split the URL into two pieces around the
// first '&'.
let connEnd = src.indexOf('&');
let connEnd = src.search(/&(?!\w+=)/);
let streamBegin;
if (connEnd !== -1) {
streamBegin = connEnd + 1;
Expand Down

0 comments on commit fc048a0

Please sign in to comment.