-
Notifications
You must be signed in to change notification settings - Fork 78
streamCreated not firing when publishing from iOS #138
Comments
the solution is to remove all the callback functions on subscribe or publish methods. The only method that accepts callback properly is session.connect() |
I'm having the same issue, can you tell me how you solved this? It was working with ios11, but now on ios12 seems broked. Using the provided samples from opentok also is working on android but not in ios. |
@totiherms Can you please share your code so we can see how you're setting the event listeners? |
@msach22 the code: `this.session = OT.initSession(this.api, this.sessionId);
the code from https://github.com/opentok/opentok-ionic-samples also has the same issue: `this.session = OT.initSession(this.apiKey, this.sessionId);
|
can also be related to: https://github.com/opentok/opentok-ionic-samples/issues/30 |
@totiherms Thanks for sharing. I just ran some code and was able to publish without any issues. Here's what I recommend:
You can do it like so:
It looks like there's an issue that's been filed that's related to this: |
@msach22 thanks! it's working now |
You guy save my life. |
Happy to help @juniordevs! 😄 |
Bug Report
Current behavior
I have a Ionic 3 app that uses cordova-opentok-plugin, and a webapp using opentok.js.
I am able to see both videos on the ionic app, but on the webapp the 'streamCreated' event its never fired, so i´m only seeing the web publishers video
What is the current bug behavior?
streamCreated event not firing
The text was updated successfully, but these errors were encountered: