opentok / cordova-plugin-opentok

Cordova Plugin for OpenTok - add webrtc video to your iOS or Android App
MIT License
30 stars 80 forks source link

iOS Publish and subscribe bugs #71

Closed yydad117 closed 6 years ago

yydad117 commented 6 years ago

Bug Report

Current behavior

(Summarize the bug encountered concisely)

The android codes work perfectly. however, I have tested on iOS, the publisher can provide a video streaming in the iPhone, however, when the android wants to subscribe this session, it is not working. And I use the Playground tools in the opentok, I cannot subscribe to this session also. But I use android to publish, playground works perfectly.

Also, when I use android to publish a session, the playground of the opentok works smoothly. However, when I use iPhone to subscribe it, the console said Unable to connect to the session: check the network connection..

Please help. I used the latest opentok.js and the cordova plugin.

mark-veenstra commented 6 years ago

Something should be wrong on your side/code and this is nog a bug report, more like a question. Publish and subscribing in iOS is working in all project examples and many other projects.

msach22 commented 6 years ago

@yydad117 Could you please share your code on how you're implementing this plugin? I recommend taking https://github.com/opentok/opentok-cordova-samples for a spin and seeing if that works for you!

msach22 commented 6 years ago

Closing issue due to inactivity. Please re-open with code samples if the issue still persists.