These are chat archives for andyet/SimpleWebRTC

20th
Sep 2018
Bouabidi
@Bouabidi
Sep 20 2018 10:48

Hi iam working with Simplewebrtc and Angular, i would like to have all remote streams in a table and und than render them streams.push({name: peer.nick ,
content: video})

<div *ngFor=" let stream of streams">
<span>{{stream.username}}</span>
<video id="{{stream.content.id}}" autoplay></video>
</div>

but it is not working

Any idea pls . thx
jchappex
@jchappex
Sep 20 2018 11:55
<span>{{stream.username}}</span>
you write username but :
streams.push({name: peer.nick , content: video}), it's write name.
@Bouabidi
Bouabidi
@Bouabidi
Sep 20 2018 12:00
@jchappex it is streams.push({username: peer.nick , content: video}) so how get i the remote video from content ?
jchappex
@jchappex
Sep 20 2018 13:25
What is you're simplewebrtc code ?