VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
shlomis at liveperson.com Guest
|
Posted: Tue Mar 08, 2016 9:21 am Post subject: [Freeswitch-users] MOD_VERTO on IOS, no audio on the browser |
|
|
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 of an iPhone call session, and a stackoverflow question explaining my approach.
I'm lost and any help will be appreciated!
--
Shlomi Schwartz R&D Technical Leader T: +972-74-700-4511 [/url] [url=http://twitter.com/liveperson] [/url] We Create Meaningful Connections [url=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. |
|
Back to top |
|
|
max at nysolutions.com Guest
|
Posted: Tue Mar 08, 2016 10:16 am Post subject: [Freeswitch-users] MOD_VERTO on IOS, no audio on the browser |
|
|
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 (support@nysolutions.com)
[/url]
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 [url=https://www.dropbox.com/home/Public?preview=freeswitch.log.txt]FreeSwitch log of an iPhone call session, and a stackoverflow question explaining my approach.
I'm lost and any help will be appreciated!
--
Shlomi Schwartz
R&D Technical Leader
T: +972-74-700-4511
[/url]
[url=http://twitter.com/liveperson]
[/url]
We Create Meaningful Connections
[url=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. |
|
Back to top |
|
|
s.safarov at gmail.com Guest
|
Posted: Tue Mar 08, 2016 11:26 am Post subject: [Freeswitch-users] MOD_VERTO on IOS, no audio on the browser |
|
|
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 (shlomis@liveperson.com)> wrote:
|
|
Back to top |
|
|
shlomis at liveperson.com Guest
|
Posted: Wed Mar 09, 2016 4:05 am Post subject: [Freeswitch-users] MOD_VERTO on IOS, no audio on the browser |
|
|
When I'm removing the video track from the local media stream, I can hear audio fine. what could be the cause?
Quote: | 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 (s.safarov@gmail.com)> wrote:
--
Shlomi Schwartz R&D Technical Leader T: +972-74-700-4511 [/url] [url=http://twitter.com/liveperson] [/url] We Create Meaningful Connections [url=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. |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|