AngularJS Services – Fetching Server Data

Fetching Server Data – Intro

$http in AngularJS is the service that assists us with fetching data from remote http services.
The simple way for using it is when you need data in a controller, then issue the $http call and use the data. This way works 100%, but as always our application is getting bigger…
If you do not manage your services you’ll find yourself writing the same http call dozens of times. If you want to avoid this (and you do!), then you can use AngularJS Services.

There are several ways for solving this problem via AngularJS Services. In this post, I’ll describe 2 ways for solving the reuse of $http.
1. One service endpoint for managing the entire http calls in our application.
2. One service for every model you have in your application.
This mean that you have several services.

AngularJS logo


Continue reading

Go Live From Your Mobile Device – Live Stream Mobile App

Finally it is here! Build your own Live Stream Mobile App and start to broadcast LIVE from your device.

Panda-OS released the first open-source library for native iOS integrated with the Kaltura Platform, and Wowza Streaming Engine. The library is now available on GitHub for free.

Using our “pandalive” library will allow your App to support:

1. Direct connectivity to your services provider.
2. Live Stream from your device.
3. Open a session (“GO LIVE”) and control your camera during the event.
4. With additional configuration and development you can integrate Ads.
5. Cross platform delivery using Wowza with HLS and HDS.

Panda OS is a software development company specializing in video applications and we have much more to offer. Visit our Mobile page to read more about our features and skills.

Setting Up Kaltura S3 Cloudfront CDN – CE 9 External Storage With CDN Delivery


Today I was asked by one of our clients to install a Kaltura cluster with Amazon S3 storage Cloudfront CDN. Kaltura S3 Cloudfront is a popular setup among our customers. For assistance, I used our old blogpost (posted about a year ago): SETTING UP KALTURA CE 5.0 AMAZON S3 STORAGE CLOUDFRONT CDN – EXTERNAL STORAGE WITH CDN DELIVERY which explains very well how to set up Kaltura CE Amazon S3 Storage and Cloudfront CDN. Although it was very helpful, I found a bit of a difference between Kaltura CE 5.0 and CE 9.X versions. I thought that an updated post regarding this issue would be a good idea.
Continue reading

Panda OS and the Kaltura Connect 2014 experience

Our Kaltura Connect experience started by driving down from Boston to New York, while streaming our trip Live across the internet via the Panda Live streaming app on my iPhone. We arrived just in time for the hackathon presentation and got to show our solution for Live streaming from the iPhone. The solution is available for free on github.

We got to meet our clients, the guys behind Voicebase, Jay and Spencer, and witness first hand the amazing solutions developed by the participants of the hackathon on top of the Voicebase API. It was also a great opportunity to meet old friends and catch up with our former Kaltura colleagues.
Continue reading

Join us at Kaltura Connect 2014 – The Video Experience Conference , NYC June 16-18

Panda-OS is proud to participate in the Kaltura Connect – The Video Experience Conference. For the 4th year Kaltura Connect returns to New York City, featuring a rich day of workshops, a weekend hackathon, and two days of exclusive content, networking opportunities, and cutting-edge video technology.

Come and get familiar with Panda-OS Live Broadcast Mobile App solution – An Open-Source library, easy to integrate, using HTTP Live Stream to broadcast from mobile devices.

Find out and explore how you can benefit from our solution, by joining Leon Gordin – CEO of Panda-OS at our workshop taking place at the Kaltura Connect 2014 – The Video Experience Conference, on the Product and Technology Workshops Day June 16th @ 16:45 – 17:30 at the Essex House Hotel in Manhattan.

AngularJS Services – Application Business Logic

Application Business Logic – Intro

As your application gets bigger you’ll see that you have several controllers, and every one of them controls a different part of your application. The most common usage of controllers is to communicate between the view side and the data/logic side of the application. It is a common mistake to want to put all your logic in the controller. In general, writing your logic in the controller is not recommended since the controller is better used for merging the data and the view.
The AngularJS developers thought about this, and created the AngularJS services for this task.

AngularJS logo


Continue reading

How to get the Kaltura Session (KS) string

Kaltura Session string (KS) is an authentication key and it is required in order to make requests to the Kaltura API. The KS is used to identify the account on which the action would be performed.

You will usually need to specify the KS for making requests to the Kaltura API, either via your code or when using the test console.
There are some requests that don’t require a KS, like Session->start action and other public or pre authentication actions.

You can always generate the Kaltura session (KS) via the API, as described here at the Kaltura help forum. But what if you need to get the KS instantly, without writing any code? For example, you are using the test console and trying to create an entry. You need to specify the KS, but where do you get it from?

Continue reading

AngularJS Services

AngularJS Services are lazily instantiated singleton objects that be can used everywhere in your application. You can inject your services into your controllers, directives, and filters by specifying the name of the service in the declaration of your function.
Within this series of posts, we will explore the usages and benefits of the AngularJS Service provider.

AngularJS Services are created by the Injector service. The Injector service is one of the five types of “AngularJS recipes”.
You can read more about AngularJS providers.

AngularJS logo


Continue reading

AngularJS Services – Application Data Management

Application Data Management – Intro

In every medium-size application there are many data bindings between controllers, views, directives, and other application services. There are several ways to bind and store data across the application such as: using the $cacheFactory Service, or saving objects on the $rootScope. In my experience the best and most common way is to use the AngularJS Services.

You can either create one singleton object to store the entire application data, or to separate it into several services. In either case the AngularJS Services can easily give you the ability to share data across the entire application.

AngularJS logo


Continue reading