Can i use freeswitch as server for restcomm-android-sdk - restcomm

i wang to use restcomm-android-sdk to develop my app,but i donot want to use TeleStax server,i want to use myself server. If i can use freeswitch as server? or other server? Can anyone give me some advice?

Pengwang, in terms of signaling, restcomm-android-sdk uses SIP, which is compatible with freeswitch, the problem is media where restcomm-android-sdk uses Webrtc. If freeswitch is able to use Webrtc for media, then in principle you should be able to use it, but I'm not sure if freeswitch supports Webrtc.
Also, notice that you don't have to use the commercial TeleStax server with restcomm-android-sdk. You can use the community version, which is open source and which you can install locally using docker very easily
Hope this helps,
Antonis Tsakiridis

Related

How to record video using Kurento in Easyrtc?

I'm new to Webrtc and Javascript. I'm trying to build a video chat application with recording functionality on the server. Currently, I use Easyrtc as Webrtc wrapper to provide the video chat functionality and it's working great. I also setup TURN server on the cloud using Coturn and use this on Easyrtc config.
I would now like to add video recording on the server and learned that this is achieved via media server. I'm keeping an eye on Kurento for this.
I'm just confused with media server in general.
Can Media Server replace TURN Server?
If TURN and Media server are required, can Kurento be installed on the same server as Coturn?
Can I have Easyrtc and add Kurento for video recording? If yes, how can Kurento record the video stream from Easyrtc/Coturn? Would appreciate pseudocode if possible.
Am I on right track? Any other advice to consider?
Should highly appreciate your comments.
Thank you!

webrtc: can TURN server be used as media server?

Is it possible to use a TURN server to play the role of a media server to relay streams ? (like Janus or Kurento)
user1<----->turn<------>user2
TURN servers only help in 1to1 call as media(Encrypted) relayer through NAT. We can't decrypt the media at TURN server.
WebRTC MediaServer/Gateways like Janus, will help in advanced use cases like streaming, conference, PSTN/SIP and recording.
Read the tutorial and choose the media server based on your use cases

Recommended WebRTC Server Configuration for Native app (iOS/Android)?

I tried to build a server for integrating the webrtc native APIs in an native app, but I am not sure about how the server should be configured, like the ICE/STUN/TURN, signaling, media server etc..
So far as I know is the open source project: https://github.com/priologic/easyrtc
Can anybody give some recommendations?
Thanks
In a WebRTC infrastructure, there are several things involved. The client part is written in JavaScript and runs on the browser.
But as you said it is a server side part. First there is a ICE/STUN/TURN server that it's used for a client to discover its public IP address if it is located behind a NAT. Depending on your requirements could not be necessary to build/deploy your own server, but use an already public (and free) existing one - here's a list. You can also deploy an open source one like Stuntman.
Then it comes the signaling part, used by two clients to negotiate and start a webrtc session. There is no standard here and you have a few options.
You can use an XMPP server with a Jingle extension. You can deploy an existing XMPP server, like OpenFire or Tigase
You can also use SIP, a protocol much more encountered for VoIP. You can use JAIN-SIP or SIP Servlets.
Or you can develop your own signaling protocol using something like websockets.
The server side options that I was giving you were Java based ones, but you can find similar for other infrastructures too.
STUN/TURN is required. Use public ones (not absolutely stable) or get a Ubuntu machine ans install from the source: https://code.google.com/p/rfc5766-turn-server/
Signaling is trivial. You just forward messages between peers. Just build a simple chat server.
Media server is whole different story and require sophisticated client-server configuration.

How to implement secure FTP connection on iOS

Apple provide a CFNetwork guide, where described how to work with FTP. I interested to work with SFTP. Everywhere chilkat ftp library is suggested, but he has a too big feature list, that is unnecessary to pay.
Are there any way to connect to SFTP only for download, upload and viewing directory lists?
/n software IP*Works! SSH for iOS (www.nsoftware.com/ipworks/ssh/) is another commercial solution. It includes an SFTP library as well as a number of other iOS communications libraries.
SFTP is just an extension of the SSH protocol. I would look for an open source SSH library, such as this one. Most have support for the SFTP protocol.
One thing to note, if you intend to use it in an App Store app, you may want to remove the server capability from the library, as Apple probably wouldn't allow it. If, by some slight chance, the library even builds and runs with the SSH server capability, you may be able to get it into the App Store if you don't enable the server.
Of course, I'm sure there are libraries out there with client-only capabilities if removing server support yourself doesn't sound all that dandy.

creating mobile streaming server (3gp)

I need an Open Source solution & tutorial for creating mobile streaming server that can stream video on 3gp (3gpp) format, i have tried using Helix DNA Server, but it's free version only allow real media not 3gp.
I have heard about DSS (Darwin Streaming Server) but i can't found any Windows binaries (compiled exe) for that, and Catra Streaming server package only confused me more since i can't found any file required for Catra (setting, etc are missing on their package).
PS: Actually i need some sort of guide for setting DSS or Catra on Windows (especially Server 2003)
You may want to try VLC http://www.videolan.org/vlc/
I can't vouch for the streaming server, but the player works well, and 3gp is supported.
But this isn't a programming question.
DSS Windows binaries are here:
http://dss.macosforge.org/post/previous-releases/
If you're target mobile devices support flash you can stream 3gp from Red5. If they don't support flash, but they do allow HTML5 you could still use Red5 or pretty much any Java EE container server.