-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
ctxSip doesnt work on android phone , Iphone #52
Comments
you should always provide your browser and OS name/version |
Chrome |
chrome must be version 64+.... |
yes . the chrome version is 99+ |
It's not my code.... and if you thnk it comes from it so fork the project and create a PR. |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
if I access via android, iphone, then I can see unssuported browser error message.
As my checking result, this is related with getUserMedia.
correctly the part is hasWebRTC : function() {} .
so I added some code in here.
navigator.mediaDevices.enumerateDevices().then(function(deviceInfos){
// deviceInfos will not have a populated lable unless to accept the permission
// during getUserMedia. This normally happens at startup/setup
// so from then on these devices will be with lables.
HasVideoDevice = false;
HasAudioDevice = false;
HasSpeakerDevice = false; // Safari and Firefox don't have these
AudioinputDevices = [];
VideoinputDevices = [];
SpeakerDevices = [];
var savedVideoDevice = 'default';
var videoDeviceFound = false;
Then I can see detect audio and video media.
but when try call, I can see this error.
sip-0.10.0.js:807 Fri Jul 22 2022 06:19:10 GMT+0300 (Moscow Standard Time) | sip.invitecontext.sessionDescriptionHandler | unable to acquire streams
sip-0.10.0.js:807 DOMException: Requested device not found.
please check and help me this problem
The text was updated successfully, but these errors were encountered: