split api.ts into api.ts and media-api.ts

This commit is contained in:
Timo K.
2026-10-08 13:53:57 +02:00
parent f1ea4cc5a2
commit 6ffab92f0f
16 changed files with 192 additions and 169 deletions
+2 -1
View File
@@ -707,7 +707,8 @@ Layout:
```
sdk/
index.ts the entry point: re-exports the API and the primitives
src/api.ts the public types above
src/api.ts the public types above: client, members, transports
src/media-api.ts the public media types: publish requests, tracks, MemberMedia
src/errors.ts MatrixRTCError and its codes
src/config.ts MatrixRTCMode, session timings, media quality
src/encryption.ts E2eeType, EncryptionSystem