Skip to content

SimpleWebRTC and Temasys' IE/Safari plugin (+ its adapted version of adapter.js) #206

Description

@DanyPell

Hi,

I've been building my app with SimpleWebRTC, and I am pretty deep in development, too deep to simply stop using it.

And I really want to use Temasys' webRTC plugin (and its version of adapter.js) to support Safari and IE.

I tried setting it up today, but I get errors (I'm testing in Safari only for now).

One error I am getting is
TypeError: this.peerconnection.getLocalStreams.bind is not a function. (In 'this.peerconnection.getLocalStreams.bind(this.peerconnection)', 'this.peerconnection.getLocalStreams.bind' is undefined)
TraceablePeerConnection — simple-webrtc.js:10682

The other is that the local stream is simply not going into the video element.

I am pretty sure there would be other errors besides these ones above, so optimally I am looking for someone who've successfully used SimpleWebRTC (they have a demo app on their github page which takes a minute to setup locally...) and Temasys' webRTC Plugin together.

Looking forward to the discussion…

Thanks
Dany

Activity

  1. changed the title [-]SimpleWe[/-] [+]SimpleWebRTC and Temasys' IE/Safari plugin (+ its adapted version of adapter.js)[/+] on Jun 23, 2016
  2. johache commented on Jun 24, 2016

    @johache
    Contributor

    Hi,
    All the webrtc elements/function are defined by the plugin and thus plugin element. They have limited APIs. In your case, bind is not defined. You will have to find another way of implementing your app.

    The same way, the stream cannot be renderer in a

  3. johache commented on Jun 24, 2016

    @johache
    Contributor

    Closing the ticket, reopen if needed

  4. ee11131 commented on Nov 3, 2017

    @ee11131

    So what you're saying is that at the moment temasys plugin cannot be used with SimpleWebRTC because it uses bind? Even with Add bind() polyfill to plugin functions #291?

  5. johache commented on Nov 6, 2017

    @johache
    Contributor

    Hi,
    Currently, AJS does NOT support bind on plugin objects. Therefore, SimpleWebRTC could not be used if it requires bind(), no.
    We will come back to #291 , but right now we are on a different sprint.
    We'll probably come back to that question early December.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions