opentok / opentok-react

React components for OpenTok.js
https://www.npmjs.com/package/opentok-react
MIT License
107 stars 105 forks source link

Opentok publisher video always showing endless loading on Safari in IPhone #218

Open miteshtagadiya opened 2 years ago

miteshtagadiya commented 2 years ago

We have built an app for video conferencing and it's working on all devices except iPhone in safari browser, it's always showing endless loader in the box PFA, is there any way to fix this issue?

code:

const publisherOptionsMobile = {
    publishAudio: true,
    publishVideo: true,
    width: 240,
    borderRadius: 10,
    height: 140,
    insertMode: "append",
    showControls: false
  };

<OTSession
   apiKey={apiKey}
   sessionId={sessionId}
   token={token}
   >
     <OTPublisher
        properties={publisherOptions}
      />
</OTSession>                  

Screenshot from 2022-02-23 09-21-56