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

add `torrent.magnetURI` getter function #225

Merged
merged 4 commits into from Dec 30, 2014
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

propagate initial mediasource errors

  • Loading branch information
feross committed Dec 30, 2014
commit 3db656bd9b427339bcbd1ec38b0fe2e50d5588e8
@@ -45,10 +45,13 @@ function VideoStream (video, opts) {

VideoStream.prototype._write = function (chunk, encoding, cb) {
var self = this
if (!self._sourceBuffer)
return self._cb = function () {
if (!self._sourceBuffer) {
self._cb = function (err) {
if (err) return cb(err)
self._write(chunk, encoding, cb)
}
return
}

if (self._sourceBuffer.updating)
return cb(new Error('Cannot append buffer while source buffer updating'))
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.