Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add behavior that video streaming will start back up if the app went …
…form an HMI state that was not streamable to one that is.
  • Loading branch information
JulianKast committed Apr 11, 2022
commit 4081f836662250bd971beab4df567e76412c2d14
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,10 @@ public void onNotified(RPCNotification notification) {
if (hasStarted && (isHMIStateVideoStreamCapable(prevOnHMIStatus)) && (!isHMIStateVideoStreamCapable(currentOnHMIStatus))) {
stopVideoStream();
}
if (withPendingRestart && hasStarted && (!isHMIStateVideoStreamCapable(prevOnHMIStatus)) && (isHMIStateVideoStreamCapable(currentOnHMIStatus))) {
VideoStreamManager manager = VideoStreamManager.this;
manager.internalInterface.startVideoService(manager.getLastCachedStreamingParameters(), manager.isEncrypted, withPendingRestart);
}
}
}
};
Expand Down