Twilio-video.js: Black screen when renderer remote video track after trackSubscribed event

Created on 1 Jul 2020  路  9Comments  路  Source: twilio/twilio-video.js

  • [X] I have verified that the issue occurs with the latest twilio-video.js release and is not marked as a known issue in the CHANGELOG.md.
  • [X] I reviewed the Common Issues and open GitHub issues and verified that this report represents a potentially new issue.
  • [ ] I verified that the Quickstart application works in my environment.
  • [X] I am not sharing any Personally Identifiable Information (PII)
    or sensitive account information (API keys, credentials, etc.) when reporting this issue.

Expected behavior:

After connecting to the room and getting trackSubscribed event for the participant, remote participant video is sometimes taking 10 - 20 secs to start

Actual behavior:
After connecting to the room and getting trackSubscribed event for the participant, remote participant video should start immediately

TODO

Software versions:

  • [X] Browser(s): Chrome
  • [X] Operating System: Mac
  • [X] twilio-video.js: 2.4.0
  • [X] Third-party libraries (e.g., Angular, React, etc.): React, React Native

Most helpful comment

Hi,
I'm using twilio-video.js 2.10.0 and @types/twilio-video 2.7.1.

Experiencing a similar issue. When receiving remote video track subscribe (video is ok here) -> unsubscribe -> subscribe , after the last subscribe the user gets a black screen in the remoteVideoTrack.

Last year this works fine in our website.

All 9 comments

Huge delay in rendering remote video very first frame. @manjeshbhargav

Looks like a global issue. It's happening in almost all the platforms.

Similar issue related to android:
ios - 536

Similar issue related to iOS:
ios - 214
ios - 240
ios - 275

Similar issue related to RN:
RN - 94

Hi @rishab1065 , @Balasnest ,

Thanks for writing in with your issues. Can you share some Room SIDs so we can start investigating?

Thanks,

Manjesh Malavalli
JSDK Team

@rishab1065 ,

I'm closing this since there has been no response in 2 weeks. Please feel free to re-open if you need more assistance in this matter.

Thanks,

Manjesh Malavalli
JSDK Team

Hi,
I'm using twilio-video.js 2.10.0 and @types/twilio-video 2.7.1.

Experiencing a similar issue. When receiving remote video track subscribe (video is ok here) -> unsubscribe -> subscribe , after the last subscribe the user gets a black screen in the remoteVideoTrack.

Last year this works fine in our website.

Same issue here.
iOS 13
twilio-video.js 2.12.0

Hi @manjeshbhargav ,

@apostololeg and I are still facing the same issue.

  • We have managed to fix the issue with iOS13 thanks to browsers' autoplay policy
  • The workaround does NOT work for prior iOS version (iOS 11 and 12 and potentially earlier versions)
    Any hint?

@rishab1065 , @izabelavmelo , have you managed to solve this issue?

Software version:

  • Browser(s): Safari
  • Operating System: iOS 11 and 12 (and potentially previous versions)
  • twilio-video.js: 2.12.0
  • Third-party libraries: JavaScript, React and Angular

Thanks,
Florent

Hi @manjeshbhargav ,
We are facing the same issue here
Software version:

  • Browser(s): Safari ( I reproduce once time on Chrome/Ubuntu 18.04)
  • Operating System: iOS 11 and 12 (and potentially previous versions)
  • twilio-video.js: 2.4.0
  • Third-party libraries: JavaScript, VueJs

Hi, @Flo-Mercaux !
I fixed with this issue: https://github.com/twilio/twilio-video.js/issues/558#issuecomment-467981412

I removed the stop() and it works for me:
Screenshot from 2021-04-19 09-56-46

But I faced this bug on all devices (not only iOS). So, I think it's not the same as you. :disappointed:

Was this page helpful?
0 / 5 - 0 ratings