setView

Sets the view.

virtual int setView(media::base::view_t view) = 0;

Timing

You can call this method either before or after joining a channel.

Parameters

view
The rendering view. On Windows, this parameter is used to set the window handle (HWND).

Return Values

  • 0: The method call succeeds.
  • < 0: The method call fails.