Skip to main content

OTT on Android


現時市場上比較普及的自適性串流(Adaptive bitrate streaming)方法包括:
HTTP Live Streaming (HLS)
Dynamic Adaptive Streaming over HTTP (DASH)
Microsoft Smooth Streaming 

在Android平臺上,直至API 21之前,對Apple所提出的HLS的支援並不完善,很多應用程式播放HLS內容都是倚靠第三方的播放器。HKTV應用程式最初的版本並沒有內建播放器,所以在部分裝置,尤其是沒有Google Play應用程式的那些,出現只能播放MP4格式的廣告,無法播放HLS格式的即目這情況。這並不是應用程式的問題,而是裝置裏的OS並沒法成功將內容解碼並播放。

現時比較好的方法應該是使用ExoPlayer,經由Android Media Framework去播放DASH內容,缺點是只支援API 17+。

Popular posts from this blog



由Eclipse到Android Studio;由Holo到Material;由ListView到RecyclerView;由Banner Ad到Native Ad Express;由SDK 9+到SDK 16+。這兩年間的改變還真不少。

Android TV - TV Input Framework

平常看電視,選台是很簡單的一件事,一上一下,或者按出電視節目表,全都在一鍵之間。在Android TV上有相似的辦法,不用在應用程式之間切換嗎?

其實只要透過TV Input Framework將Live Feed和EPG以Provider的形式通知系統,用家便能在頻道列表中看見你的頻道。


Google I/O 2016 Highlight

Google I/O 2016Well, this year, there is no much great news. There are a few new product announced in the Keynote, but only new Firebase is immediately available.

Android N, Android VR, DaydreamVR has been a hot topic for a period of time. Now is it one step forward after Cardboard. A controller, and also higher hardware requirement for display. During the keynote, I just wondered, What? Is it just a WiiMote? Well, let’s see what it finally will be.

Android Apps on Chrome OSIt has been a long time since Google providing us the tools to pack the APK as Chome OS package. Now, finally, Google Play Store is on Chrome OS. In Greater China, application developers do not concern about large screen layout. Now, they will suffer. Chrome OS do have different screen size and resolution. Some of them have touch screen, some of them dont. In addition to making your app fits both screen size of phone and of tablet, please also take care with the input method.

And there is no DRM module under the Andro…