Comments (9)
Hmm, I'm actually not sure which version the demo phone runs. I doubt the problem would be a due to a version difference, but if you want to be sure, you could run the demo phone locally and have it use 0.5.0+bower
.
However, if it's the same Freeswitch in both cases, it sounds like your app might be receiving media, but not rendering it correctly. You can use chrome://webrtc-internals/ or Wireshark to determine whether or not media is flowing in.
from sip.js.
Yep, same FreeSWITCH and same Browser. Thats why its so weird!
I'll try out those tools later. Thanks for the pointers.
from sip.js.
Progress! I didn't realize that I actually had to manually attach the stream
to a video
element. Is that really necessary or am I missing something?
After I did this I get sound:
var element = $(".video_container video")[0];
var stream = this.mediaHandler.getRemoteStreams()[0];
if (typeof element.srcObject !== 'undefined') {
element.srcObject = stream;
} else if (typeof element.mozSrcObject !== 'undefined') {
element.mozSrcObject = stream;
} else if (typeof element.src !== 'undefined') {
element.src = URL.createObjectURL(stream);
} else {
console.log('Error attaching stream to element.');
}
Can you use an audio
element instead of a video
element? Is there a more programatic way of doing this using something like SoundManager2?
from sip.js.
(Typing on phone) you can use this if you build from source: 4096365
from sip.js.
Cool! TY for your help (especially on this holiday weekend). I'll mark this as closed.
from sip.js.
Hey just curious: is there a reason why the Bower version isn't pulling in the latest? Or why there isn't a Bower version that does? Having trouble getting the PhoneRTCMediaHandler to work with Bower version, so I'm assuming I need to build.
from sip.js.
It is not surprising that PhoneRTCMediaHandler does not work with 0.5.0. We are preparing to release 0.6.0 very soon, and that will be on Bower. We do not include dist files on GitHub so we cannot make a bower release for the latest version at any given point.
from sip.js.
I see. Thanks for the clarification! I'll build from source for now.
from sip.js.
Just wanted to give you an update that we have released 0.6.0. It should be available on Bower now as well.
from sip.js.
Related Issues (20)
- The second call hold don't get incoming audio on unhold HOT 1
- shared/persistent websockets on multiple tabs HOT 4
- Broken SIP message standard HOT 3
- SIP.URI or UserAgent.makeURI enforcing lower case hosts. HOT 2
- Using `SessionManager` can't set dtmf tone duration HOT 1
- DTMF "onCallDTMFReceived" and "OnInfo" event not working HOT 6
- FreePABX Configuration every time resulting in a 401 Forbiden. HOT 1
- TypeError: userAgent.getLogger is not a function
- Doesn't work with OpenSIPS HOT 6
- Inviter.invite ignores requestOptions
- REFER does not terminate current session HOT 1
- Re-registration doesn't work, it registers only once. HOT 2
- conference pass uuid in conference, cant able to identify conference calls in cdr table HOT 1
- extension and register it HOT 1
- Ability to disable autoStop feature using SimpleUser
- Convert an Audio Call to Video Call (Update SDP / Re-invite) HOT 1
- Unable to downgrade call form Video call to Audio call
- Firefox video call - video stream long delay
- Reconnect to the last call HOT 1
- Sip 2 sip calling with sip.js Invitation not recived HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sip.js.