# LiveEventInput

**object**  
**accessControl**  
object [InputAccessControl](https://docs.mediakind.com/api-reference/media-api/schemas/inputaccesscontrol) **Required**  
Access control for live event input.

- **ip**  
  object [IPAccessControl](https://docs.mediakind.com/api-reference/media-api/schemas/ipaccesscontrol) **Required**  
  The IP access control for the live event inputs.  
  
  - **allowlist** of objects [IPRange](https://docs.mediakind.com/api-reference/media-api/schemas/iprange) **Required**  
    The IP ranges that will be allowed to access the preview. If empty, all IPs will be allowed.  
    
    - **address**  
      string **Required**  
      The IP address or DNS with port or protocol  
    - **name**  
      string **Required**  
      1-32 characters  
      The name of the IP range. This is for your reference only. examples: 'everyone', 'dave's house', 'corp vpn'.  
    - **subnetPrefixLength**  
      integer **Required**  
      0 to 32  
      The subnet prefix length (see CIDR notation).

- **accessToken**  
  string **Required**  
  For RTMP, a UUID in string form to uniquely identify the stream.  
  For SRT, an arbitrary string of between 10 and 79 characters, used as the passphrase.  
  This can be specified at creation time but cannot be updated.  
  If omitted or null, the service will generate a unique value.

- **endpoints**  
  list of objects [LiveEventEndpoint](https://docs.mediakind.com/api-reference/media-api/schemas/liveeventendpoint) **Optional**  
  Populated server-side. The input endpoints for the live event.  
  
  - **protocol**  
    string **Optional**  
    The streaming protocol for the endpoint. Possible values include: 'SRT', 'RTMP'.  
  - **url**  
    string **Optional**  
    The IP address or DNS with port and protocol

- **keyFrameIntervalDuration**  
  string **Required**  
  ISO 8601 time duration of the key frame interval duration of the input. This value sets the EXT-X-TARGETDURATION property in the HLS output. For example, use PT2S to indicate 2 seconds. Leave the value empty for encoding live events.

- **streamingProtocol**  
  enum **Optional**  
  Defaults to RTMP  
  The input protocol for the live event.  
  This is specified at creation time and cannot be updated.  
  Allowed values: RTMP, RTMPS, SRT

- **timedMetadataEndpoints**  
  list of objects [LiveEventTimedMetadataEndpoint](https://docs.mediakind.com/api-reference/media-api/schemas/liveeventtimedmetadataendpoint) **Required**  
  The metadata endpoints for the live event.  
  
  - **url**  
    string **Required**
