Matthew
8cf7934629
修正bug
8 months ago
Matthew
b10d9cda67
和微拍对接改造
8 months ago
Leo Ma
bad9753a48
Merge pull request #844 from thegobot/patch-10
...
pause implementation
4 years ago
thegobot
bfbdd0c0ef
pause implementation
...
Why wasn't it used?
4 years ago
thegobot
76bc16fba1
adjusting timestamps when hot switching the camera
...
When switching cameras, the encoders must be paused. Otherwise, there will be problems with the DTS on the client, SRS server with enabled time_jitter incorrectly corrects video DTS (with enabled ATC there is no problem)
4 years ago
Leo Ma
7f0fe5a82d
Merge pull request #841 from thegobot/patch-8
...
SrsFlvFrameBytes constructor
4 years ago
Leo Ma
e4fb3956e4
Merge pull request #838 from thegobot/patch-5
...
ignore IDE warning
4 years ago
Leo Ma
3a748c4d66
Merge pull request #839 from thegobot/patch-6
...
onError
4 years ago
thegobot
b1cb9348cb
SrsFlvFrameBytes constructor
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
3e549e1ca3
ignore IDE warning
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
f5f7e3224e
Expand GOP size for lower bitrate
...
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
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
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
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