melito
Joined 18 years ago
Joined 18 years ago
Chrome does not support HLS.
DASH isn't plug and play. It's an XML representation describing how to ingest media streams using something like Media Source Extensions.
There are a lot of players out there that will do this heavy lifting for you.
https://www.github.com/krad/morsel https://www.github.com/krad/plainview https://www.github.com/krad/pupil
morsel ingests h264 & aac and produces fragmented mp4 files & playlists. plainview reads the playlists and uses MSE in the browser to play them via the web pupil is a WIP server that reads h264 & aac over TCP and passes that data to morsel, then uploads to any s3 compatible storage (AWS, Minio, etc)
The swift stuff works on Linux, iOS, tvOS, etc
edit:
There's also a WIP project called "kubrick" https://github.com/krad/kubrick
It's a simple POP wrapper around AVFoundation that allows for building media processing pipelines.
There's an example in the project for reading video samples and passing them through a series of Metal shaders to produce fun effects.
https://developer.apple.com/library/mac/documentation/FileMa... (See "Files Can Be Encrypted On Disk")
Implementing the feature is pretty trivial and works on a file by file basis
https://developer.apple.com/library/ios/documentation/iPhone... (See "Protecting Data Using On-Disk Encryption")
More details about the options here: https://developer.apple.com/library/ios/documentation/Cocoa/...
https://developer.apple.com/library/ios/documentation/Cocoa/...
The first thing you're exposed to is its sounds and symbols.
They look & sound strange and your brain instinctively tries to make sense of them by comparing it to something you are already familiar with.
Then when you dig into it you begin learning vocabulary and grammar. You focus on that for a long time until the sounds sound less like gibberish and resemble something like what you've been practicing putting on paper.
Once you get comfortable with the constructs and stop focusing on them you can start conversing - putting more effort into what you're trying to say then how you would go about saying it.
After that then you can start picking up all the idioms, colloquialisms, cliches, double entendres, etc
Finally you can start inventing your own.
First thing I thought of when I saw all the func calls, curly braces and beaks (->) was "this looks like in between Lua and Go"
After starting to dig into the book, it's pretty apparent that isn't the case
Plus they'd be calling REAL cops. Ones that have to enforce and abide by real laws or actually face consequences.
I was able to see it and assumed everyone else would be able to as well
Not too difficult to get it wired up with papertrailapp.com either - That combo makes it VERY handy