@basmilius/apple-airplay 0.0.82 → 0.0.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +13 -34
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1409,38 +1409,20 @@ function deviceInfo(pairingId) {
|
|
|
1409
1409
|
uniqueIdentifier: pairingId.toString(),
|
|
1410
1410
|
name: "iPhone van Bas",
|
|
1411
1411
|
localizedModelName: "iPhone",
|
|
1412
|
-
systemBuildVersion: "
|
|
1413
|
-
applicationBundleIdentifier: "com.apple.
|
|
1412
|
+
systemBuildVersion: "18C66",
|
|
1413
|
+
applicationBundleIdentifier: "com.apple.TVRemote",
|
|
1414
|
+
applicationBundleVersion: "344.28",
|
|
1414
1415
|
protocolVersion: 1,
|
|
1415
|
-
lastSupportedMessageType:
|
|
1416
|
+
lastSupportedMessageType: 108,
|
|
1416
1417
|
supportsSystemPairing: true,
|
|
1417
1418
|
allowsPairing: true,
|
|
1418
|
-
systemMediaApplication: "com.apple.
|
|
1419
|
+
systemMediaApplication: "com.apple.TVMusic",
|
|
1419
1420
|
supportsACL: true,
|
|
1420
1421
|
supportsSharedQueue: true,
|
|
1421
|
-
|
|
1422
|
-
|
|
1422
|
+
supportsExtendedMotion: true,
|
|
1423
|
+
sharedQueueVersion: 2,
|
|
1423
1424
|
deviceClass: 1 /* iPhone */,
|
|
1424
|
-
logicalDeviceCount: 1
|
|
1425
|
-
isProxyGroupPlayer: false,
|
|
1426
|
-
groupUID: uuid().toUpperCase(),
|
|
1427
|
-
isGroupLeader: true,
|
|
1428
|
-
isAirplayActive: false,
|
|
1429
|
-
systemPodcastApplication: "com.apple.podcasts",
|
|
1430
|
-
senderDefaultGroupUID: uuid().toUpperCase(),
|
|
1431
|
-
clusterType: 0,
|
|
1432
|
-
isClusterAware: true,
|
|
1433
|
-
modelID: "iPhone16,2",
|
|
1434
|
-
supportsMultiplayer: false,
|
|
1435
|
-
routingContextID: uuid().toUpperCase(),
|
|
1436
|
-
airPlayGroupID: uuid().toUpperCase(),
|
|
1437
|
-
systemBooksApplication: "com.apple.iBooks",
|
|
1438
|
-
parentGroupContainsDiscoverableGroupLeader: 1,
|
|
1439
|
-
groupContainsDiscoverableGroupLeader: 1,
|
|
1440
|
-
lastKnownClusterType: 2,
|
|
1441
|
-
supportsOutputContextSync: true,
|
|
1442
|
-
computerName: "iPhone van Bas",
|
|
1443
|
-
configuredClusterSize: 0
|
|
1425
|
+
logicalDeviceCount: 1
|
|
1444
1426
|
});
|
|
1445
1427
|
setExtension(protocolMessage, deviceInfoMessage, message);
|
|
1446
1428
|
return protocolMessage;
|
|
@@ -2466,18 +2448,15 @@ class AirPlay {
|
|
|
2466
2448
|
const body = {
|
|
2467
2449
|
deviceID: pairingId.toString(),
|
|
2468
2450
|
macAddress: getMacAddress().toUpperCase(),
|
|
2469
|
-
name: "
|
|
2451
|
+
name: "Homey Pro",
|
|
2470
2452
|
model: "iPhone16,2",
|
|
2471
|
-
osBuildVersion: "
|
|
2453
|
+
osBuildVersion: "18C66",
|
|
2472
2454
|
osName: "iPhone OS",
|
|
2473
|
-
osVersion: "
|
|
2474
|
-
sourceVersion: "
|
|
2455
|
+
osVersion: "14.3",
|
|
2456
|
+
sourceVersion: "550.10",
|
|
2475
2457
|
sessionUUID: this.#sessionUUID,
|
|
2476
|
-
sessionCorrelationUUID: uuid2().toUpperCase(),
|
|
2477
2458
|
timingProtocol: "None",
|
|
2478
|
-
isRemoteControlOnly: true
|
|
2479
|
-
statsCollectionEnabled: false,
|
|
2480
|
-
updateSessionRequest: false
|
|
2459
|
+
isRemoteControlOnly: true
|
|
2481
2460
|
};
|
|
2482
2461
|
if (this.#timingServer) {
|
|
2483
2462
|
body.timingPort = this.#timingServer.port;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@basmilius/apple-airplay",
|
|
3
3
|
"description": "Implementation of Apple's AirPlay2 in Node.js.",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.84",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": {
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@basmilius/apple-common": "0.0.
|
|
45
|
-
"@basmilius/apple-encoding": "0.0.
|
|
44
|
+
"@basmilius/apple-common": "0.0.84",
|
|
45
|
+
"@basmilius/apple-encoding": "0.0.84",
|
|
46
46
|
"@bufbuild/protobuf": "^2.10.2"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|