-module.exports = {
- types: {
- ADD_PEER: 'addPeer',
- REMOVE_PEER: 'removePeer',
- RELAY_SESSION_DESCRIPTION: 'relaySessionDescription',
- RELAY_ICE_CANDIDATE: 'relayICECandidate',
- ICE_CANDIDATE_RECEIVED: 'ICECandidateReceived',
- SESSION_DESCRIPTION_RECEIVED: 'SessionDescriptionReceived',
- },
- addPeer,
- removePeer,
- SessionDescriptionReceived: SessionDescriptionReceived,
- ICECandidateReceived: ICECandidateReceived,
-}
\ No newline at end of file
+export const types = {
+ ADD_PEER: 'addPeer',
+ REMOVE_PEER: 'removePeer',
+ RELAY_SESSION_DESCRIPTION: 'relaySessionDescription',
+ RELAY_ICE_CANDIDATE: 'relayICECandidate',
+ OFFER_RECEIVED: 'offerReceived',
+ ANSWER_RECEIVED: 'answerReceived',
+ ICE_CANDIDATE_RECEIVED: 'ICECandidateReceived',
+ SESSION_DESCRIPTION_RECEIVED: 'SessionDescriptionReceived',
+};