Thursday, August 2, 2018

VoIP : Noise cancellation in iOS

How noise cancellation works is that, when there is any background noise, the noise cancellation technology does not attempt to eliminate it, instead it counters it by sending another stream of sound, so that the ear will hear but brain won’t be able to process it to make it audible.

Since the sound and the “counter sound” are still hitting your eardrum, this can result in an odd sensation. Your ear is processing the sound, but your brain isn’t registering it. Since the inner ear controls balance, this will produce a dizzying effect in some people.”

Launch your Settings app with a tap, then tap the General button. Next, find the Accessibility tab and tap there. Swipe down to the Hearing section to find the Phone Noise Cancellation toggle. Tap on the switch to the right to set it Off.

In iPhone this can be turned off following the below settings



 

references:

Monday, June 25, 2018

Notes about a few common codecs

Below given is a compilation of various codecs.



Sunday, June 24, 2018

Android - How to hide app icon



references:
https://readyandroid.wordpress.com/hideunhide-app-icon-programmatically-android/

Nginx How to specify the certificate chain

Providing the certificate chain is pretty easy.


Git find which branch contains a commit

to find which branches in a repo contains a commit with given commit id, below command can be used

git branch --contains  

for e.g.

git branch --contains e1eb22f630a659c0ce1eb22f630a659c0c

Type of AWS load balancing

Application Load Balancer
Application Load Balancer is best suited for load balancing of HTTP and HTTPS traffic and provides advanced request routing targeted at the delivery of modern application architectures, including microservices and containers. Operating at the individual request level (Layer 7), Application Load Balancer routes traffic to targets within Amazon Virtual Private Cloud (Amazon VPC) based on the content of the request.

Network Load Balancer
Network Load Balancer is best suited for load balancing of TCP traffic where extreme performance is required. Operating at the connection level (Layer 4), Network Load Balancer routes traffic to targets within Amazon Virtual Private Cloud (Amazon VPC) and is capable of handling millions of requests per second while maintaining ultra-low latencies. Network Load Balancer is also optimized to handle sudden and volatile traffic patterns.

Classic Load Balancer
Classic Load Balancer provides basic load balancing across multiple Amazon EC2 instances and operates at both the request level and connection level. Classic Load Balancer is intended for applications that were built within the EC2-Classic network.

references:
https://aws.amazon.com/elasticloadbalancing/?sc_channel=PS&sc_campaign=acquisition_IN&sc_publisher=google&sc_medium=load_balancing_b&sc_content=aws_load_balancer_e&sc_detail=aws%20load%20balancer&sc_category=load_balancing&sc_segment=159808182919&sc_matchtype=e&sc_country=IN&s_kwcid=AL!4422!3!159808182919!e!!g!!aws%20load%20balancer&ef_id=WNq5gAAAAI0yW6dy:20180625011629:s

Wednesday, June 13, 2018

Flutter get started - Installation

This below gives some notes from my attempt to get Started with installation on Mac OSX.
Does not seem like a heavy system requirement for installing the SDK, which is great.

It asked to download the SDK which is a zip file. and extract it and add it to the tool path.
Then a series of instruction as mentioned in the link was followed and basically got the app running
the first app that i could run was flutter gallery. Amazing to say in one word! rich set of ui components


export PATH=`pwd`/flutter/bin:$PATH

Set up the iOS simulator

open -a Simulator
brew update
brew install --HEAD libimobiledevice
brew install ideviceinstaller ios-deploy cocoapods
pod setup

tried to directly run it was not working in Xcode
but then ran the flutter run command and then opened in the Xcode using the workspace and it worked.

references:
https://flutter.io/get-started/