Host your events virtually and see community interaction as it happens
AmityUIKit
provides the livestream recording feature that allows you to record livestreams and broadcast simultaneously in real-time. You can also play historical streams when the livestream ends.
This section describes the livestream feature in detail. Refer to our Livestream documentation to enable livestream functionalities.
A livestream post can be viewed in the following feeds:
Community feed
User feed
Global feed
Content feed
You will be able to see the livestream post and interact with it as soon as the livestreamer starts streaming.
To create a livestream post, follow these steps:
Create a livestream post by selecting Livestream from the pop-up and selecting a location where you want to post the stream.
Provide a title and description for your livestream. The Go live button will not enable if you don't provide a title and description.
Add a cover thumbnail from your media gallery for the livestream post and preview the cover image. This step however is optional. You may also update and delete the cover thumbnail.
Note: A default cover will be used if no cover thumbnail is selected.
Tap Go live to start streaming.
There will be a time indicator on the upper left. It will indicate how long it has been since the livestream started.
The livestream post will then show in the feed.
Tap Finish to end livestreaming. It will then show Ending livestream once the livestream has ended.
Note: You have the option to edit or delete the livestream post from the feed.
Other viewers can watch your livestreaming while you are simultaneously recording it. They will see a LIVE indicator on the video.
Tapping the play button in the livestream post will play the video in a full screen mode.
After ending your livestreaming, the playback video may not be available instantly for viewers to see while it is still in the process of producing the playback video. The viewers will see a message that the playback will be available for watching shortly.
When the playback video is already available for viewing, a RECORDED indicator is shown on the video post.
The livestream may be in idle state. This happens when you delete the livestream in console or or other issues that will not enable the livestreaming to start. The viewer will see a message that the stream is currently unavailable.
A livestream post will have the same privacy and access controls as with the other posts. This means that users without the permission, such as those who are not members of the community, won’t be able to view the livestreaming/playback video in a private community. If the community is public, non-members can view the post as read only so they won't be able to interact with it.
If it's your first time creating a livestream, your device will prompt to allow access to your device's camera and microphone.
You need to allow access to be able to start a livestream. The pop-up below will not show once you allow access to your camera and microphone.
This page provides a form for post creation.
The user can select images from 2 sources.
You can create a poll post and other users can interact with that poll post by selecting from the poll options.
To create a live stream post and for a detailed discussion on the live stream features, refer to Livestream Post documentation.
Refer to our Live Stream documentation to enable live stream functionalities.
File: All file types are supported
Image: JPG, JPEG, and PNG
Video: 3GP, AVI, FLV, MP4 and MPEG-2
The maximum file, image, or video size that you can upload is 1 GB.
Uploaded images or videos whose format is not supported (e.g. HEIC, HEVC) will be automatically converted to PNG for images and MP4 for videos.
Create a view controller
Parameter
AmityCommunityModel is a wrapper class of AmityCommunity which is a live object from AmitySDK
Attachment options
By default AmityPostCreatorViewController
allows all attachments when creating a post. You can optionally choose attachment options when creating the post.
All available attachment options are image
, video
, and file
. These can be found in AmityPostAttachmentType
.
Feature | Description |
---|---|
Post creation
Create post by adding content such as text, images, videos, and files. Refer to Supported types for more details.
Mention in post
Mention users in post by typing @ to activate mention suggestion and selecting their names in the suggestion list. Up to 30 users can be mentioned per post.
An alert will be shown if character count is greater than 50000 or mentions count is greater than 30.
Parameter
Description
postTarget
enums to determine where is the target feed
consist of myFeed
and community(AmityCommunityModel)