New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Urgent] TwilioError: Client is unable to apply a remote media description (twilio-video.js@v2.5.0) #1057
Comments
Kindly check and update let I know if any futher details require from my side? |
Hitting the same issue after upgrading to v2.5.1 ..upgraded hoping to resolve an issue one of our customers is facing in which the remove video intermittently shows a black screen on firefox. |
Hi @kumail-raza , Thanks for reporting this issue. It looks like this may happen mostly while you are disconnecting from a Room. Did you see any side-effects related to media because of this? Thanks, Manjesh Malavalli |
Can you elaborate it bit more? |
Also after upgrading the 2.5.0 This is causing tis code in our app to fail |
@pRoy24 Didn't understand are you from Twilio Team and answering or a user of Twilio? |
Not from Twilio team... I am also a user |
@manjeshbhargav no I didn't notice any side effect just that my application flow breaks and app crashes. Well we have feature to check network connectivity, similar to one that you guys have https://networktest.twilio.com/, basically not wrong we integrate that into our application the rules and test it is performing. Well we have remove that feature as it not giving actual result as we find users with very high bandwidth internet testing response with slow internet speed. So for me this issue resolve with the removal of that feature. We will see later when we need it back. |
I'm experiencing the same issue. Any updates? |
I am facing this error too. I am implementing twilio video in a vue app for both web and iOS/Android devices using capacitor. The web version video is working, it connect to peer-to-peer or group rooms (showing video and audio) but in the iOS version the remote video is a black screen, also no audio is received. The console is throwing the following warning:
And the following error:
And after seconds the following error:
Not sure if it's a browser compatibility error, and if so if there is a work around. |
Did you manage to resolve? I'm getting exactly the same with a very similar Capacitor iOS setup |
I was able to solved with this hack in iOS. Go to public func getWebView() -> WKWebView? {
if let ua = webView?.value(forKey: "userAgent") as? String {
webView?.customUserAgent = ua + " Safari"
}
return webView
} This was found here: twilio/twilio-webrtc.js#133 (comment) Hope this helps @rykkers |
Yes, thanks, amazing. I found my way to that PR (twilio/twilio-webrtc.js#133) and so far have just done a little hack to the twilio javascript guessBrowser() function to that it maps everything to safari. But thanks for the location of where i can manually set the UA. Obviously too late to do it via capacitor config! |
Can you provide more info about that solution? It's sounds cleaner |
So as part of my scripts that pull sources, once Twilio is updated, i just do a find and replace on their script that finds "/Safari/.test(userAgent)" and replaces it with "/Safari|Macintosh|iPhone|iPad/.test(userAgent)" That way, it keeps patching itself even when Twilio updates and then when Twilio finally update their code to improve the "/Safari/" test then my find will no longer find it and i'll have a nice error message to let me know to check the source. Note, only tested on iPad, so i'm sure i'd have to add a few more cases in there to match all iPhone versions as well |
@manjeshbhargav
Just after upgrade to Twilio Video SDK to 2.5.0, I am start receiving following warning and error. Not getting any idea what causing it so, can you guys have any idea or direction for me to look further?
Warning:
Error:
Chrome: Version 83.0.4103.61 (Official Build) (64-bit)
Twilio Client SDK : 1.11
Twilio Video SDK : 2.5.0
Angular: 5+
The text was updated successfully, but these errors were encountered: