Represents video resolution parameters like width, height, fps. More...
Instance Methods | |
| (NSString *) | - description |
| Returns a string that represents this instance. More... | |
| (int) | - fps |
| Gets the frames per second of the video. More... | |
| (int) | - height |
| Gets the height of the video. More... | |
| (instancetype) | - init |
| Initializes a new instance of the FMLiveSwitchVideoProfile class. More... | |
| (instancetype) | - initWithWidth:height:fps: |
| Initializes a new instance of the FMLiveSwitchVideoProfile class. More... | |
| (void) | - setFps: |
| Sets the frames per second of the video. More... | |
| (void) | - setHeight: |
| Sets the height of the video. More... | |
| (void) | - setWidth: |
| Sets the width of the video. More... | |
| (int) | - width |
| Gets the width of the video. More... | |
Class Methods | |
| (bool) | + isValidWithVideoResolution: |
| checks if the resolution is valid. More... | |
| (FMLiveSwitchVideoProfile *) | + videoProfile |
| Initializes a new instance of the FMLiveSwitchVideoProfile class. More... | |
| (FMLiveSwitchVideoProfile *) | + videoProfileWithWidth:height:fps: |
| Initializes a new instance of the FMLiveSwitchVideoProfile class. More... | |
Represents video resolution parameters like width, height, fps.
| - (NSString*) description |
Returns a string that represents this instance.
| - (int) fps |
Gets the frames per second of the video.
| - (int) height |
Gets the height of the video.
| - (instancetype) init |
Initializes a new instance of the FMLiveSwitchVideoProfile class.
| - (instancetype) initWithWidth: | (int) | width | |
| height: | (int) | height | |
| fps: | (int) | fps | |
Initializes a new instance of the FMLiveSwitchVideoProfile class.
| width | The width of the video. |
| height | The height of the video. |
| fps | The frames per second of the video. |
| + (bool) isValidWithVideoResolution: | (FMLiveSwitchVideoProfile *) | videoResolution |
checks if the resolution is valid.
| - (void) setFps: | (int) | value |
Sets the frames per second of the video.
| - (void) setHeight: | (int) | value |
Sets the height of the video.
| - (void) setWidth: | (int) | value |
Sets the width of the video.
| + (FMLiveSwitchVideoProfile*) videoProfile |
Initializes a new instance of the FMLiveSwitchVideoProfile class.
| + (FMLiveSwitchVideoProfile*) videoProfileWithWidth: | (int) | width | |
| height: | (int) | height | |
| fps: | (int) | fps | |
Initializes a new instance of the FMLiveSwitchVideoProfile class.
| width | The width of the video. |
| height | The height of the video. |
| fps | The frames per second of the video. |
| - (int) width |
Gets the width of the video.