VirtualBox

Ignore:
Timestamp:
Jul 20, 2022 9:30:30 AM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
152447
Message:

Main/Recording: Added ISystemProperties::getRecordingFeatures to allow clients querying for enabled recording features at runtime. Also added IRecordingScreenSettings::videoDeadline + audioDeadline attributes to allow specifying the video/audio codec's (encoding) deadlines. bugref:10244

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/SystemPropertiesImpl.cpp

    r95395 r95741  
    15761576}
    15771577
     1578HRESULT SystemProperties::getSupportedRecordingFeatures(std::vector<RecordingFeature_T> &aSupportedRecordingFeatures)
     1579{
     1580#ifdef VBOX_WITH_RECORDING
     1581    static const RecordingFeature_T aRecordingFeatures[] =
     1582    {
     1583# ifdef VBOX_WITH_AUDIO_RECORDING
     1584        RecordingFeature_Audio,
     1585# endif
     1586        RecordingFeature_Video,
     1587    };
     1588    aSupportedRecordingFeatures.assign(aRecordingFeatures,
     1589                                       aRecordingFeatures + RT_ELEMENTS(aRecordingFeatures));
     1590#else  /* !VBOX_WITH_RECORDING */
     1591    aSupportedRecordingFeatures.clear();
     1592#endif /* VBOX_WITH_RECORDING */
     1593    return S_OK;
     1594}
     1595
    15781596HRESULT SystemProperties::getSupportedRecordingAudioCodecs(std::vector<RecordingAudioCodec_T> &aSupportedRecordingAudioCodecs)
    15791597{
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette