Open NicoleYarroch opened 4 years ago
@joeygrover -san @theresalech -san This issue is a top priority for Toyota. Can the reproduction steps described actually reproduce this issue?
@E-SAITO-TMC The underlying issue causing the pixelBuffer
to become nil
was fixed, however proper error handling has not yet been added.
@joeljfischer -san Thank you, I understand. When will error handling be added?
@E-SAITO-TMC It will not be added in the release next week, and we have not begun planning for future releases. We will consider it for the July release.
@joeljfischer -san I understand. Thank you for your cooperation.
Bug Report
Sometimes the
pixelBuffer
inSDLCarWindow
is invalidated when the app is put in the background due to a VideoToolbox bug. This means that theCarWindow
API can not encode the video frames and thus no video frames are sent to the head unit.videoEncoder
is destroyed and recreated in theSDLStreamingVideoLifecycleManager
. I believe this is what fixes the issue. We should try to reset thevideoEncoder
when the thepixelBuffer
isnil
.Reproduction Steps
Expected Behavior
The video streams to the head unit.
Observed Behavior
The
CarWindow
class does not stream video some of the time due to video encoding failing. This could happen the first time or tenth time the app is backgrounded.OS & Version Information