MOD_VERTO on IOS, no audio on the browser client
Hi All, I'm currently developing mod_verto class for IOS. I'm connecting via websocket (ws:// *not secure*) to my FreeSwitch server and making a call. the other client is a chrome browser running Vero Communicator. the call starts as expected and I can here audio from the chrome browser on my iPhone. But there is no audio on the chrome side (can't hear my voice transmitted from my iPhone). A call from browser to browser, works fine. Here is the FreeSwitch log <https://www.dropbox.com/home/Public?preview=freeswitch.log.txt> of an iPhone call session, and a stackoverflow question <http://stackoverflow.com/questions/35826464/webrtc-ios-freeswitch-cant-hear-audio> explaining my approach. I'm lost and any help will be appreciated! :) -- Shlomi Schwartz R&D Technical Leader T: +972-74-700-4511 <http://www.linkedin.com/company/164748> <http://twitter.com/liveperson> <http://www.facebook.com/LivePersonInc> We Create Meaningful Connections <http://info.liveperson.com/201602/liz-welch/liveperson-robert-locascio-on-death-of-the-800-call.html> -- This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this on behalf of the addressee you must not use, copy, disclose or take action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply email and delete this message. Thank you.
Does it work OK when using a browser on the iphone? Thanks, Moishe Grunstein Tornado Computer Systems, Inc. 212.400.7650 888.IPPBX.US Service Request Email: support@nysolutions.com<mailto:support@nysolutions.com> [cid:image001.jpg@01C72F94.9EE45D60]<http://www.nysolutions.com/> Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Shlomi Schwartz Sent: Tuesday, March 8, 2016 9:20 AM To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Subject: [Freeswitch-users] MOD_VERTO on IOS, no audio on the browser client Hi All, I'm currently developing mod_verto class for IOS. I'm connecting via websocket (ws:// not secure) to my FreeSwitch server and making a call. the other client is a chrome browser running Vero Communicator. the call starts as expected and I can here audio from the chrome browser on my iPhone. But there is no audio on the chrome side (can't hear my voice transmitted from my iPhone). A call from browser to browser, works fine. Here is the FreeSwitch log<https://www.dropbox.com/home/Public?preview=freeswitch.log.txt> of an iPhone call session, and a stackoverflow question<http://stackoverflow.com/questions/35826464/webrtc-ios-freeswitch-cant-hear-audio> explaining my approach. I'm lost and any help will be appreciated! :) -- [https://signature.s3.amazonaws.com/2015/lp_logo.png] Shlomi Schwartz R&D Technical Leader T: +972-74-700-4511 [https://signature.s3.amazonaws.com/2015/LinkedIn.png]<http://www.linkedin.com/company/164748> [https://signature.s3.amazonaws.com/2015/Twitter.png]<http://twitter.com/liveperson> [https://signature.s3.amazonaws.com/2015/Facebook.png]<http://www.facebook.com/LivePersonInc> We Create Meaningful Connections [https://signature.s3.amazonaws.com/2015/banners/Inc_email_banner_2.8.2016.jpg]<http://info.liveperson.com/201602/liz-welch/liveperson-robert-locascio-on-death-of-the-800-call.html> This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this on behalf of the addressee you must not use, copy, disclose or take action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply email and delete this message. Thank you.
Could you connect iPhone to wifi router and capture network traffic from iPhone for analyzing. Using this way you can see what is ip address and port of RTP stream. On Tue, Mar 8, 2016, 17:20 Shlomi Schwartz <shlomis@liveperson.com> wrote:
Hi All,
I'm currently developing mod_verto class for IOS. I'm connecting via websocket (ws:// *not secure*) to my FreeSwitch server and making a call.
the other client is a chrome browser running Vero Communicator. the call starts as expected and I can here audio from the chrome browser on my iPhone.
But there is no audio on the chrome side (can't hear my voice transmitted from my iPhone).
A call from browser to browser, works fine.
Here is the FreeSwitch log <https://www.dropbox.com/home/Public?preview=freeswitch.log.txt> of an iPhone call session, and a stackoverflow question <http://stackoverflow.com/questions/35826464/webrtc-ios-freeswitch-cant-hear-audio> explaining my approach.
I'm lost and any help will be appreciated! :)
-- Shlomi Schwartz R&D Technical Leader T: +972-74-700-4511 <http://www.linkedin.com/company/164748> <http://twitter.com/liveperson> <http://www.facebook.com/LivePersonInc> We Create Meaningful Connections
This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this on behalf of the addressee you must not use, copy, disclose or take action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply email and delete this message. Thank you. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
When I'm removing the video track from the local media stream, I can hear audio fine. what could be the cause? var cameraID:String? self.localMediaStream = self.factory.mediaStreamWithLabel("Local-Meida") //if video option is enabled (default true) //-------------- Disabling this section solves the audio issues -------------- if(mediaOptions?["video"] as? Bool ?? true){ for captureDevice in AVCaptureDevice.devicesWithMediaType(AVMediaTypeVideo){ if (captureDevice.position == mediaOptions?["devicePosition"] as? AVCaptureDevicePosition ?? AVCaptureDevicePosition.Front){ cameraID = captureDevice.localizedName break } } if(cameraID == nil){ reject(NSError(domain: "No cammera detected", code: 0, userInfo: nil)) } let capturer = RTCVideoCapturer.init(deviceName: cameraID) let videoSource = self.factory.videoSourceWithCapturer(capturer, constraints: mediaOptions?["constraints"] as? RTCMediaConstraints ?? nil) if let localVideoTrack = self.factory.videoTrackWithID("Local-Video", source: videoSource){ self.localMediaStream?.addVideoTrack(localVideoTrack) }else{ reject(NSError(domain: "No Video track", code: 0, userInfo: nil)) } } //-------------- Disabling this section solves the audio issues -------------- if(mediaOptions?["audio"] as? Bool ?? true){ let audioTrack = self.factory.audioTrackWithID("Local-Audio") self.localMediaStream?.addAudioTrack(audioTrack); } self.peerConnection!.addStream(self.localMediaStream) On Tue, Mar 8, 2016 at 6:25 PM, Sergey Safarov <s.safarov@gmail.com> wrote:
Could you connect iPhone to wifi router and capture network traffic from iPhone for analyzing. Using this way you can see what is ip address and port of RTP stream.
On Tue, Mar 8, 2016, 17:20 Shlomi Schwartz <shlomis@liveperson.com> wrote:
Hi All,
I'm currently developing mod_verto class for IOS. I'm connecting via websocket (ws:// *not secure*) to my FreeSwitch server and making a call.
the other client is a chrome browser running Vero Communicator. the call starts as expected and I can here audio from the chrome browser on my iPhone.
But there is no audio on the chrome side (can't hear my voice transmitted from my iPhone).
A call from browser to browser, works fine.
Here is the FreeSwitch log <https://www.dropbox.com/home/Public?preview=freeswitch.log.txt> of an iPhone call session, and a stackoverflow question <http://stackoverflow.com/questions/35826464/webrtc-ios-freeswitch-cant-hear-audio> explaining my approach.
I'm lost and any help will be appreciated! :)
-- Shlomi Schwartz R&D Technical Leader T: +972-74-700-4511 <http://www.linkedin.com/company/164748> <http://twitter.com/liveperson> <http://www.facebook.com/LivePersonInc> We Create Meaningful Connections
This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this on behalf of the addressee you must not use, copy, disclose or take action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply email and delete this message. Thank you. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Shlomi Schwartz R&D Technical Leader T: +972-74-700-4511 <http://www.linkedin.com/company/164748> <http://twitter.com/liveperson> <http://www.facebook.com/LivePersonInc> We Create Meaningful Connections <http://info.liveperson.com/201602/liz-welch/liveperson-robert-locascio-on-death-of-the-800-call.html> -- This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this on behalf of the addressee you must not use, copy, disclose or take action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply email and delete this message. Thank you.
participants (3)
-
Moishe Grunstein
-
Sergey Safarov
-
Shlomi Schwartz