Stream live content to viewers
Overview
A Live Event object represents an instance of a live stream that viewers can watch on a FanHero channel in real time.
To run a live event on the FanHero platform, you must ingest video and audio using RTMP from a source and stream it to the RTMP URL available in the admin portal. Viewers are able to access the live stream on a FanHero channel.
Every live event gets recorded. After a live event is over, it becomes available as a post on the channel.
Go live on the FanHero platform
Owners of FanHero channels can create and run live events using the FanHero video portal.
To learn how to stream a live event using the portal, read the Live Events page in our portal user guides.
Live Event object properties
Live Event objects returned by the endpoints in this section can have some or all of these properties:
Name | Type | Description |
---|---|---|
| String | The live event ID |
| String | The account ID of the user who created the event |
| String | The ID of the organization that owns the channel |
| String | The channel ID |
| String | The description of the live event. The viewers will see this description on the channel page. |
| Boolean | If True, viewers can comment while the live event is in progress. |
| String Array | An array of tag IDs. |
| String | Category ID. |
| String Enum | Describes the access restriction if any.
|
| String | A slug is created by formatting the live event title so that all letters are lower case and all spaces are replaced with dashes. |
| String | The ID of a media object representing the thumbnail image. |
| String Enum | The video orientation. Can be LANDSCAPE or PORTRAIT. |
| DateTime String | The date and time when the live event is scheduled to begin. The channel owner can begin the stream on, before or after this time. |
| DateTime String | The date and time when the live event actually started. |
| DateTime String | The date and time when the live event ended. |
| Number | The total number of viewers who watched the live event. |
| Number | The number of reactions viewers left. |
| Number | The number of comments viewers left. |
| Boolean | If True, the current number of viewers will be displayed during the live event. |
| Boolean | If True, the viewers can comment on the live event. |
| Boolean | If True, the viewers can leave reactions to the live event. |
| String Enum | The current status of the event.
|
| Object | A geofence object that describes geographical restrictions on viewing the live event. |
| String | The live event title |
| Boolean | If True, the live event has been deleted. |
| String Enum | Describes the audience for this event.
|
| Boolean | If True, the live event is hosted using the FanHero Studio. |
| DateTime String | Date and time when the live event was created. |
| DateTime String | Date and time when the live event was last edited. |
| Boolean | If True, the event is currently live. |