Skip to content
This repository was archived by the owner on Feb 20, 2026. It is now read-only.

Session stream destroyed when reconnecting after no network  #268

Description

@badarovska

Version:
Opentok iOS verison 2.23.1

Steps to reproduce

  1. Connect to session and start publishing
  2. Turn of the internet connection
  3. Wait for the session to disconnect
  4. Turn on the internet connection
  5. Connect to session again as soon as you turn on the internet
  6. The app successfully connects to session and starts publishing
  7. After a few seconds a stream destroyed event is received for the publisher stream without any error or action by the user

What is the current bug behaviour?
Even though the session is connected successfully and the publisher stream is created and publishing, a stream destroyed event is received and it terminates the video call.

The bug was recreated on the Bacic-Video-Chat sample.

What is the expected correct behaviour?
If the session is connected and already publishing, a stream destroyed event should not be received for no reason.

Possible related issue: opentok/opentok-react-native#201

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions