119 Commits (7b32ebee622c0e75694a0c8974b8b7a1c36e6cea)

Author SHA1 Message Date
thegobot 826a8226e1
Update SrsEncoder.java 6 years ago
thegobot 3ce4b85f2a
Update SrsCameraView.java 6 years ago
thegobot 4490f57e6f
setPreviewResolution surface holder size 6 years ago
thegobot a5415b2875
BufferOverflowException fix 6 years ago
Anders Jakobsen b17c5df0cb Corrected spelling mistakes 6 years ago
Anders Jakobsen 4e234a1ae4 Set recording hint to true 6 years ago
Zohaad 417c99c7f5 Implement Pause and Resume functionality 6 years ago
liyan01 d4b295d571 Error:A problem occurred receiving StreamBegin from server 7 years ago
begeekmyfriend fea87c86f8 Fix white line on left side of the screen
The buffer address is forced to be aligned by allocateDirect method in
ByteBuffer so the valid data may not be stored from the first byte of the
buffer witch is still returned by the array method in ByteBuffer. So we need
to substitute allocate method for allocate direct method when fetching the
image from the camera.

Signed-off-by: begeekmyfriend <begeekmyfriend@gmail.com>
7 years ago
jiangwang 51b17f2e9e 修复概率性花屏/绿屏(前帧的BufferInfo被后帧所覆盖,导致帧的宽高参数出错,从而花屏/绿屏) 7 years ago
jiangwang e4befce97e 修复软编码时概率性崩溃(前帧的BufferInfo参数被后帧所覆盖,byteBuffer无法执行limit(int newlimit)方法) 7 years ago
Ccapton af78d56cc8
设置Camera.PreviewCallback 回调函数,修改旋转角度
1.获取Camera.PreviewCallback 回调函数内的byte数组原始图像数据
2.手机旋转时,预览结果也相应正确地旋转
7 years ago
Leonew 3d2428a1f9 fix C2 may not send during rtmp handshake 8 years ago
Leo Ma 7c36e6b31b Update
Signed-off-by: Leo Ma <begeekmyfriend@gmail.com>
8 years ago
Leo Ma ecb473300d Change API level into 21
Signed-off-by: Leo Ma <begeekmyfriend@gmail.com>
8 years ago
Leo Ma 39b31a24dd Android Studio 3.0.0
Signed-off-by: Leo Ma <begeekmyfriend@gmail.com>
8 years ago
Leo Ma 1e2daa5359 Add arm64-v8a
Signed-off-by: Leo Ma <begeekmyfriend@gmail.com>
8 years ago
Leo Ma 805ba647fc Add arm64-v8a
Signed-off-by: Leo Ma <begeekmyfriend@gmail.com>
8 years ago
Jeffer 58324fdd19 Bugfix:Fix push stream failed over timestamp 0xffffff. 8 years ago
Leo Ma d8de3cd6cd Upgrade libx264
Signed-off-by: Leo Ma <begeekmyfriend@gmail.com>
8 years ago
begeekmyfriend 0984dd5907 Use volatile flag for communication
Signed-off-by: begeekmyfriend <begeekmyfriend@gmail.com>
8 years ago
begeekmyfriend 9a3984d463 Move disconnection into handler thread
Signed-off-by: begeekmyfriend <begeekmyfriend@gmail.com>
8 years ago
begeekmyfriend fd27c36c4f Use volatile variable for communication
Signed-off-by: begeekmyfriend <begeekmyfriend@gmail.com>
8 years ago
Jeffer 80bbecf363 Bugfix. Add sps pps reset to flv reset() 8 years ago
Leo Ma cdb653070a Merge branch 'master' into master 8 years ago
Jeffer 4ebc531b43 Bugfix. 8 years ago
Jeffer 330942cb82 Bugfix. 8 years ago
Leo Ma b7a613fbb7 Improve code quality
Signed-off-by: Leo Ma <begeekmyfriend@gmail.com>
8 years ago
Jeffer dc0be00732 only search startcode 4 byte(00 00 00 01 standard h264 encoder) in searchAnnexb 8 years ago
Leo Ma 77c692ae39 Merge branch 'master' into master 8 years ago
Jeffer c617aff822 only search startcode 4 byte(00 00 00 01 standard h264 encoder) in searchAnnexb 8 years ago
Leo Ma 84b10e1870 Annexb search optimization
Assume there always be single slice for each video frame when sps and
pps are found. That would promote efficiency on some low-end devices.

