mirror of
https://github.com/vector-im/element-call.git
synced 2026-10-16 23:45:50 +00:00
split api.ts into api.ts and media-api.ts
This commit is contained in:
@@ -8,7 +8,7 @@ Please see LICENSE in the repository root for full details.
|
||||
import { BehaviorSubject } from "rxjs";
|
||||
import { describe, expect, it } from "vitest";
|
||||
|
||||
import { type MediaTrack } from "../api";
|
||||
import { type MediaTrack } from "../media-api";
|
||||
import { testScope } from "./test";
|
||||
import { trackBySource$ } from "./tracks";
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ import {
|
||||
type MediaSource,
|
||||
type MediaTrack,
|
||||
type VideoMediaTrack,
|
||||
} from "../api";
|
||||
} from "../media-api";
|
||||
|
||||
export type TrackOfSource<S extends MediaSource> = S extends
|
||||
| "microphone"
|
||||
|
||||
Reference in New Issue
Block a user