This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Cheef's Grand APDU List Smartcard Selected Information APDU list | |
| Reference: http://web.archive.org/web/20090630004017/http://cheef.ru/docs/HowTo/APDU.info | |
| #------------+------------------------+------------------------+----------------------+--------------------------------+ | |
| |ClaIns P1 P2|Lc Send Data |Le Recv Data | Specification | Description | | |
| +------------+------------------------+------------------------+----------------------+--------------------------------+ | |
| | 04 | ISO 7816-9 6.3 | DEACTIVATE FILE | | |
| | A0 04 00 00 00 | 3GPP TS 11.11 | INVALIDATE | | |
| | A0 04 00 00 00 | SAGEM SCT U34 6.15 | INVALIDATE | | |
| +------------+------------------------+------------------------+----------------------+--------------------------------+ |
Provided that you already have a file or stream segmenter generating your .m3u8 playlist and .ts segment files (such as the ffmpeg 'hls' muxer), this little node server will serve up those files to an HLS compatible client (e.g. Safari). If you're using node for your streaming app already, this obviates the need to serve the HLS stream from a separate web server.
loosely based on https://gist.github.com/bnerd/2011232
// loosely based on https://gist.github.com/bnerd/2011232
// requires node.js >= v0.10.0
// assumes that HLS segmenter filename base is 'out'
// and that the HLS playlist and .ts files are in the current directory
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| // #include <stdlib.h> | |
| // #include "wrapper.c" | |
| import "C" | |
| import "unsafe" | |
| import "fmt" | |
| func read(filename string) string { | |
| f := C.CString(filename) |