WinFormsRenderer.WinFormsVideoRenderer
Copy
public class WinFormsVideoRenderer : UserControl, OpenTok.IVideoRenderer
Methods
| Name | Description |
|---|---|
WinFormsVideoRenderer() |
|
RenderFrame(frame) |
Do not call any OpenTok API methods (except those in the VideoFrame class) on the same thread that invokes this callback. |
WinFormsVideoRenderer()
RenderFrame(frame)
Do not call any OpenTok API methods (except those in the VideoFrame class) on the same thread that invokes this callback. If you need to call an OpenTok API method (for example, Publisher or Subscriber methods), reschedule its execution to a different thread. At the end of the implementation of this method, be sure to call the VideoFrame.Dispose() method of the frame object to prevent memory leaks.
Parameters:
| Name | Type | Description |
|---|---|---|
frame |
VideoFrame | The video frame. |