SIP js UserAgent API, I don't kown how to establish relationship with dom element, version 0.15x

991 Views Asked by At

I don't kown how to establish relationship with dom element, version 0.15x, in 0.06x version it's options.media.render ,but what's it in 0.15x

<div class="chat-sip">
  <video id="remoteVideo"></video>
  <video id="localVideo" muted="muted"></video>
  <button (click)="push()">push</button>
  <button id="endCall">End Call</button>
</div>
var userAgent = new UA();
var session = userAgent.invite("[email protected]");

resolved see this Attach Media

0

There are 0 best solutions below