({
active = true,
id = 'test-stream',
}: MediaStreamBuilderOptions = {})
| 628 | } |
| 629 | |
| 630 | export function buildMediaStream({ |
| 631 | active = true, |
| 632 | id = 'test-stream', |
| 633 | }: MediaStreamBuilderOptions = {}): MediaStream { |
| 634 | return new TestMediaStream({ active, id }); |
| 635 | } |
| 636 | |
| 637 | export function buildMediaRecorder({ |
| 638 | stream = buildMediaStream(), |
no outgoing calls