This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function OpenNew(acVal, idVal, WindowWidth, WindowHeight) { | |
var windowW = WindowWidth; | |
var windowH = WindowHeight; | |
var windowX = Math.ceil((window.screen.width - windowW) / 2); | |
var windowY = Math.ceil((window.screen.height - windowH) / 2); | |
var s = new String(acVal); | |
if (s.lastIndexOf('=') != (s.length - 1)) { | |
s += '='; | |
} | |
s += new String(idVal); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iOS编译 ffmpeg | |
./configure \ | |
--prefix="/Users/Antony/Strap/NEO/rtmpc/tmp/ffmpeg_armv7" \ | |
--enable-libx264 --enable-gpl --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib \ | |
--disable-ffmpeg \ | |
--disable-ffplay \ | |
--disable-ffprobe \ | |
--disable-ffserver \ | |
--disable-armv6 \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
视频采集方案: | |
通过iOS提供的视频API 可以取得 视频文件(mov) 或者 视频流 | |
压缩编码方案: | |
方案一:不编码 传送视频文件(mov) | |
方案二:把视频转为jpeg 进行传输 | |
方案三:压缩为网络编码 H.264 传输 | |
传输方案: | |
socket传输 | |
HTTP传输 文件 | |
RTMP 传输 |
NewerOlder