MRendererClass Class Members

The following tables list the members exposed by MRendererClass.

Public Methods
 NameDescription
Public MethodAudioChannelsPerTrackGetGets output number of channels per audio track.  
Public MethodAudioChannelsPerTrackSetSets number of output channels per track.  
Public MethodAudioSplitStringGetGets string mask that separates audio channels into audio tracks.  
Public MethodAudioSplitStringSetSets string mask that separates audio channels into audio tracks. If there is no original tracks information, it is incorrect or you need to separate channels into tracks manually, use this method.  
Public MethodAudioTrackAddAdds a virtual audio track with needed subset of channels. Virtual track clones one of already existsing tracks.  
Public MethodAudioTrackGetByIndexGets the input track by its index.  
Public MethodAudioTrackRemoveRemoves the virtual audio track.  
Public MethodAudioTracksGetCountGets the count of tracks.  
Public MethodAudioTracksSetCountSets number of audio tracks. Use this method to set number of output tracks in playlist before adding files to it.  
Public MethodDeviceGetGets the current device and its properties.  
Public MethodDeviceGetByIndexGets the device name or device properties by its index.  
Public MethodDeviceGetCountGet the devices or properties count.  
Public MethodDeviceSetSets the working device or updates device properties.  
Public MethodDeviceShowPropsShows the device properties.  
Public MethodFormatAudioGetGets the current audio format.  
Public MethodFormatAudioGetByIndexGets the audio format by its index.  
Public MethodFormatAudioGetCountGets the number of audio formats.  
Public MethodFormatAudioSetSets the output audio format for object.  
Public MethodFormatVideoGetGets the current video format.  
Public MethodFormatVideoGetByIndexGets the video format by its index.  
Public MethodFormatVideoGetCountGets the count of video formats.  
Public MethodFormatVideoSetSets the output video format for object.  
Public MethodObjectCallbackSetSets the callback (for C++ and Delphi, for other languages use events). This method blocks the video stream.  
Public MethodObjectCallbackSetFuncSets the callback function (for C++ and Delphi, for other languages use events). The method blocks the video stream.  
Public MethodObjectCloseStops and closes the current object.  
Public MethodObjectCommandExecuteExecutes the special command for object.  
Public MethodObjectFrameGetGets the current frame from any source object.  
Public MethodObjectGetInternalGets DirectShow object in MPlatform. Use for MLive, MRenderer and MWriter objects.  
Public MethodObjectNameGetGets the object name.  
Public MethodObjectNameSetSets the object name.  
Public MethodObjectStartInitializes and starts the object.  
Public MethodObjectStateGetGets the state of object.  
Public MethodObjectVirtualSourceCreateCreates virtual source.  
Public MethodPersistLoadLoads the data from string or from file.  
Public MethodPersistSaveToFileSaves the configuration data to the file.  
Public MethodPersistSaveToStringSaves the configuration data to string.  
Public MethodPluginsAddAdds the plugin (for example, CG).  
Public MethodPluginsAddVB6PluginsAdd method for VB6  
Public MethodPluginsGetByIndexGets the plugin by its index.  
Public MethodPluginsGetByIndexVB6PluginsGetByIndex method for VB6  
Public MethodPluginsGetCountGets the number of plugins.  
Public MethodPluginsRemoveRemoves the plugin.  
Public MethodPluginsReorderReorders plugins (for example, to add CG overlay before color conversion)  
Public MethodPropsGetGets the properties.  
Public MethodPropsGetByIndexGets the property by its index.  
Public MethodPropsGetCountGets the count of properties.  
Public MethodPropsInfoGetGets information about property  
Public MethodPropsOptionGetGets property from options  
Public MethodPropsOptionGetByIndexGets property option by its index  
Public MethodPropsOptionGetCountGets number of options for the property  
Public MethodPropsOptionSetByIndexSets option property by its index  
Public MethodPropsRemoveRemoves the property.  
Public MethodPropsSetSets the property.  
Public MethodReceiverChannelAddAdds the media sender to renderer.  
Public MethodReceiverChannelAddByNameAdds the media sender by its name.  
Public MethodReceiverChannelGetByIndexGets the information about sender by its index.  
Public MethodReceiverChannelGetCountGets the number of connected senders.  
Public MethodReceiverChannelRemoveRemoves the media sender.  
Public MethodReceiverPutEOSPuts the end of stream command to renderer. It is used when stream is no longer needed for data transmission.  
Public MethodReceiverPutFlushPuts the Flush command to renderer to reset all data in object. It used before object removing.  
Public MethodReceiverPutFramePuts frame to the renderer  
Public MethodSendersGetGets the sender object by its name.Gets a sender object by its name  
Public MethodSendersGetByIndex Gets a sender by its index  
Public MethodSendersGetCountGets the count of senders.Gets amount of available external objects  
Top
Public Events
 NameDescription
Public EventOnEventThis method is called when some event occurs. The video stream is blocked while this method is called.  
Public EventOnEventSafeSafe analog for OnEvent method. In this case memory usage is optimized.
Note: Release all the objects before exit OnEvent event body.Raises on each received event  
Public EventOnFrameThis method is used to obtain frame data. It called for each input/output frame. The video stream is blocked while this method is called.  
Public EventOnFrameSafeSafe analog for OnFrame method. In this case memory usage is optimized.
Note: Release all the objects before exit OnFrame event body.Raises on each frame processed  
Top
See Also

Reference

MRendererClass Class
MPLATFORMLib Namespace