Table of Contents

Delegate PublishingPointParameters.StreamMapperDelegate

Namespace
VAST.Network
Assembly
VAST.Network.dll

Delegate to create user defined stream mapping.

public delegate void PublishingPointParameters.StreamMapperDelegate(PublishingPoint publishingPoint, List<MediaType> sourceMediaTypes, Dictionary<int, int> streamMap)

Parameters

publishingPoint PublishingPoint

Publishing point

sourceMediaTypes List<MediaType>

Source media types

streamMap Dictionary<int, int>

User modifiable stream mapping of sources streams to output streams. It's pre-initialized by the server according to the StreamMap property if it's specified. If the StreamMap is null then streamMap parameter contains the default 1:1 stream mapping. See StreamMap property regarding the map format.

Constructors

StreamMapperDelegate(object, nint)

public StreamMapperDelegate(object @object, nint method)

Parameters

object object
method nint

Methods

BeginInvoke(PublishingPoint, List<MediaType>, Dictionary<int, int>, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(PublishingPoint publishingPoint, List<MediaType> sourceMediaTypes, Dictionary<int, int> streamMap, AsyncCallback callback, object @object)

Parameters

publishingPoint PublishingPoint
sourceMediaTypes List<MediaType>
streamMap Dictionary<int, int>
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Invoke(PublishingPoint, List<MediaType>, Dictionary<int, int>)

public virtual void Invoke(PublishingPoint publishingPoint, List<MediaType> sourceMediaTypes, Dictionary<int, int> streamMap)

Parameters

publishingPoint PublishingPoint
sourceMediaTypes List<MediaType>
streamMap Dictionary<int, int>