134 Commits (9fbb0d4d0d87c9d57dcfef05050e37b45e24c10f)

Author SHA1 Message Date
obarong 9fbb0d4d0d Update libx264.a and support minSdkVersion 18 5 years ago
obarong 143301e235 添加libx264 mips编译脚本 5 years ago
obarong 37d13984a5 Update .gitignore
Add gradle
5 years ago
deathemperor 549f4bd30c fix android build 6 years ago
Leo Ma f5fcc76a52
AudioSource configuration for AEC 6 years ago
Leo Ma 0462d6dbcf
Fix bug 6 years ago
Leo Ma a18f87cd88
Merge pull request #708 from Zohaad97/develop
Added 'isAllFramesUploaded' and 'getVideoFrameCacheCount' methods.
6 years ago
Zohaad Afzal 8a1f71cda9 Added 'isAllFramesUploaded' and 'getVideoFrameCacheCount' methods. 6 years ago
thegobot b12737ecd1
Update SrsCameraView.java 6 years ago
thegobot dac06009b5
Update SrsCameraView.java 6 years ago
thegobot 8ceba91cf4
setPreviewOrientation in different directions 6 years ago
thegobot 6d3e549f2c
Update SrsCameraView.java 6 years ago
thegobot 707985f7d1
Update SrsCameraView.java 6 years ago
thegobot 6e00e91d67
Update SrsPublisher.java 6 years ago
thegobot 0ed6343411
Update SrsCameraView.java 6 years ago
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