Releases: tencentyun/iot-link-ios
[video-v2.4.50-beta.2]预发版
集成方式:
pod 'TIoTLinkVideo', '2.4.50-beta.2'
pod 'TIoTLinkKit_XP2P', '2.4.53'
pod 'TIoTLinkKit_GVoiceSE', '1.1.1'
pod 'TIoTLinkKit_IJKPlayer', '2.0.15'
更新内容:
- 兼容ios26 音频采集
- 修复oc/c混编内存问题
- 加大对讲缓存pcm吞吐,兼容ios18.5之后高版本
- 更新接口 pro_id/dev_name 拼接
接口指引:
TIoTP2PAPPConfig *config = [TIoTP2PAPPConfig new];
config.appkey = xxx; //为explorer平台注册的应用信息(https://console.cloud.tencent.com/iotexplorer/v2/instance/app/detai) explorer控制台- 应用开发 - 选对应的应用下的 appkey/appsecret
config.appsecret = xxx; //为explorer平台注册的应用信息(https://console.cloud.tencent.com/iotexplorer/v2/instance/app/detai) explorer控制台- 应用开发 - 选对应的应用下的 appkey/appsecret
config.xp2pinfo = xp2pInfo; //请求到设备的p2p_info
config.autoConfigFromDevice = YES; //配置是否跟随设备
[[TIoTCoreXP2PBridge sharedInstance] startAppWith:myProductId dev_name:myDeviceName appconfig:config];
·
·
·
Ready 之后
[[TIoTCoreXP2PBridge sharedInstance] getCommandRequestWithAsync: myProductId/myDeviceName cmd:@"action=inner_define&channel=0&cmd=get_device_st" timeout:5*1000*1000 completion:^(NSString * _Nonnull jsonList) {
}];
对讲需要设置采样 duration
AVAudioSession *avsession = [AVAudioSession sharedInstance];
[avsession setCategory:AVAudioSessionCategoryPlayAndRecord withOptions:AVAudioSessionCategoryOptionDefaultToSpeaker error:nil];
[avsession setActive:YES error:nil];
[video-v2.4.50-beta.1]预发版
集成方式:
pod 'TIoTLinkVideo', '2.4.50-beta.1'
pod 'TIoTLinkKit_XP2P', '2.4.53'
pod 'TIoTLinkKit_GVoiceSE', '1.1.1'
pod 'TIoTLinkKit_IJKPlayer', '2.0.15'
更新内容:
- 兼容ios26 音频采集
- 修复oc/c混编内存问题
- 加大对讲缓存pcm吞吐,兼容ios18.5之后高版本
- 更新接口 pro_id/dev_name 拼接
接口指引:
TIoTP2PAPPConfig *config = [TIoTP2PAPPConfig new];
config.appkey = xxx; //为explorer平台注册的应用信息(https://console.cloud.tencent.com/iotexplorer/v2/instance/app/detai) explorer控制台- 应用开发 - 选对应的应用下的 appkey/appsecret
config.appsecret = xxx; //为explorer平台注册的应用信息(https://console.cloud.tencent.com/iotexplorer/v2/instance/app/detai) explorer控制台- 应用开发 - 选对应的应用下的 appkey/appsecret
config.xp2pinfo = xp2pInfo; //请求到设备的p2p_info
config.autoConfigFromDevice = YES; //配置是否跟随设备
[[TIoTCoreXP2PBridge sharedInstance] startAppWith:myProductId dev_name:myDeviceName appconfig:config];
·
·
·
Ready 之后
[[TIoTCoreXP2PBridge sharedInstance] getCommandRequestWithAsync: myProductId/myDeviceName cmd:@"action=inner_define&channel=0&cmd=get_device_st" timeout:5*1000*1000 completion:^(NSString * _Nonnull jsonList) {
}];
对讲需要设置采样 duration
AVAudioSession *avsession = [AVAudioSession sharedInstance];
[avsession setCategory:AVAudioSessionCategoryPlayAndRecord withOptions:AVAudioSessionCategoryOptionDefaultToSpeaker error:nil];
[avsession setActive:YES error:nil];
[video-v2.4.49]正式版
集成方式:
pod 'TIoTLinkVideo', '2.4.49'
pod 'TIoTLinkKit_XP2P', '2.4.53'
pod 'TIoTLinkKit_GVoiceSE', '1.1.1'
pod 'TIoTLinkKit_IJKPlayer', '2.0.15'
更新内容:
- 修复oc/c混编内存问题
- 加大对讲缓存pcm吞吐,兼容ios18.5高版本
- 更新接口 pro_id/dev_name 拼接
接口指引:
TIoTP2PAPPConfig *config = [TIoTP2PAPPConfig new];
config.appkey = xxx; //为explorer平台注册的应用信息(https://console.cloud.tencent.com/iotexplorer/v2/instance/app/detai) explorer控制台- 应用开发 - 选对应的应用下的 appkey/appsecret
config.appsecret = xxx; //为explorer平台注册的应用信息(https://console.cloud.tencent.com/iotexplorer/v2/instance/app/detai) explorer控制台- 应用开发 - 选对应的应用下的 appkey/appsecret
config.xp2pinfo = xp2pInfo; //请求到设备的p2p_info
config.autoConfigFromDevice = YES; //配置是否跟随设备
[[TIoTCoreXP2PBridge sharedInstance] startAppWith:myProductId dev_name:myDeviceName appconfig:config];
·
·
·
Ready 之后
[[TIoTCoreXP2PBridge sharedInstance] getCommandRequestWithAsync: myProductId/myDeviceName cmd:@"action=inner_define&channel=0&cmd=get_device_st" timeout:5*1000*1000 completion:^(NSString * _Nonnull jsonList) {
}];
对讲需要设置采样 duration
AVAudioSession *avsession = [AVAudioSession sharedInstance];
[avsession setCategory:AVAudioSessionCategoryPlayAndRecord withOptions:AVAudioSessionCategoryOptionDefaultToSpeaker error:nil];
[avsession setActive:YES error:nil];
[video-v2.4.49-beta.2]预发版
集成方式:
pod 'TIoTLinkVideo', '2.4.49-beta.2'
pod 'TIoTLinkKit_XP2P', '2.4.53'
pod 'TIoTLinkKit_GVoiceSE', '1.1.1'
pod 'TIoTLinkKit_IJKPlayer', '2.0.15'
更新内容:
- 修复oc/c混编内存问题
- 加大对讲缓存pcm吞吐,兼容ios18.5高版本
- 更新接口 pro_id/dev_name 拼接
接口指引:
TIoTP2PAPPConfig *config = [TIoTP2PAPPConfig new];
config.appkey = xxx; //为explorer平台注册的应用信息(https://console.cloud.tencent.com/iotexplorer/v2/instance/app/detai) explorer控制台- 应用开发 - 选对应的应用下的 appkey/appsecret
config.appsecret = xxx; //为explorer平台注册的应用信息(https://console.cloud.tencent.com/iotexplorer/v2/instance/app/detai) explorer控制台- 应用开发 - 选对应的应用下的 appkey/appsecret
config.xp2pinfo = xp2pInfo; //请求到设备的p2p_info
config.autoConfigFromDevice = YES; //配置是否跟随设备
[[TIoTCoreXP2PBridge sharedInstance] startAppWith:myProductId dev_name:myDeviceName appconfig:config];
·
·
·
Ready 之后
[[TIoTCoreXP2PBridge sharedInstance] getCommandRequestWithAsync: myProductId/myDeviceName cmd:@"action=inner_define&channel=0&cmd=get_device_st" timeout:5*1000*1000 completion:^(NSString * _Nonnull jsonList) {
}];
[video-v2.4.49-beta.1]预发版
集成方式:
pod 'TIoTLinkVideo', '2.4.49-beta.1'
pod 'TIoTLinkKit_XP2P', '2.4.53'
pod 'TIoTLinkKit_GVoiceSE', '1.0.9'
pod 'TIoTLinkKit_IJKPlayer', '2.0.15'
更新内容:
- 修复oc/c混编内存问题
2.更新接口 pro_id/dev_name 拼接
接口指引:
TIoTP2PAPPConfig *config = [TIoTP2PAPPConfig new];
config.appkey = xxx; //为explorer平台注册的应用信息(https://console.cloud.tencent.com/iotexplorer/v2/instance/app/detai) explorer控制台- 应用开发 - 选对应的应用下的 appkey/appsecret
config.appsecret = xxx; //为explorer平台注册的应用信息(https://console.cloud.tencent.com/iotexplorer/v2/instance/app/detai) explorer控制台- 应用开发 - 选对应的应用下的 appkey/appsecret
config.xp2pinfo = xp2pInfo; //请求到设备的p2p_info
config.autoConfigFromDevice = YES; //配置是否跟随设备
[[TIoTCoreXP2PBridge sharedInstance] startAppWith:myProductId dev_name:myDeviceName appconfig:config];
·
·
·
Ready 之后
[[TIoTCoreXP2PBridge sharedInstance] getCommandRequestWithAsync: myProductId/myDeviceName cmd:@"action=inner_define&channel=0&cmd=get_device_st" timeout:5*1000*1000 completion:^(NSString * _Nonnull jsonList) {
}];
[video-v2.4.48]正式版
集成方式:
pod 'TIoTLinkVideo', '2.4.48'
pod 'TIoTLinkKit_XP2P', '2.4.53'
pod 'TIoTLinkKit_GVoiceSE', '1.0.9'
pod 'TIoTLinkKit_IJKPlayer', '2.0.15'
AVAudioSession *avsession = [AVAudioSession sharedInstance];
[avsession setCategory:AVAudioSessionCategoryPlayAndRecord withOptions:AVAudioSessionCategoryOptionDefaultToSpeaker error:nil];
[avsession setPreferredSampleRate:16000 error:nil];
[avsession setPreferredInputNumberOfChannels:audio_config.channels error:nil];
NSTimeInterval duration = 0.015;
[avsession setPreferredIOBufferDuration:duration error:nil];
[avsession setActive:YES error:nil];
更新内容:
1.更新接口 pro_id/dev_name 拼接
接口指引:
TIoTP2PAPPConfig *config = [TIoTP2PAPPConfig new];
config.appkey = xxx; //为explorer平台注册的应用信息(https://console.cloud.tencent.com/iotexplorer/v2/instance/app/detai) explorer控制台- 应用开发 - 选对应的应用下的 appkey/appsecret
config.appsecret = xxx; //为explorer平台注册的应用信息(https://console.cloud.tencent.com/iotexplorer/v2/instance/app/detai) explorer控制台- 应用开发 - 选对应的应用下的 appkey/appsecret
config.xp2pinfo = xp2pInfo; //请求到设备的p2p_info
config.autoConfigFromDevice = YES; //配置是否跟随设备
[[TIoTCoreXP2PBridge sharedInstance] startAppWith:myProductId dev_name:myDeviceName appconfig:config];
·
·
·
Ready 之后
[[TIoTCoreXP2PBridge sharedInstance] getCommandRequestWithAsync: myProductId/myDeviceName cmd:@"action=inner_define&channel=0&cmd=get_device_st" timeout:5*1000*1000 completion:^(NSString * _Nonnull jsonList) {
}];
[[TIoTCoreXP2PBridge sharedInstance] getUrlForHttpFlv: myProductId/myDeviceName ];
[video-v2.4.48-beta.2]预发版
集成方式:
pod 'TIoTLinkVideo', '2.4.48-beta.2'
pod 'TIoTLinkKit_XP2P', '2.4.53'
pod 'TIoTLinkKit_GVoiceSE', '1.0.9'
pod 'TIoTLinkKit_IJKPlayer', '2.0.15'
更新内容:
1.更新接口 pro_id/dev_name 拼接
接口指引:
TIoTP2PAPPConfig *config = [TIoTP2PAPPConfig new];
config.appkey = xxx; //为explorer平台注册的应用信息(https://console.cloud.tencent.com/iotexplorer/v2/instance/app/detai) explorer控制台- 应用开发 - 选对应的应用下的 appkey/appsecret
config.appsecret = xxx; //为explorer平台注册的应用信息(https://console.cloud.tencent.com/iotexplorer/v2/instance/app/detai) explorer控制台- 应用开发 - 选对应的应用下的 appkey/appsecret
config.xp2pinfo = xp2pInfo; //请求到设备的p2p_info
config.autoConfigFromDevice = YES; //配置是否跟随设备
[[TIoTCoreXP2PBridge sharedInstance] startAppWith:myProductId dev_name:myDeviceName appconfig:config];
·
·
·
Ready 之后
[[TIoTCoreXP2PBridge sharedInstance] getCommandRequestWithAsync: myProductId/myDeviceName cmd:@"action=inner_define&channel=0&cmd=get_device_st" timeout:5*1000*1000 completion:^(NSString * _Nonnull jsonList) {
}];
[[TIoTCoreXP2PBridge sharedInstance] getUrlForHttpFlv: myProductId/myDeviceName ];
[video-v2.4.48-beta.1]预发版
集成方式:
pod 'TIoTLinkVideo', '2.4.48-beta.1'
pod 'TIoTLinkKit_XP2P', '2.4.53'
pod 'TIoTLinkKit_GVoiceSE', '1.0.9'
pod 'TIoTLinkKit_IJKPlayer', '2.0.15'
更新内容:
1.更新接口 pro_id/dev_name 拼接
接口指引:
TIoTP2PAPPConfig *config = [TIoTP2PAPPConfig new];
config.appkey = xxx; //为explorer平台注册的应用信息(https://console.cloud.tencent.com/iotexplorer/v2/instance/app/detai) explorer控制台- 应用开发 - 选对应的应用下的 appkey/appsecret
config.appsecret = xxx; //为explorer平台注册的应用信息(https://console.cloud.tencent.com/iotexplorer/v2/instance/app/detai) explorer控制台- 应用开发 - 选对应的应用下的 appkey/appsecret
config.xp2pinfo = xp2pInfo; //请求到设备的p2p_info
config.autoConfigFromDevice = YES; //配置是否跟随设备
[[TIoTCoreXP2PBridge sharedInstance] startAppWith:myProductId dev_name:myDeviceName appconfig:config];
·
·
·
Ready 之后
[[TIoTCoreXP2PBridge sharedInstance] getCommandRequestWithAsync: myProductId/myDeviceName cmd:@"action=inner_define&channel=0&cmd=get_device_st" timeout:5*1000*1000 completion:^(NSString * _Nonnull jsonList) {
}];
[[TIoTCoreXP2PBridge sharedInstance] getUrlForHttpFlv: myProductId/myDeviceName ];
[video-v2.4.47]正式版
集成方式:
pod 'TIoTLinkVideo', '2.4.47'
pod 'TIoTLinkKit_XP2P', '2.4.53'
pod 'TIoTLinkKit_GVoiceSE', '1.0.9'
pod 'TIoTLinkKit_IJKPlayer', '2.0.15'
更新内容:
1.发布双中转协议
2.新增跟随设备配置
3.优化上报控制
4.setxp2pinfo接口与startapp接口合并
5. 2.4.49以下设备不会触发跟随配置
接口指引:
TIoTP2PAPPConfig *config = [TIoTP2PAPPConfig new];
config.appkey = xxx; //为explorer平台注册的应用信息(https://console.cloud.tencent.com/iotexplorer/v2/instance/app/detai) explorer控制台- 应用开发 - 选对应的应用下的 appkey/appsecret
config.appsecret = xxx; //为explorer平台注册的应用信息(https://console.cloud.tencent.com/iotexplorer/v2/instance/app/detai) explorer控制台- 应用开发 - 选对应的应用下的 appkey/appsecret
config.xp2pinfo = xp2pInfo; //请求到设备的p2p_info
config.autoConfigFromDevice = YES; //配置是否跟随设备
[[TIoTCoreXP2PBridge sharedInstance] startAppWith:myProductId dev_name:myDeviceName appconfig:config];
[video-v2.4.46]正式版
集成方式:
pod 'TIoTLinkVideo', '2.4.46'
pod 'TIoTLinkKit_XP2P', '2.4.53'
pod 'TIoTLinkKit_GVoiceSE', '1.0.9'
pod 'TIoTLinkKit_IJKPlayer', '2.0.15'
更新内容:
1.发布双中转协议
2.新增跟随设备配置
3.优化上报控制
4.setxp2pinfo接口与startapp接口合并
接口指引:
TIoTP2PAPPConfig *config = [TIoTP2PAPPConfig new];
config.appkey = xxx; //为explorer平台注册的应用信息(https://console.cloud.tencent.com/iotexplorer/v2/instance/app/detai) explorer控制台- 应用开发 - 选对应的应用下的 appkey/appsecret
config.appsecret = xxx; //为explorer平台注册的应用信息(https://console.cloud.tencent.com/iotexplorer/v2/instance/app/detai) explorer控制台- 应用开发 - 选对应的应用下的 appkey/appsecret
config.userid = [[TIoTCoreXP2PBridge sharedInstance] getAppUUID];
config.xp2pinfo = xp2pInfo; //请求到设备的p2p_info
config.autoConfigFromDevice = NO; //配置是否跟随设备,YES时以下两个参数不生效
config.type = XP2P_PROTOCOL_AUTO; //udp&tcp协议选择,跟随配置时不生效
config.crossStunTurn = NO; //是否走双中转,跟随配置时不生效
[[TIoTCoreXP2PBridge sharedInstance] startAppWith:myProductId dev_name:myDeviceName appconfig:config];