(stream)
| 616 | } |
| 617 | |
| 618 | function getVideo(stream) { |
| 619 | var video = document.createElement('video'); |
| 620 | |
| 621 | if ('srcObject' in video) { |
| 622 | video.srcObject = stream; |
| 623 | } else { |
| 624 | video.src = URL.createObjectURL(stream); |
| 625 | } |
| 626 | |
| 627 | video.muted = true; |
| 628 | video.volume = 0; |
| 629 | |
| 630 | video.width = stream.width || self.width || 360; |
| 631 | video.height = stream.height || self.height || 240; |
| 632 | |
| 633 | video.play(); |
| 634 | |
| 635 | return video; |
| 636 | } |
| 637 | |
| 638 | this.appendStreams = function(streams) { |
| 639 | if (!streams) { |
no outgoing calls
no test coverage detected