* Add quit cli command and app quit option after stream session. Fixes #92 * Code review fixes.
This commit is contained in:
parent
ad47990a87
commit
0ab07303c9
22 changed files with 678 additions and 67 deletions
|
|
@ -275,6 +275,16 @@ int Session::getDecoderCapabilities(StreamingPreferences::VideoDecoderSelection
|
|||
return caps;
|
||||
}
|
||||
|
||||
NvComputer *Session::getComputer() const
|
||||
{
|
||||
return m_Computer;
|
||||
}
|
||||
|
||||
bool Session::shouldQuitAppAfter() const
|
||||
{
|
||||
return m_Preferences->quitAppAfter;
|
||||
}
|
||||
|
||||
Session::Session(NvComputer* computer, NvApp& app, StreamingPreferences *preferences)
|
||||
: m_Preferences(preferences ? preferences : new StreamingPreferences(this)),
|
||||
m_Computer(computer),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue