This file contains 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
'use strict' | |
;(async () => { | |
const handleSelectImage = (input, select) => { | |
input.addEventListener('change', e => { | |
const files = [...input.files] | |
const image = files.filter(f => f.type.startsWith('image/')) | |
if (image.length) { | |
const file = image[0] |
MacBook 12-inch 2017 | MacBook Air 11-inch Early 2014 | MacBook Pro 13-inch Early 2015 | MacBook Pro 13-inch 2017 | |
---|---|---|---|---|
CPU | 1.4 GHz Intel Core i7 | 1.7 GHz Intel Core i7 | 2.7 GHz Intel Core i5 | 3.5GHz Intel Core i7 |
メモリ | 16 GB 1867 MHz LPDDR3 | 8 GB 1600 MHz DDR3 | 16 GB 1867 MHz DDR3 | 16 GB 2133 MHz LPDDR3 |
お仕事のプロジェクト
日時: | 2023-01-15 |
---|---|
作: | @voluntas |
バージョン: | 2023.1 |
url: | https://voluntas.github.io/ |
この資料は以下の製品の宣伝を含みます。
こちらの資料は古いので WebRTC Simulcast コトハジメ をどうぞ。
WebRTC の Simulcast という仕組みは、複数の品質で映像を配信する仕組みのことです。
P2P で必要かどうかというと、必要ではありません。Simulcast はクライアント・サーバモデル、さらに SFU モデルでの利用を前提としています。
This file contains 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
const ( | |
MinAspectRatioConstraint = MediaConstraintKey("minAspectRatio") | |
MaxAspectRatioConstraint = MediaConstraintKey("maxAspectRatio") | |
MaxWidthConstraint = MediaConstraintKey("maxWidth") | |
MinWidthConstraint = MediaConstraintKey("minWidth") | |
MaxHeightConstraint = MediaConstraintKey("maxHeight") | |
MinHeightConstraint = MediaConstraintKey("minHeight") | |
MaxFrameRateConstraint = MediaConstraintKey("maxFrameRate") | |
MinFrameRateConstraint = MediaConstraintKey("minFrameRate") |
日時: | 2023-12-03 |
---|---|
作: | voluntas |
バージョン: | 2023.1 |
url: | https://voluntas.github.io |
この記事が良いと思ったらこの記事に Star をお願いします
This file contains 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
// sending to sender-client only | |
socket.emit('message', "this is a test"); | |
// sending to all clients, include sender | |
io.emit('message', "this is a test"); | |
// sending to all clients except sender | |
socket.broadcast.emit('message', "this is a test"); | |
// sending to all clients in 'game' room(channel) except sender |
更新: | 2024-05-20 |
---|---|
作者: | @voluntas |
バージョン: | 2024.1 |
URL: | https://voluntas.github.io/ |
This is a quick example of how to create a fading actionbar effect like this in Appcelerator Titanium
This is actually very simple. The trick is putting the Actionbar in overlay mode by configuring the theme with windowActionBarOverlay:true
. Then all you need to do is updating the color of the Actionbar, in this case by scrolling a ScrollView.
NewerOlder