24 Sep

RealEyes Media Tech Roundup

Week of September 24, 2018

From time to time, RealEyes Media will be sharing a tech roundup of cool products, technologies, and tools we recently learned about and dig. Feel free to reach out to us with questions or share some experiences of your own!

Contact us to learn more about our products and services.

MUX

Jun Heider, Director of Technology

As a streaming media development shop we’re always keeping an eye out for innovative APIs to leverage under the hood of our applications. If you haven’t heard already MUX provides a video-centric API that allows you to embellish your applications by hook in the ability to easily stream your live and VOD content.

For those that are geeky streaming engineers like us various value-add features such as thumbnail generation, per-title encoding, and watermarking should perk your interest. They have a reasonable pricing plan and a $20 starter credit to play around. Go check out MUX.

ngVFor

William McCormack, Web Developer

We all love the Angular framework here at RealEyes Media. We have been using it since version 1 to produce some complex robust applications. But every framework has limitations and Angular isn’t excluded from that. As an Angular application grows, developers need to proactively think ahead about some of the pitfalls that can occur. We found a cool tool called ngVFor. Instead of looping through hundreds of thousands of items in a list and producing that view then deleting the view and creating it all again, ngVFor actually recycles the view! As the user scrolls down the list, ngVFor is only showing the user what they need to see, instead of creating the entire list all at once. If there is a new item that needs to come into view, the tool will delete the last item on the list and add the newest item. This is why it’s called recycling the view!  This tool will detach the views, remove the context, and cache them so we can attach them and re-context them on the add cycle. Therefore saving a considerable number of script/render cycles. Also what’s cool is that ngVFor is 100% compatible with ngFor, so you can simply do a global replace of ‘*ngFor’ with ‘*ngVFor’ in all the HTML if you want to. This is a very cool tool that is worth checking out.

Offline DRM

Grant Curtis, Software Developer

Do you have a DRM-protected video that you would like to play offline? Request a persistent license while connected to the internet, and once you get a Key Session save that Session ID. Later, when you’re offline, provide that same Session ID instead of requesting a new session. The CDM will check the expiration date of your session, and if it hasn’t expired yet, you should be able to watch your drm-protected content offline!

Dash.js is a player that exposes a lot of this functionality. Capturing a session looks like this:


Providing a session looks like this:

Share this

Leave a reply