RSSAmplifier

Blog

Anil Wadghule

Elixir | Phoenix | Distributed Systems

anilwadghule.comRSS feed ↗13 posts

Latest posts

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 steps to properly install

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. We needed a shared file system that can scale so that we can

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 can be done by passing a flag to

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 app, run. mix release.init You will notice, it generates three

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_videos [Install] WantedBy=multi-user.target /etc/systemd/system/janus_s3_upload.service [Unit] Description=Janus S3 Upload timer [Timer]

How to deploy Phoeinx application using AWS CodeBuild, CodeDeploy and CodePipeline

elixir,phoenix,aws,codebuild,codedeploy,codepipeline,devops

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 Rails app $ rails new next_big_app Design a Dockerfile

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 Understand all important Janus event handling How to setup screenshare functionality How to deploy Janus

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. config.ru for Sinatra app require './app.rb'

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 Open mix.exs file and find the "deps" function def deps

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 Janus on Mac with post processing support Install dependencies brew install jansson libnice openssl

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 driven subscription system that polls the database Problem - Does it work for more than

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 applications, but yeah.) Elixir/Erlang developers use OTP to build robust,