How to install WebRTC in fusionpbx - webrtc

Please guide me install WebRTC in fusionpbx. I based on scripts on Freeswitch but it doesn't work.

WebRTC not mentioned in their release page
But they have a demo folder in their their github repo

WebRTC can work in FusionPBX as documented in the book "Mastering FreeSWITCH" Work is being done to make it easier in FusionPBX.
Tip: What you can do in FreeSWITCH can be done in FusionPBX. So their books and documentation apply to FusionPBX.

That one was actually using verto and just a basic example of it from the book so I renamed it to to be more accurate. We are working on a WebRTC app and will put it in the repo when its more polished.

WebRTC instructions are described in the FreeSWITCH book "Mastering FreeSWITCH". Work is being done to make WebRTC easier in FusionPBX but for now the instructions in the book should be enough to get you started. The WebRTC app is not mentioned as its an example and not production ready without the polish one would expect and so it is not mentioned for the release but it is possible to use WebRTC.

Related

webRTC Live streaming Nativescript

I need to create a broadcast video from the server to many clients
In server i use https://airensoft.gitbook.io/ovenmediaengine/
When connecting for the web, I use
"file": "ws://3.123.0.22:3333/app/test_o",
"type": "webrtc"
please tell me
how to implement the same thing on nativescript
Thanks for posting a question about OvenMediaEngine.
First of all, we've never used NativeScript, so it's difficult to give an accurate guide, but I'll let you know what we understand as much as possible.
1.
The easiest way to play WebRTC with NativeScript is by adding a WebView and playing it inside.
Please refer to this page (click), add a WebView to your project, then create a page that can load OvenPlayer in that WebView.
2.
Another way is to install a plugin. Click HERE to install this plugin on your project and connect the OvneMediaEegine Signalling to be able to stream with WebRTC.
Please see to our guide (click), interlock Signalling with WebSocket, get the SDP of OvenMediaEngine, and put it in WebRTC plugin.
Thank you!

Lot of noise in webrtc audio/video

I have developed a video chat app with webrtc api. I have fallowed the steps given by webrtc. Video working fine. But there is a lot of noice from my laptop. sound is not clear.
But in google developed demo site https://apprtc.appspot.com/ works with out any noise(better compare with us).
I fallowed the same procedure what they did. But no luck.
But in headset this echo is not hearing. This happens when we haering the sound from laptop without headset.
Please give me some suggestion on this.
Thanks in advance. Looking foward for the response.
Give a look at this demo webrtc conferencing supports four callers. This link describes the implentation details architecture

How to address Firebase from an Arduino?

Background: I've a sensor hooked up to an arduino printing readings through the serial monitor. I want to log these in firebase.
I've done a bit of digging on this, and my research has shown me that an arduino simply can't handle the SSL needed to talk to firebase properly.
Any suggestions for workarounds? Checking SO and google's only turned up "it can't be done", but I figured I'd ask anyway. Any lateral thinking is appreciated, thanks!
If you figure out a way, let us (support#firebase.com) know. That would be an awesome hack!
Some thoughts:
You might want to look into the Spark Core (available for pre-order). They mention SSL support, though it's unclear to me what that means exactly.
You could proxy the requests through a server that can speak SSL. For instance, you could run a tiny node.js service on an Amazon EC2 box that just proxies REST requests to Firebase (e.g. using http-proxy).
If you're hardcore, you could try to get the Arduino talking to an external ethernet controller that has built-in SSL support (e.g. this one), but that's probably a big project. :-)
Longer-term, we might expose a non-SSL endpoint for Firebase requests that's specifically for this sort of low-end hardware use-case. Ping us at support#firebase.com if you want to start a dialog.
Here's a php script I whipped together to solve for Arduino no https.
It's basically a form that GETs to the php script and then sends it off to your Firebase database.
http->php->Firebase
https://github.com/robertcedwards/httpFirebase
*Make sure you add Heroku or your server to the whitelist of IPs that can post to Firebase
I know its an old question but visitors from google keep coming.
Have a look at this post: http://www.devacron.com/arduino-firebase/
[EDITED]
These arduino libraries might help:
firebase-arduino
https://github.com/googlesamples/firebase-arduino
https://github.com/ed7coyne/firebase-arduino
To install it:
Download the zip file, go to Sketch>Manage Libraries>add .zip file
Now you have access to
#include <FirebaseArduino.h>
and can begin using it with
Firebase.begin("example.firebaseio.com", "token_or_secret");
Follow the example at https://github.com/ed7coyne/firebase-arduino/blob/master/examples/FirebaseDemo_ESP8266/FirebaseDemo_ESP8266.ino

RTSP stream in iOS

I'm new to Objective-C.
How to read an RTSP stream in an iOS app?
Apparently libraries live555 and ffmpeg are able, but I find no such simple and functional.
Are there other solutions ?
All solutions use ffmpeg.
But some are easier than others, here's a tutorial to get you started.
http://sol3.typepad.com/exotic_particles/
personally I find live 555 offers the most options but also is quite hard to get started with.
most of the difficulty is usually in building ffmpeg libs.

Are there any full-featured tutorials or examples for faye on rails?

I have worked with faye on node before, but now want to add it to a rails app. I've found plenty of quick integration guides and have it up and running, but my current implementation is pretty hacky. I've been unable to find any longer tutorials or examples including a good convention for the server to subscribe to the faye channels, interact with the rails models, and publish responses. Does anyone know of good resources?
The below links can be useful for you,
http://railscasts.com/episodes/260-messaging-with-faye?view=asciicast
First one exhibits the simple instant message application in Rails with the help of faye.
I found the How to Use Faye as a Real-Time Push Server in Rails tutorial to be a good start:
We’re going build a simple chat service. Now, Ryan Bates covered this on Railscast #260, however, we’re going to take a slightly different approach in this tutorial. First, we’ll create a chat service where users enter a public room, and everyone can chat with each other publicly. The second functionality we’ll be adding is private messages. Additionally, we’ll integrate some security to our implementation using Ryan Bate’s private_pub gem.
In about one hour you get a hands-on experience and understanding of Faye, both as a server and as a client. By the end of it you have a very basic chat; and not only that, your chat is also secure via private_pub.
Faye has moved towards rack compatibility, so using a config.ru file and booting with the command rackup is advised (the listen method will not work on the latest version of faye).
Booting Faye with rails isn't encouraged, because FAYE isn't compatible with development middleware in rails, meaning you will always need to run in production mode.
A minimalistic barebones example project was written, which deploys cleanly to heroku as observed live at faye-rails-example.herokuapp.com.