Signed-off-by: Leo Ma <begeekmyfriend@gmail.com>
8 years ago
Leo Ma da8ca49ebb Ignore annexb exception processing
Some devices produce unstandard H.264 slice without startcode. So we
ignore the annexb exception processing since it does not matter for
streaming.

Signed-off-by: Leo Ma <begeekmyfriend@gmail.com>
8 years ago
Leo Ma 88dd496f1a Disable multi-slice for iOS HW decoding
Signed-off-by: Leo Ma <begeekmyfriend@gmail.com>
8 years ago
begeekmyfriend f6dfbe3f62 Fix audio sampling in FLV muxer Signed-off-by: begeekmyfriend <begeekmyfriend@gmail.com> # Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and an empty message aborts the commit. # On branch master # Your branch is up-to-date with 'origin/master'. # # Changes to be committed: # modified: library/src/main/java/net/ossrs/yasea/SrsFlvMuxer.java # 8 years ago
vkuzub f759800d87 Added startTorch and stopTorch methods (#462) 8 years ago
Leo Ma 9f4e114308 Parameter adjustment
Signed-off-by: Leo Ma <begeekmyfriend@gmail.com>
8 years ago
Leo Ma 1e5c7c1675 Fix NDK r15 undeclared identifier
Signed-off-by: Leo Ma <begeekmyfriend@gmail.com>
8 years ago
Leo Ma 027335249b Add new files for mp4 parser
Signed-off-by: Leo Ma <begeekmyfriend@gmail.com>
8 years ago
Leo Ma 4b67a0640f Rename
Signed-off-by: Leo Ma <begeekmyfriend@gmail.com>
8 years ago
Leo Ma 283d52ef73 Modify x264 configure to activate pthread on NDK
Signed-off-by: Leo Ma <begeekmyfriend@gmail.com>
8 years ago
Leo Ma 4e69fd9204 Update libx264.a
Signed-off-by: Leo Ma <begeekmyfriend@gmail.com>
8 years ago
Leo Ma dbd8c8545f Update libx264 cross building scripts
Signed-off-by: Leo Ma <begeekmyfriend@gmail.com>
8 years ago
Leo Ma b8fb3ec1c8 Add x264_config.h
Signed-off-by: Leo Ma <begeekmyfriend@gmail.com>
8 years ago
Leo Ma af436378bc Add libx264.a
Signed-off-by: Leo Ma <begeekmyfriend@gmail.com>
8 years ago
Leo Ma 957a64f452 upgrade libx264
Signed-off-by: Leo Ma <begeekmyfriend@gmail.com>
8 years ago
Leo Ma ab9e285eb7 Remove gradle configuration
Signed-off-by: Leo Ma <begeekmyfriend@gmail.com>
8 years ago
Leo de Penning 27261b2310 lisa-4 RTMP publishing (#424)
* lisa-4 RTMP publishing

- Merged changes from JvT (Greg Long) to Illuminoo fork of yasea
- Optimized memory allocation for crop/scaled conversion to I420 in lib_enc.cc
- Integrated optimized yasea library in LISA

* lisa-4 RTMP publishing
8 years ago
Leo Ma 70d7964cc8 Add arm64-v8a build script for libx264
Signed-off-by: Leo Ma <begeekmyfriend@gmail.com>
8 years ago
Leo Ma 8e4fcdb90f Quit PCM loop on interrupt
Signed-off-by: Leo Ma <begeekmyfriend@gmail.com>
8 years ago