Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update from yasea #3

Open
wants to merge 65 commits into
base: master
Choose a base branch
from
Open

update from yasea #3

wants to merge 65 commits into from

Conversation

zzugyl
Copy link
Owner

@zzugyl zzugyl commented Jul 6, 2022

No description provided.

begeekmyfriend and others added 30 commits December 6, 2018 09:53
Implement Pause and Resume functionality
BufferOverflowException  fix
setPreviewResolution surface holder size
Update SrsCameraView.java
Update SrsCameraView.java
preview orientation in different directions
Added 'isAllFramesUploaded' and 'getVideoFrameCacheCount' methods.
obarong and others added 30 commits March 5, 2020 15:10
Add gradle
support minSdkVersion=18 targetSdkVersion=26
Signed-off-by: begeekmyfriend <[email protected]>
Signed-off-by: begeekmyfriend <[email protected]>
Signed-off-by: begeekmyfriend <[email protected]>
Signed-off-by: begeekmyfriend <[email protected]>
mPreviewWidth changed but onSurfaceCreated() fired after start of the encoder thread (mIsEncoding = true)
May be a buffer overflow in enableEncoding()
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
#832
SrsFlvFrameBytes constructor
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)
Why wasn't it used?
adjusting timestamps when hot switching the camera
Signed-off-by: begeekmyfriend <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
8 participants