feat(video): recover camera previews and reduce encoding and playout cost
Improve camera recovery, shared preview lifecycle and receiver playout diagnostics. Preserve qualified X4 runtime changes and restore async admission in loopback media tests.
This commit is contained in:
@@ -10,7 +10,6 @@ import hashlib
|
||||
import json
|
||||
import os
|
||||
import platform
|
||||
import shutil
|
||||
import subprocess
|
||||
import tempfile
|
||||
from pathlib import Path
|
||||
@@ -63,7 +62,7 @@ def build(sdk, destination):
|
||||
raise ValueError("Built adapter does not depend on the admitted SDK")
|
||||
report = {
|
||||
"schema": "missioncore.insta360.native-build/v1",
|
||||
"abi": 1,
|
||||
"abi": 2,
|
||||
"sdk_lock_sha256": hashlib.sha256(LOCK.read_bytes()).hexdigest(),
|
||||
"source": {
|
||||
p.name: hashlib.sha256(p.read_bytes()).hexdigest()
|
||||
@@ -87,8 +86,8 @@ def build(sdk, destination):
|
||||
os.rename(stage, destination)
|
||||
return report
|
||||
finally:
|
||||
if stage.exists():
|
||||
shutil.rmtree(stage)
|
||||
# Owner direction: preserve failed build staging and its evidence.
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user