cleaning up and trying different approach more minimal

This commit is contained in:
talksik
2022-05-17 12:37:01 -05:00
parent 5699c6e2e1
commit 1dcab7bfe4
3 changed files with 79 additions and 99 deletions
@@ -205,7 +205,7 @@ export function StreamProvider({ children }: { children: React.ReactChild }) {
<button onClick={stopBroadcast}>stop</button> */}
<audio autoPlay ref={localStreamRef} />
{/* <audio autoPlay ref={localStreamRef} /> */}
{Object.values(peerMap).map((peer, index) => (
<StreamPlayer key={`streamPlayer-${index}`} peer={peer} />