> For the complete documentation index, see [llms.txt](https://documentation.sceenic.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.sceenic.co/watch-together-sdk/sscale-confluence-api-references/ios-swift-reference-new/localparticipant.md).

# LocalParticipant

* The LocalParticipant object is responsible for all the properties and methods from Participant object

## Field Summary

| Type                     | Field                                                                                          |
| ------------------------ | ---------------------------------------------------------------------------------------------- |
| ParticipantType          | The participantType represents a type of local user - full participant, viewer or broadcaster. |
| AVCaptureDevice.Position | The cameraPosition is a value indicating whether the back or front camera is currently active. |
| VideoQuality             | The videoQuality represents a video quality - low, default or high.                            |
| frameRate                | private variable with range of 10-60 to set                                                    |

## Public Method Summary

| Return type                             | Methods                                     | Description                                                                                                                    |
| --------------------------------------- | ------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
| void                                    | startCameraPreview() -> UIView              | Start capturing video from the camera.                                                                                         |
| LocalParticipantSnapshot                | takeSnapshot()                              | <p>return snapshot of local participant settings.</p><p><em>Note</em>: You can't read and edit snapshot object</p><p><br></p>  |
| You can't read and edit snapshot object |                                             |                                                                                                                                |
| void                                    | set(snapshot: LocalParticipantSnapshot)     | snapshot - is parameter with participant settings                                                                              |
| void                                    | set(orientation: AVCaptureVideoOrientation) | orientation - is [AVCaptureVideoOrientation](https://developer.apple.com/documentation/avfoundation/avcapturevideoorientation) |
| Int32                                   | getFrameRate()                              | fps ot translated video                                                                                                        |
| void                                    | setFrameRate(fps: Int)                      | frames to set(limited in range of 10-60)                                                                                       |
