Class VideoDefinition
This object represents a video definition, eg.
it's width, it's height and possibly it's name. It is mostly used to configure the default video size sent by your camera during a video call with PreferredVideoDefinition method.
Inherited Members
Namespace: Linphone
Assembly: cs.temp.dll.dll
Syntax
public class VideoDefinition : LinphoneObject
Properties
Height
Get the height of the video definition.
Declaration
public uint Height { get; set; }
Property Value
Type | Description |
---|---|
System.UInt32 | The height of the video definition |
IsUndefined
Tells whether a VideoDefinition is undefined.
Declaration
public bool IsUndefined { get; }
Property Value
Type | Description |
---|---|
System.Boolean | A boolean value telling whether the VideoDefinition is undefined. |
Name
Get the name of the video definition.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the video definition |
Width
Get the width of the video definition.
Declaration
public uint Width { get; set; }
Property Value
Type | Description |
---|---|
System.UInt32 | The width of the video definition |
Methods
Clone()
Clone a video definition.
Declaration
public VideoDefinition Clone()
Returns
Type | Description |
---|---|
VideoDefinition | The new clone of the video definition |
Equals(VideoDefinition)
Tells whether two VideoDefinition objects are equal (the widths and the heights are the same but can be switched).
Declaration
public bool Equals(VideoDefinition videoDefinition2)
Parameters
Type | Name | Description |
---|---|---|
VideoDefinition | videoDefinition2 | VideoDefinition object |
Returns
Type | Description |
---|---|
System.Boolean | A boolean value telling whether the two VideoDefinition objects are equal. |
SetDefinition(UInt32, UInt32)
Set the width and the height of the video definition.
Declaration
public void SetDefinition(uint width, uint height)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | width | The width of the video definition |
System.UInt32 | height | The height of the video definition |
StrictEquals(VideoDefinition)
Tells whether two VideoDefinition objects are strictly equal (the widths are the same and the heights are the same).
Declaration
public bool StrictEquals(VideoDefinition videoDefinition2)
Parameters
Type | Name | Description |
---|---|---|
VideoDefinition | videoDefinition2 | VideoDefinition object |
Returns
Type | Description |
---|---|
System.Boolean | A boolean value telling whether the two VideoDefinition objects are strictly equal. |