avmodel: use synchronous callbacks for DecodingStarted/Stopped
This is an older issue that has resurfaced where mobile device rotation at the beginning of a call cause a frame-copy to a stale buffer because the DecodingStarted event is handled asynchronously. Noticed on Windows but I believe any non-dbus build should have it. So we make all the connections blocking and adjust some parameters. This commit also removes the DecodingStarted handler in CallModel which was causing the client's target video frame to be reallocated for each account present. Change-Id: I23ac4e0bd4b446e7a532f0d362f7ecd209d3c790 GitLab: #536
Showing
- src/app/avadapter.cpp 2 additions, 1 deletionsrc/app/avadapter.cpp
- src/app/avadapter.h 1 addition, 1 deletionsrc/app/avadapter.h
- src/app/videoprovider.cpp 20 additions, 12 deletionssrc/app/videoprovider.cpp
- src/app/videoprovider.h 1 addition, 1 deletionsrc/app/videoprovider.h
- src/libclient/api/avmodel.h 2 additions, 1 deletionsrc/libclient/api/avmodel.h
- src/libclient/avmodel.cpp 37 additions, 39 deletionssrc/libclient/avmodel.cpp
- src/libclient/callbackshandler.cpp 2 additions, 2 deletionssrc/libclient/callbackshandler.cpp
- src/libclient/callmodel.cpp 11 additions, 26 deletionssrc/libclient/callmodel.cpp
- src/libclient/directrenderer.cpp 1 addition, 1 deletionsrc/libclient/directrenderer.cpp
- src/libclient/renderer.h 1 addition, 1 deletionsrc/libclient/renderer.h
- src/libclient/shmrenderer.cpp 1 addition, 1 deletionsrc/libclient/shmrenderer.cpp
Loading
Please register or sign in to comment