equal
deleted
inserted
replaced
21 |
21 |
22 if (typeof this.streamer === "function") { |
22 if (typeof this.streamer === "function") { |
23 this.streamer = this.streamer(this.video); |
23 this.streamer = this.streamer(this.video); |
24 } |
24 } |
25 |
25 |
26 if (typeof this.streamer === "string") { |
26 if (typeof this.streamer === "string" && (this.provider === "http" || this.provider === "rtmp")) { |
27 this.video = this.video.replace(this.streamer,""); |
27 this.video = this.video.replace(this.streamer,""); |
28 _opts.streamer = this.streamer; |
28 _opts.streamer = this.streamer; |
29 } |
29 } |
30 |
30 |
31 _opts.file = this.video; |
31 _opts.file = this.video; |