Where to store WebRTC streams when building React app with redux
问题 I'm building a React.js application that interacts with the WebRTC apis to do audio/video calling. When a call is successfully established, an 'onaddstream' event is fired on the RTCPeerConnection instance, which contains the stream that I as a developer am supposed to connect to a video element to display the remote video to the user. Problem I'm having is understanding the best way to get the stream from the event to the React component for rendering. I have it successfully working by just