RTCMultiConnection icon indicating copy to clipboard operation
RTCMultiConnection copied to clipboard

getTracks is not defined on demo (video and screen sharing.html)

Open HealerNguyen opened this issue 4 years ago • 3 comments

https://github.com/muaz-khan/RTCMultiConnection/blob/master/demos/video-and-screen-sharing.html I follow that link camera on owner and participants work OK, but when i click btn share screen , i get an error that "getTracks is not defined" is it a issue or my setup has problem ?

HealerNguyen avatar Apr 03 '20 07:04 HealerNguyen

I have the same case as you. Anyone who can resolve it. Please help me Thank you

truongtin avatar Mar 01 '21 13:03 truongtin

@Viruss98 have you had resolved this issue?

truongtin avatar Mar 01 '21 13:03 truongtin

@muaz-khan Do you know the way to define getTracks function ?

  function getScreenStream(callback) {
    screenHelper(function (screen) {
      RMCMediaTrack.screen = **getTracks**(screen, "video")[0];

truongtin avatar Mar 01 '21 13:03 truongtin