Use native render descriptor decoder by default
This commit is contained in:
parent
924aa2f6b4
commit
c06d4cbf28
2 changed files with 71 additions and 0 deletions
|
|
@ -116,6 +116,16 @@ public sealed class LocalCastNativeVisualFrameSource : ILocalCastVisualFrameSour
|
|||
private readonly ILocalCastNativeRuntime runtime;
|
||||
private readonly LocalCastNativeRenderPayloadDecoder decodeRenderPayload;
|
||||
|
||||
public LocalCastNativeVisualFrameSource(
|
||||
ILocalCastNativeRuntime runtime,
|
||||
string description = "native LocalcastRuntime")
|
||||
: this(
|
||||
runtime,
|
||||
new LocalCastNativeRenderDescriptorDecoder(LocalCastNativeRenderDescriptorDecoder.DecodeNativePointBuffer).TryDecode,
|
||||
description)
|
||||
{
|
||||
}
|
||||
|
||||
public LocalCastNativeVisualFrameSource(
|
||||
ILocalCastNativeRuntime runtime,
|
||||
LocalCastNativeRenderPayloadDecoder decodeRenderPayload,
|
||||
|
|
|
|||
Loading…
Reference in a new issue