Posts

Accessing HDD and Pen Drives via Jio GigaFiber Media Server (DLNA)

Image
You can access contents from your External Hard Disks or Pen Drives in your WiFi enabled device such as Smart TVs, Laptops, Smart Phones etc. via the media server available in Jio GigaFiber ONTs (router).Want to know you to change the SSID and password of GigaFiber router? Click here.
GigaFiber ONT has in-built support for Digital Media Server (DMS), which is a DLNA (Digital Living Network Alliance) device capable of reading and streaming media content over an IP network to an output device. Any DLNA supported device can stream the content if connected to the same network.How to enable DMS Server in Jio GigaFiber ONT?You need to first log into the ONT admin console by accessing the url: http://192.168.29.1/. The default username is "admin" and password "Jiocentrum", refer the user manual came along with the device.
Once logged in, go to Advanced :: DMS Server Settings. Change the friendly name from "Jio Media Server" to whatever name you want to be displaye…

How to change Wifi SSID and Password of Jio GigaFiber ONT (Router)

Image
Reliance has started rolling out their much awaited JioGigaFiber connection in selected cities. Currently beta testing is going on with a preview offer in which a security deposit of Rs. 2,500 is charged for a 2.4GHz ONT device (GigaHub Home Gateway), you will get 100GB/month data and unlimited calls when connected a landline phone to the router.Want to know how to access hard disk content via GigaFiber Media Server? Click here.
During the installation, the installation guys asks you to change the SSID and password but after sometime the router downloads and installs the latest firmware and resets itself. You will have to connect to the router with the default SSID + password written on the back of the router to connect and then change the settings.How to change SSID and default password?You can change the SSID and password via the router admin page or via My JIO app.Changing SSID and password via router admin pageType http://192.168.29.1/ in the browser, login with the default router …

Control Amazon Prime Video quality and SAVE bandwidth

Image
As in YouTube, Amazon Prime Video also has an in-built feature to adjust video quality based on the bandwidth available. Unfortunately, the quality settings available in YouTube, by which you can set the quality of the video, is not available in Amazon Prime yet. Due to this missing feature, the data usage can go too high, if you are on a limited plan, you might end up consuming whole data within couple of days.
If you would like to know how much data you will be consuming in an hour, visit my blog post entitled Control YouTube Video Quality and SAVE Bandwidth.
So, let's talk about how we can limit the data usage with Amazon Prime. With some settings in your router, you can limit the data usage for all devices connected or only specific device.

Follow below steps to setup your router to control bandwidth.
Access your router admin console http://192.168.1.1 or http://192.168.0.1. Login with the admin user and password (normally administrator/password), refer your router manual for exac…

Control YouTube KIDS Video quality and Save Bandwidth

Image
If you are a regular YouTube user, you already will be knowing the bandwidth control settings available in YouTube. More information available in my previous blog post titled Control YouTube Video Quality and SAVE Bandwidth. Unfortunately, YouTube team did not roll out this feature in YouTube KIDS yet.
For the parents with Young kids, YouTube Kids is a present from YouTube team. Limiting "kids only" videos from their wild YouTube platform, parents can safely give control of the TV to kids, they can watch whatever they want based on their interest.
One common problem every parent facing is the excessive usage of bandwidth. Those who are having unlimited plans no need to worry, others it is an ongoing issue. Whenever you are about to start a work, you will notice you are running out of data.
Is there any way you can set limit to the data usage by YouTube KIDS? You have a good news! You can now control data usage at router level or at device level.
Most of the modern routers allow …

Control YouTube Video Quality and SAVE Bandwidth

Image
YouTube has an inbuilt feature to control the video quality based on the bandwidth. Not only in the web version but it is available across all device versions such as Android, iOS, Samsung Smart TV, SONY TV, LG TV and even in Play Station versions.
Available quality settings depends on the device and the video you are playing. Below given list of all available quality levels supported by YouTube:
Auto (adjusts based on the available bandwidth)144p240p360p480p720p (HD, High Definition)1080p (FHD, Full HD)4K (UHD, Ultra HD)If you have a limited data internet connection, it is advised to set the quality level not to Auto, set it based on your data plan.

Below chart will give a rough data usage based on the bandwidth:
SpeedBandwidth/Hour1Mbps0.44GB2Mbps0.88GB4Mbps1.76GB8Mbps3.52GB8Mbps3.52GB16Mbps7.03GB24Mbps10.55GB32Mbps14.06GB50Mbps21.97GB100Mbps43.95GB
Say you have 50Mbps connection and you watch YouTube in 1080p resolution, you will consume a maximum of 21.97GB data in an hour! You can red…

Using Custom S3 Resource in Spring Batch Application - Part 2

Image
In the last article titled Simple S3 ItemReader for Spring Batch Application, I explained how to write a custom FileItemReader for S3. You might have noticed, the solution works great but you will have to restart your application/server for any changes in the S3 file to take effect.

Here, we will try another approach where we will extend org.springframework.core.io.AbstractResource class and implment a S3 resource provider. For this, we will have to implement the below methods:
public String getDescription()public InputStream getInputStream()public boolean exists()public long contentLength()public long lastModified()public String getFilename()public URL getURL()
Let's implement these methods.
Method: getDescription()This should return a short description on the aws resource including the bucket name and the object name. StringBuilder builder = new StringBuilder("S3 resource [bucket='"); builder.append(this.bucketName); builder.append("' and key=&#…

Simple S3 ItemReader for Spring Batch Application - Part 1

Image
Spring Batch is one of the most popular Open Source batch processing frameworks available today. Also it supports most advanced features such as optimization and partitioning techniques, thus makes it the most suitable framework for high volume and high performance enterprise applications.
In this article, we will discuss about using Spring batch to process files from aws S3(Simple Storage Service).

The lifecycle of a batch process is, read large chunk of data, process it and then write the transformed data back to some storage. So, the main components of a batch process are: a reader, a processor and a writer. Batch ReaderSpring Batch provides various item readers such as: FlatFileItemReaderHibernatePagingItemReaderIbatisPagingItemReaderJdbcPagingItemReaderJmsItemReaderMongoItemReaderAs you might be knowing, there is no in-built reader available for S3. You can write your own item reader by implementing the interface ItemReader. But here, I will show you how to build an item reader for S…