Commit ·
d797791
1
Parent(s): 0489741
Add WebRTC connection request interfaces for managing conversation offers
Browse files- src/interfaces/webrtc.ts +9 -0
src/interfaces/webrtc.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
export interface ICreateWebrtcConnectionRequest {
|
| 2 |
+
conversation_id: string;
|
| 3 |
+
offer: IOffer;
|
| 4 |
+
}
|
| 5 |
+
|
| 6 |
+
export interface IOffer {
|
| 7 |
+
type: string;
|
| 8 |
+
sdp?: string;
|
| 9 |
+
}
|