What the equivalent BandwidthMeter(ExoPlayer, Android) in AVPlayer (apple) - avplayer

I have experience with ExoPlayer and I am starting to use AVPlayer for iOS applications.
I am wondering - How can I get the current download rate (estimation)?
It means what the equivalent BandwidthMeter in AVPlayer?

Related

Nativescript record audio

I am searching for a solution to record audio and save the file on the device. I am building my app with Nativescript for IOS and Android, but i can not seem to find any documentation about recording audio only. Does Nativescript have this? Or would it be wise to build native apps for IOS and Android?
This plugin was recently finished to include iOS support: https://www.npmjs.com/package/nativescript-audio
If you have any issues the repo is here: https://github.com/bradmartin/nativescript-audio
You can record audio and play back audio files via URL or locally.

How to develop for Samsung, Panasonic and LG Smart tv app?

I need to code the front-end development for a smart tv application that will work for Samsung, LG and Panasonic.
I read that Samsung has its own SDK for Eclipse and an emulator but I am not sure if developing it with Samsung SDK will work on the other two platforms, do you know if there is a way to develop it that works for all three platforms?
There is platform difference for all the three platforms but there is framework called the TAL framework with which you can create Universal application.
Refer to BBC talframework http://fmtvp.github.io/tal/getting-started/introducing-tal.html
but i doubt that samsung QA team may not allow it.
Mostly smart tv app are based on HTML5, Jquery, so you can build same interface for all the apps and can modify jquery according to platform(LG, Samsung, etc).
you can use this TV SDK http://www.inio.tv/ (I am member of team who develop this...) or some other multiplatform TV framework.
If you have some questions I can answer

play raw PCM wave audio in Win8 (consumer preview)

Is it possible to stream or play raw uncompressed PCM audio data in Windows 8? I don't want to play a file, but rather push my own audio samples (e.g. generate a sine wave). I'm running the Win8 consumer preview. I know that NAudio can do this in Win7 and earlier editions of Windows. I've tried referencing NAudio in a Visual Studio 11 project but NAudio has a dependency on System.Windows.Forms.dll, which does not exist (as far as I can tell) on the Win8 consumer preview. Is there another way to accomplish this in the Win8 preview? I'd prefer a solution using managed code or JavaScript.
You didn't specify language of your chice, so I am going to assume C#. For C# I can think of couple possible options:
SharpDX + XAudio2. This would work for C++ as well without the need for SharpDX
In Silverlight you can use MediaStreamSource - Playing back Wave files in Silverlight. I don't see it in WinRT, but similar alternative might exist.
Write winrt library in C++ utilizing XAudio2. This way you wouldn't need to use SharpDX and you can call it from C# or JavaScript app.

Can I test my apps on a first generation iPod Touch using Xcode 4?

Hi I have an app that supports iOS 3 however I've only ever tested it on an iPhone 4 (very bad practice I know). Lately in my updates people have been emailing me that my app is crashing on their older device, still running iOS 3. I am clearly including features only available in iOS 4 SDK but I can't find where they are in my code.
So to fix this I bought a first generation iPod touch from ebay (which I haven't received yet). Will I be able to build and run my app on this iPod touch or do I need to locate an older version of Xcode and the iPhone sdk (i.e Xcode 3.2.2) and build it using that?
If you haven't used any iOS 4+ specific APIs, you can test your apps on the iPod touch using Xcode 4.

RTSP Streaming on ios 4.0?

I am working on an application that runs the live video taken from the server and play it on iphone os4.0 . When I run the application on iOS 4.0,, after few seconds it gets paused, even if i play it it wont work any more.
I tried a lot but it doesn't worked. But it is clearly stated in iOS 4.0 documentation that iOS 4.0 supports rtsp streaming. Can anybody has any idea about it?
"Also, HTTP Live Streaming is supported in Safari and the media player framework on iOS. RTSP streaming is not supported."
That's from the FAQ in the HTTP Live Streaming Overview in the iOS 4.1 docs. RTSP is explicitly not supported. I've seen it done on iOS - in VLC, for example - but no, it's definitely not supported natively.

Resources