Exoplayer Offline Playback with DRM - exoplayer2.x

I am trying to implement an offline playback app using Exoplayer. I followed the demo code to implement download. It worked. But demo ise with latest Exoplayer version and in my case I can not upgrade exoplayer version due to some other unmanaged dependencies.
I am at 2.11.4 version. I have video files downloaded, I have the DRM keys downloaded with keySetId persisted. But I don't know how to use this keysetId to create a mediaSource and play the video.

Related

Any way to play audio file for windows desktop application in flutter?

I'm new to flutter and making a desktop application with flutter. Now I need to load and play audio files but found that the audio player packages don't support desktop software in windows. So if there is any way to play audio file for windows desktop software using flutter, then please give me an example.
Note: After searching a bit I found this (flutter_audio_desktop) but unfortunately it's status is "DISCONTINUED".
just_audio plugin has a support for windows as well. You can use that plugin to play audio file.
There is another plugin named audioplayers which also has windows support in the prelease version 1.0.0-rc.1.
Dart VLC is also a good option to play audio files for flutter desktop application. This package can play both audio and video files.

Do I need to make draft in google play console before I use Fastlane

Can you upload app in Fastlane command with android and Fastlane app in the google play console or I need to make draft in console before I do?
Fastlane unfortunately can not create an Android app from scratch, as it can with create_app_online (formerly known as produce) for iOS. Google just doesn't offer any API for that.
So yes, you have to at least create the app on the Google Play Console which usually includes uploading a first APK (so the Play Console knows about the package name [com.example.app] or your app) to one of the available lanes (which doesn't have to get published though).

Web Audio API with Chrome 26.0.1410.64 m

I have used Web Audio API followed the tutorial on HTML5 Rock. I have added one audio context with 11 tracks of mp3 files, each file plays about 5 min.
This app works perfectly fine before I accidentally update my chrome to 26.0.1410.64m (PC version). In this new version of chrome, this app crash everytime with no exception.
However,the app can work fine in the latest MAC version of chrome. And if I load smaller mp3 files (5 track that each play for 1min) to latest version of PC chrome, nothing goes wrong. I have tried to fully uninstall the latest version in my win8 PC and install early version of chrome, the problem still exists.
Anyone has any idea about this problem? It really freaks me out.

Any updated http segmenter for IPad / iPhone video streaming with latest ffmpeg?

I would like to know if there are any http file segmenters with support for the latest ffmpeg libraries?
So far I have found some projects, although I haven't been able to compile them using ffmpeg 0.9
http://svn.assembla.com/svn/legend/segmenter/
http://www.ioncannon.net/programming/452/iphone-http-streaming-with-ffmpeg-and-an-open-source-segmenter/
Thanks!
I created a fork at github and added support for the latest FFMPEG.
https://github.com/interpegasus/HTTP-Live-Video-Stream-Segmenter-and-Distributor

Building MobileVLCKit from git.videolan.org repository on macOsX with XCode

I would like to make an application for iOS(iPhone and iPad) that can play streaming videos through RTSP protocol (that includes mms). I imagined to achive a specified application using VLC player or libVLC library.
On the official vlc git repository (http://git.videolan.org/?p=vlc.git;a=tree) in projects/macosx/framework/ folder there is xcode project MobileVLCKit.xcodeproj for which I assume that is a somewhat usable VLC framework for iOS.
Now the problem is that I can't/don't know how to build this project. When I try to build MobileVLCKit.xcodeproj I get an error that says it can't find files inside extras/contrib/hosts/i686-apple-darwin10/ios/ folder.
I have looked within that folder (extras/contrib) and managed to create folder (with files) extras/contrib/hosts/i686-apple-darwin10/ with make, but there is no ios folder.
So, does anybody knows how to successfully build MobileVLCKit?
$ git clone git://git.videolan.org/MobileVLC.git
$ cd MobileVLC
$ ./buildMobileVLC.sh
See:
http://wiki.videolan.org/MobileVLC
Note, using any portion of VLC in your app, makes your app open source and GPL.
i am fighting to build this ios version.
if you git clone the today the version, ,you'ld find a more complete with ios support into the extra folder : extra/contrib/src/Distributions/ios.mak and extra/package/ios/build_for_iOS.sh
extra/contrib/bootstrap is now "ios" compliant !
be aware this version need ios4.2 (see build_for_iOS.sh)
i have problems with ffmpeg but it's another story
vlc build for ios need a "howto" !!!
the entry point is "build_for_iOS.sh" build_for_iOS.sh calls bootstrap
when this is done correctly (good luck), MobileVLCKit will find the files it needs (i hope)
Don't use git to get the most recently source code。
Since vlc is not available for iOS。
but you can get mobilevlc 1.1.0, from videolan.com
http://www.videolan.org/vlc/download-ios.html
and you 'd better install Xcode 3.2.5 and iOS SDK 4.2