Anil Wadghule
Elixir, Phoenix, distributed systems
-
July 11, 2021
How to install wxmac properly for running observer with Elixir
For Elixir installed with asdf, whenever I try to run iex> :observer.start I keep getting the following error Could not find 'wxe_driver.so' in: /Users/anil/.asdf/installs/erlang/23.3.4.4/lib/wx-1.9.3.1/priv Below are...
-
June 14, 2020
How to mount Amazon EFS file system to EC2 instance
In one of our client applications, we use the WebRTC Media server which records the peer videos of candidates on the server. We create multiple instances of WebRTC Media server in auto scaling mode as load increases....
-
June 12, 2020
Detecting fake media/webcam for WebRTC
Recently our client asked us if can we detect if the camera used by the examinee during the exam is a fake camera or a real live camera. One of their examinees had most possibly used manycam or maybe fake media which...
-
June 07, 2020
Set up remote observer for Elixir mix release
Elixir/Erlang offers Observer a GUI tool for observing the Elixir/Erlang system In this article, we will set up the Observer for remotely connecting to the mix release deployed Elixir app. Let's start, in your Elixir...
-
May 08, 2020
How to upload Janus video recordings to AWS S3 with Ubuntu systemd service
Add following files [Unit] Description=Upload Janus recordings to AWS S3 After=network.target [Service] Type=oneshot User=ubuntu WorkingDirectory=/home/ubuntu/janus_recordings ExecStart=/bin/bash /usr/local/bin/upload...
-
April 16, 2020
How to deploy Phoeinx application using AWS CodeBuild, CodeDeploy and CodePipeline
In this post, we will see how we deploy the Phoenix application using AWS CodeBuild, CodeDeploy, and CodePipeline Steps Create a Phoenix app to deploy $ mix phx.new memories $ cd memories $ mix ecto.create Compiling 1...
-
April 04, 2020
How to use Docker for local web app development
In this article you will learn how to use Docker for local application development We are going to see how we can use Docker to run our application in Docker container but still able to code from local editor Create R...
-
January 30, 2020
How to use Elixir Phoenix with Janus WebRTC
We will see in-depth * How to use Phoenix as a Signalling server * Writing Elixir client for talking with Janus * How to write WebRTC code with JavaScript * How to use the Janus Videoroom plugin from Elixir * Understa...
-
December 18, 2019
Using Twilio TURN servers for your WebRTC app
This post shows you how to create a simple Sinatra (Sinatra is a Ruby DSL for quickly creating web applications in Ruby with minimal effort) app to send you Twilio TURN servers, which can be used from your WebRTC app....
-
October 17, 2019
How to add test coverage report to Phoenix project.
Phoenix is a web framework for Elixir language. In this post, we will see how to add test coverage report support with excoveralls library. Follow below steps. Add excoveralls as a (Development) Dependency to mix.exs...
-
October 04, 2019
How to install Janus WebRTC Server on macOS
Janus WebRTC Server Janus is an open source, general purpose, WebRTC server designed and developed by Meetecho. Multiple times I found hard to follow steps to Install Janus on my Mac. Follow below steps to install Jan...
-
September 10, 2019
Using OTP / Presence for Real-time Analytics by Jacqui Manzi & Matt McClure
Nice talk how requirements were perfectly implemented with various features available in Elixir OTP and Phoenix. Notes * Problem - Subscribing to data updates isn't an option Solution - In Elixir, create a process dri...
-
July 23, 2019
Build fault-tolerant Calculator with OTP
Elixir/Erlang inbuilt provides us OTP (Open Telecom Platform) which is a set of libraries that ships with Erlang. OTP is not that much about telecom anymore (It's more about software that has the property of telecom a...