Giter VIP home page Giter VIP logo

opentok-reconnection's Introduction

opentok-reconnection

This project contains sample code demonstrating the OpenTok Automatic Reconnection feature.

With Automatic Reconnection, your client can now automatically reconnect to OpenTok sessions after temporary drops in network connectivity. If you have a mobile client using OpenTok, the feature helps restore connectivity during transitions between network interfaces such as Wi-Fi and LTE, allowing you to build a more robust integration and end-user experience.

Clients connected to sessions that use the Automatic Reconnection feature can do the following:

  • Attempt to automatically reconnect to the session if the client has disconnected due to a temporary drop in network connectivity.

  • Attempt to automatically reconnect to a subscriber stream that is temporarily dropped.

  • Upon a successful reconnection, automatically resend signals that are initiated by the client when it was temporarily disconnected. (For more information about Signaling, see the Signaling developer guide.)

Development and Contributing

Interested in contributing? We ❤️ pull requests! See the Contribution guidelines.

Getting Help

We love to hear from you so if you have questions, comments or find a bug in the project, let us know! You can either:

Further Reading

opentok-reconnection's People

Contributors

ardytokbox avatar chetanvangaditokbox avatar jeffswartz avatar kwasniewski avatar lucashuang0802 avatar marinaserranomontes avatar michaeljolley avatar pardel avatar robjperez avatar skteh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

opentok-reconnection's Issues

Sent an email for enrolment

Hi there,

Our team has sent an email to [email protected] with the necessary details, but have yet to receive any response nor the feature is enabled for us.

Please advise how should we proceed?

Cheers

Session Not getting Reconnecting after disconnecting from internet

Hello,

I have integrated TokBox SDK 2.9.2 in my iOS app.

I am getting error as follows when the session tries to reconnect to session

A 1600 error in the subscriber:
subscriber didFailWithError Error Domain=OTSubscriberErrorDomain Code=1600 "Internal error -- WebRTC subscriber error." UserInfo=0x166a8a40 {NSLocalizedDescription=Internal error -- WebRTC subscriber error.} and it fails to reconnect.

Please look into this and sugguest a resolution for the same as soon as possible.

Regards,
Jithesh

Not reconnecting on JS version

I tried to use this in my clients project but more times than not it doesn't reconnect. To see if was just my project I have just tried this demo code with the same issues.

If I kill the internet connection for a second, the status still shows "Connected to session" but the subscriber streams are then frozen and then disappear after 30 seconds or so. Occasionally the subscriber stream starts again, but 75% time it freezes then disappears.

If I wait 5 seconds or so the status changes to 'Disconnected', then 'reconnecting', then 'Reconnected', but i have exactly same problem as above, but this time the publisher steam disappears whilst the subscriber stream stays but frozen.

I haven't modified the code at all. Any ideas?

Thanks,
Simon

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.