Use new socket in webRTC client
- Replace fake socket in WebRCT context in client
- Add ice candidate to websocket
- Add accountID and contactID dependency to webRTC context
GitLab: #28
Change-Id: I01bf41086dc7bd847a74b5670a732d3a6fb95bf9
diff --git a/common/src/interfaces/account-text-message.ts b/common/src/interfaces/account-text-message.ts
index d8f52ec..832762f 100644
--- a/common/src/interfaces/account-text-message.ts
+++ b/common/src/interfaces/account-text-message.ts
@@ -15,8 +15,10 @@
* License along with this program. If not, see
* <https://www.gnu.org/licenses/>.
*/
+import { WebRTCIceCandidate } from './webrtc-ice-candidate';
+import { WebRTCSDP } from './webrtc-sdp';
export interface AccountTextMessage {
from: string;
to: string;
- message: JSON;
+ message: WebRTCIceCandidate | WebRTCSDP;
}