# LiveStreamRecording

Source: https://swapcard.dev/organizer/content-api/graphql-event-api-schema/objects/live-stream-recording


const [open, setOpen] = useState(startOpen);
  return (
    <details {...(open ? { open: true } : {})} className="details" style={{ border:'none', boxShadow:'none', background:'var(--ifm-background-color)' }}>
      <summary
        onClick={(e) => {
          e.preventDefault();
          setOpen((open) => !open);
        }}
        style={{ listStyle:'none' }}
      >
      {open ? dataOpen : dataClose}
      </summary>
      {open && children}
    </details>
  );
};

No description

```graphql
type LiveStreamRecording {
  id: ID!
  createdAt: DateTime!
  duration: Int
  publicUrl: String
  downloadUrl: String
}
```

### Fields

#### [<code style={{ fontWeight: 'normal' }}>LiveStreamRecording.<b>id</b></code>](#)<Bullet />[`ID!`](/organizer/content-api/graphql-event-api-schema/scalars/id) <Badge class="badge badge--secondary" text="non-null"/> <Badge class="badge badge--secondary" text="scalar"/> 
> 
> 
> Unique identifier of the recording. Subject to change, do not store.
> 

#### [<code style={{ fontWeight: 'normal' }}>LiveStreamRecording.<b>createdAt</b></code>](#)<Bullet />[`DateTime!`](/organizer/content-api/graphql-event-api-schema/scalars/date-time) <Badge class="badge badge--secondary" text="non-null"/> <Badge class="badge badge--secondary" text="scalar"/> 
> 
> 
> 
> 

#### [<code style={{ fontWeight: 'normal' }}>LiveStreamRecording.<b>duration</b></code>](#)<Bullet />[`Int`](/organizer/content-api/graphql-event-api-schema/scalars/int) <Badge class="badge badge--secondary" text="scalar"/> 
> 
> 
> The duration of the recording in seconds
> 

#### [<code style={{ fontWeight: 'normal' }}>LiveStreamRecording.<b>publicUrl</b></code>](#)<Bullet />[`String`](/organizer/content-api/graphql-event-api-schema/scalars/string) <Badge class="badge badge--secondary" text="scalar"/> 
> 
> 
> The streamable url of the recording
> 

#### [<code style={{ fontWeight: 'normal' }}>LiveStreamRecording.<b>downloadUrl</b></code>](#)<Bullet />[`String`](/organizer/content-api/graphql-event-api-schema/scalars/string) <Badge class="badge badge--secondary" text="scalar"/> 
> 
> 
> The downloadable url of the recording
> 

### Member Of

[`LiveStreamComponent`](/organizer/content-api/graphql-event-api-schema/objects/live-stream-component)  <Badge class="badge badge--secondary" text="object"/>
