会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
lianhuaren
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
8
9
10
11
12
13
14
15
16
···
50
下一页
2020年5月31日
第44月第31天 Win32 SDK或MFC下使用printf调试打印功能 from 'const char *' to 'LPCWSTR'
摘要: 1. Win32 SDK或MFC下使用printf调试打印功能 1、在项目自动生成的stdafx.h文件中添加下面头文件 #include <io.h> //在MFC下可不使用此头文件 #include <fcntl.h>#include <stdio.h> 2、把下面的函数加到你初始化的地方,然后
阅读全文
posted @ 2020-05-31 09:31 lianhuaren
阅读(163)
评论(0)
推荐(0)
2020年5月27日
第44月第27天 iOS遍历文件夹 获取文件后缀
摘要: 1. // 工程目录 NSString *BASE_PATH = @"Path"; NSFileManager *myFileManager = [NSFileManager defaultManager]; NSDirectoryEnumerator *myDirectoryEnumerator
阅读全文
posted @ 2020-05-27 10:36 lianhuaren
阅读(274)
评论(0)
推荐(0)
2020年5月21日
第44月第21天 MethodSwizzling
摘要: 1.MethodSwizzling https://www.jianshu.com/u/cc1e4faec5f7 https://www.jianshu.com/p/0a26f1cd0b34
阅读全文
posted @ 2020-05-21 10:48 lianhuaren
阅读(108)
评论(0)
推荐(0)
2020年5月20日
第44月第20天 The dispatch_queue_set_specific() and dispatch_get_specific() functions take a "void *key" parameter.
摘要: 1. 76 //socket队列的标识key 77 void *IsOnSocketQueueOrTargetQueueKey; 88 void *nonNullUnusedPointer = (__bridge void *)self; 89 90 //dispatch_queue_set_spe
阅读全文
posted @ 2020-05-20 14:00 lianhuaren
阅读(233)
评论(0)
推荐(0)
2020年5月19日
第44月第19天 SDK license
摘要: 1. 短视频SDK的使用前提是需要开通License的,否则用户集成SDK将会不可用.目前需要用户提供一些基础信息发送到我们的服务邮箱来保证SDK可用.整体用户需要保证提供的信息的准确性.SDK需要保证服务的稳定性和可用性. 需要提供的参数 iOS: 应用bundleIDAndroid:包名和签名信
阅读全文
posted @ 2020-05-19 10:25 lianhuaren
阅读(259)
评论(0)
推荐(0)
2020年5月18日
第44月第18天 Xcode 11.4.1 Building for iOS Simulator, but the linked library '******.a' was built for iOS.
摘要: 1. Xcode 11.4.1 Building for iOS Simulator, but the linked library '******.a' was built for iOS. 解决办法 Xcode -> File -> Workspace Settings -> Build Sys
阅读全文
posted @ 2020-05-18 10:48 lianhuaren
阅读(1512)
评论(0)
推荐(0)
2020年5月15日
第44月第15天 iOS AVPlayerItem 视频无法播放 Code=-11850 Code=-12939 Operation Stopped The server is not correctly configured
摘要: 1. 总结一下,视频在最开始播放的时候,会请求一个 Range【0-1】 的 bytes range request。 如果返回 hTTP Code = 200,那么就报 11850 错误. 如果返回 206,那么正常播放。 11850 错误含义:The HTTP server sending th
阅读全文
posted @ 2020-05-15 17:42 lianhuaren
阅读(471)
评论(0)
推荐(0)
2020年5月14日
第44月第14天 webrtc vad检测
摘要: 1. void TestVAD(char* pAudioFile,char* pResFile,int nSample,int nMode) { VadInst* pVad = NULL; if (WebRtcVad_Create(&pVad)) { perror("WebRtcVad_Create
阅读全文
posted @ 2020-05-14 11:23 lianhuaren
阅读(365)
评论(0)
推荐(0)
2020年5月11日
第44月第11天 python base64实现
摘要: 1. import re from functools import reduce from base64 import b64encode # 构建base 64 字符映射表 b64_alphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrs
阅读全文
posted @ 2020-05-11 10:34 lianhuaren
阅读(203)
评论(0)
推荐(0)
2020年5月9日
第44月第9天 iOS开发-illegal text-relocation错误解决
摘要: 1. 解决方案 在链接生成动态库时,指定下面的链接选项: LDFLAG+=-read_only_relocs suppresshttps://blog.csdn.net/shengpeng3344/article/details/529982242.这里有关于illegal text-relocat
阅读全文
posted @ 2020-05-09 11:17 lianhuaren
阅读(324)
评论(0)
推荐(0)
上一页
1
···
8
9
10
11
12
13
14
15
16
···
50
下一页
公告