Skip to content

0mkara/RNAWebRTCApp

Repository files navigation

RNAWebRTCApp implements basic WebRTC communication using React Native and socket.io

Technologies

  • WebRTC data channel
  • React Native & Redux
  • SocketIO server & client signalling

Please use react-native-webrtc-server for signalling purpose.

Screenshots

simulator screen shot - iphone se - 2017-10-08 at 19 37 00 simulator screen shot - iphone se - 2017-10-08 at 19 42 26

Usage

  • Run react-native-webrtc-server
  • Install RNAWebRTCApp
  • Join room
  • Both party can send message to each other

Edit /src/websocketMiddleware.js and point to nodejs socketio server.

socket = io.connect('https://127.0.0.1:4443', {transports: ['websocket']});

TODO

  • Add audio support
  • Add video support
  • Add multiparty support

Notes

This project aims to provide a peer to peer interface for full WebRTC chat with a self hosted signalling server.