LiveDeviceSource.PickBestVideoFormat Method
Attempts to select the best size for the video device that matches the given settings.
Namespace: Microsoft.Expression.Encoder.Live
Assembly: Microsoft.Expression.Encoder (in microsoft.expression.encoder.dll)
Syntax
'Declaration
Public Sub PickBestVideoFormat ( _
targetSize As Size, _
frameDuration As Long _
)
'Usage
Dim instance As LiveDeviceSource
Dim targetSize As Size
Dim frameDuration As Long
instance.PickBestVideoFormat(targetSize, frameDuration)
public void PickBestVideoFormat (
Size targetSize,
long frameDuration
)
public:
void PickBestVideoFormat (
Size targetSize,
long long frameDuration
)
Parameters
targetSize
The target size to try to match.
frameDuration
The target frame duration to try to match, in 100 nano-second units.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
LiveDeviceSource Class
LiveDeviceSource Members
Microsoft.Expression.Encoder.Live Namespace