UofTAgritech / CloudPonics

Remote configuration and monitoring for PeaPod systems.
MIT License
1 stars 0 forks source link

[API] Enabling camera live-stream capabilities P2P from devices to users #11

Open matt8100 opened 2 years ago

matt8100 commented 2 years ago

https://fireship.io/lessons/webrtc-firebase-video-chat/

JLefebvre55 commented 2 years ago
  1. Frontend calls CF to initialize handshake, starts listening for response
  2. CF triggers PubSub, sends a MQTT command** containing necessary details for response
  3. PeaPod receives command, generates handshake response, sends to CF
  4. ** CF populates specific Firestore doc (/devices/p2p or something)
  5. Frontend listens for Firestore doc changes, stream starts