Skip to content

Commit

Permalink
Add note about one publisher or subscriber at a time
Browse files Browse the repository at this point in the history
  • Loading branch information
amalnanavati authored Jan 16, 2024
1 parent fa09908 commit 4c0f15c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions feedingwebapp/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ var cors = require('cors')
const webrtc = require('wrtc')

let senderStream = {} // key: topic, value: MediaStream
// NOTE: There is something wrong with the IPs being passed in being
// all or mostly the same. As a result, in essense this only allows
// one publisher or subscriber at a time.
let publishPeers = {} // key: IP4:topic, value: RTCPeerConnection
let subscribePeers = {} // key: IP4:topic, value: RTCPeerConnection

Expand Down

0 comments on commit 4c0f15c

Please sign in to comment.