完善机巢任务实时同步并开放双构建真实操作
订阅明确无缓存时使用新发起的有效 HTTP 全量响应衔接首包,保留任务、批次和版本校验。 移除 Debug/Release 的设备指令、图传和 RTC 构建拦截,保留后端权限、身份、防重复提交及结果未知保护。 更新开发约定并补充隔离传输、飞控状态和页面回归测试。 验证:iPhone 真机 500 项相关测试通过;iOS Release 无签名编译通过。
This commit is contained in:
@@ -75,14 +75,13 @@ final class DroneDockLiveReceiverTests: XCTestCase {
|
||||
}
|
||||
|
||||
/// 验证 optional Objective-C 回调确实注册,防止 Swift 方法仅编译通过却不被 SDK 调用。
|
||||
func testSDKDelegateSelectorsAreRegisteredAndDebugFactoryIsBlocked() {
|
||||
func testSDKDelegateSelectorsAreRegisteredWithoutInitializingEngine() {
|
||||
let delegate = DroneDockVolcDelegate { _ in }
|
||||
for selector in ["rtcRoom:onUserPublishStreamVideo:info:isPublish:", "rtcRoom:onRoomStateChanged:withUid:state:extraInfo:",
|
||||
"rtcEngine:onFirstRemoteVideoFrameDecoded:info:withFrameInfo:",
|
||||
"rtcEngine:onRemoteVideoStateChanged:info:withVideoState:withVideoStateReason:"] {
|
||||
XCTAssertTrue(delegate.responds(to: NSSelectorFromString(selector)), selector)
|
||||
}
|
||||
XCTAssertNil(DroneDockVolcEngineAdapter.make(appID: "TEST-ONLY") { _ in })
|
||||
}
|
||||
|
||||
private func configuration(_ role: String) -> DroneDockVolcLiveConfiguration {
|
||||
|
||||
Reference in New Issue
Block a user