@@ -51,7 +51,11 @@ import {
51
51
type SDPStreamMetadata ,
52
52
type SDPStreamMetadataKey ,
53
53
} from "../webrtc/callEventTypes.ts" ;
54
- import { type EncryptionKeysEventContent , type ICallNotifyContent } from "../matrixrtc/types.ts" ;
54
+ import {
55
+ type IRTCNotificationContent ,
56
+ type EncryptionKeysEventContent ,
57
+ type ICallNotifyContent ,
58
+ } from "../matrixrtc/types.ts" ;
55
59
import { type M_POLL_END , type M_POLL_START , type PollEndEventContent , type PollStartEventContent } from "./polls.ts" ;
56
60
import { type SessionMembershipData } from "../matrixrtc/CallMembership.ts" ;
57
61
import { type LocalNotificationSettings } from "./local_notifications.ts" ;
@@ -147,6 +151,7 @@ export enum EventType {
147
151
148
152
// MatrixRTC events
149
153
CallNotify = "org.matrix.msc4075.call.notify" ,
154
+ RTCNotification = "org.matrix.msc4075.rtc.notification" ,
150
155
}
151
156
152
157
export enum RelationType {
@@ -158,6 +163,8 @@ export enum RelationType {
158
163
// moreover, our tests currently use the unstable prefix. Use THREAD_RELATION_TYPE.name.
159
164
// Once we support *only* the stable prefix, THREAD_RELATION_TYPE can die and we can switch to this.
160
165
Thread = "m.thread" ,
166
+ unstable_RTCParentEvent = "org.matrix.msc4075.rtc.parent_event" ,
167
+ unstable_RTCDecline = "org.matrix.msc4075.rtc.decline" ,
161
168
}
162
169
163
170
export enum MsgType {
@@ -325,6 +332,7 @@ export interface TimelineEvents {
325
332
[ EventType . CallSDPStreamMetadataChangedPrefix ] : MCallBase & { [ SDPStreamMetadataKey ] : SDPStreamMetadata } ;
326
333
[ EventType . CallEncryptionKeysPrefix ] : EncryptionKeysEventContent ;
327
334
[ EventType . CallNotify ] : ICallNotifyContent ;
335
+ [ EventType . RTCNotification ] : IRTCNotificationContent ;
328
336
[ M_BEACON . name ] : MBeaconEventContent ;
329
337
[ M_POLL_START . name ] : PollStartEventContent ;
330
338
[ M_POLL_END . name ] : PollEndEventContent ;
0 commit comments