Add comment about the js-sdk and new incoming feeds

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-04-26 16:09:21 +02:00
parent fbb8cfb188
commit 81164fe152
No known key found for this signature in database
GPG Key ID: 9760693FDD98A790

View File

@ -629,8 +629,9 @@ export default class CallView extends React.Component<IProps, IState> {
mx_CallView_video: true,
});
// TODO: Later the CallView should probably be reworked to support any
// number of feeds but now we can always expect there to be two feeds
// TODO: Later the CallView should probably be reworked to support
// any number of feeds but now we can always expect there to be two
// feeds. This is because the js-sdk ignores any new incoming streams
const feeds = this.state.feeds.map((feed, i) => {
// Here we check to hide local audio feeds to achieve the same UI/UX
// as before. But once again this might be subject to change