Account acct = (Account)CustomParser.jsonToSobject(
'{ "Name": "Name 1", "AnnualRevenue": 120.0, "NumberOfEmployees": 500 }',
'Account'
)
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
| // Live video stream management for HTML5 video. Uses FFMPEG to connect to H.264 camera stream, | |
| // Camera stream is remuxed to a MP4 stream for HTML5 video compatibility and segments are recorded for later playback | |
| var liveStream = function (req, resp) { // handle each client request by instantiating a new FFMPEG instance | |
| // For live streaming, create a fragmented MP4 file with empty moov (no seeking possible). | |
| var reqUrl = url.parse(req.url, true) | |
| var cameraName = typeof reqUrl.pathname === "string" ? reqUrl.pathname.substring(1) : undefined; | |
| if (cameraName) { | |
| try { | |
| cameraName = decodeURIComponent(cameraName); |
I hereby claim:
- I am couturecraigj on github.
- I am moosecouture (https://keybase.io/moosecouture) on keybase.
- I have a public key whose fingerprint is 455D 7A7A A7E8 CC1F 7AA7 4A55 3322 6360 DCCC D135
To claim this, I am signing this object: