146 Commits (3a748c4d668d1da81e0d0ec76b9a88813ffbe304)

Author SHA1 Message Date
Leo Ma 3a748c4d66
Merge pull request #839 from thegobot/patch-6
onError
4 years ago
thegobot db7eba428c
change resolution on fly
It is also necessary to send the SPS\PPS along with the keyframe, in addition to the AVCSequenceHeader

Now all players do not freeze and change resolution anywhere in the stream!
Tested: PotPlayer, MPC (hard accel\soft), Chrome, Forefox, FFplay (also with h264_qsv decoder)

See
https://github.com/begeekmyfriend/yasea/issues/832
4 years ago
thegobot 3e39a34c88
onError 4 years ago
thegobot b6b205d231
May be a buffer overflow in enableEncoding()
mPreviewWidth changed but onSurfaceCreated() fired after start of the encoder thread (mIsEncoding = true)
4 years ago
thegobot e909604fe1
Update SrsPublisher.java 4 years ago
begeekmyfriend fba1588ad6 Update
Signed-off-by: begeekmyfriend <begeekmyfriend@gmail.com>
4 years ago
begeekmyfriend ae2c11406a Fix URL server ID number parsing
Signed-off-by: begeekmyfriend <begeekmyfriend@gmail.com>
4 years ago
begeekmyfriend f5f7e3224e Expand GOP size for lower bitrate
Signed-off-by: begeekmyfriend <begeekmyfriend@gmail.com>
5 years ago
begeekmyfriend 27ce865923 Update
Signed-off-by: begeekmyfriend <begeekmyfriend@gmail.com>
5 years ago
马力 777c944083 Reduce GOP cache size to reduce delay
Signed-off-by: 马力 <mali0921@HPCL202007007deMacBook-Pro.local>
5 years ago
obarong c803f50827 Update libyuv to commit 2020-02-19 45f1f2b. Add libenc.so libyuv.so. 5 years ago
obarong a648920edf Add runtime request permission for sdk26.
Add keystore.jks.
5 years ago
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