Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved logic for dividing rtmp path up into connection and stream part #2787

Closed
wants to merge 1 commit into from

Conversation

JacobRichardt
Copy link

This is a fix for #2776

…uery parameters in the connection part of the path.
@pam
Copy link

pam commented Nov 7, 2015

Tests passed. Automated cross-browser testing via Sauce Labs and Travis CI shows that the JavaScript changes in this pull request are: CONFIRMED

Commit: fc048a0
Build details: https://travis-ci.org/pam/video.js/builds/89758704

(Please note that this is a fully automated comment.)

@gkatsev
Copy link
Member

gkatsev commented Nov 7, 2015

@bdeitte does this seem ok to you?

@bdeitte
Copy link
Contributor

bdeitte commented Nov 9, 2015

@gkatsev This seems fine to me. I was going to suggest a test for this as well, and I added a simple one locally that I expected to fail (and was going to then just suggest it added in here where it should work). But when I run "grunt test" locally on master, it passes. And I don't see unit tests listed in the build file. What obvious thing am I missing here? Here's the test in any case, to add within 'test steamToParts' in test/unit/tech/flash-rtmp.test.js:

  parts = Flash.streamToParts('http://myurl.com/really?streaming=fun&really=fun');
  ok(parts.connection === 'http://myurl.com/');
  ok(parts.stream === 'really?streaming=fun&really=fun');

@bdeitte
Copy link
Contributor

bdeitte commented Nov 9, 2015

I realized right now that the test problem was PEBCAK. As penance, I'll add the test here in a new PR shortly.

@gkatsev
Copy link
Member

gkatsev commented Nov 9, 2015

Thanks! Merged this manually to give credit to you both. 4e395b6 and a25c4c9 and 977eedd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants