StreamingProfilesTrait
trait StreamingProfilesTrait
Enables you to manage streaming profiles for use with adaptive bitrate streaming.
Learn more: Streaming Profiles method - Admin API
Properties
ApiClient | $apiClient | Defined in AdminApi class |
Methods
Lists streaming profiles including built-in and custom profiles.
Gets details of a single streaming profile by name.
Deletes or reverts the specified streaming profile.
Updates an existing streaming profile.
Creates a new, custom streaming profile.
Details
ApiResponse
listStreamingProfiles()
Lists streaming profiles including built-in and custom profiles.
ApiResponse
getStreamingProfile(string $name)
Gets details of a single streaming profile by name.
ApiResponse
deleteStreamingProfile(string $name)
Deletes or reverts the specified streaming profile.
For custom streaming profiles, deletes the specified profile. For built-in streaming profiles, if the built-in profile was modified, reverts the profile to the original settings. For built-in streaming profiles that have not been modified, the Delete method returns an error.
ApiResponse
updateStreamingProfile(string $name, array $options = [])
Updates an existing streaming profile.
You can update both custom and built-in profiles. The specified list of representations replaces the previous list.
ApiResponse
createStreamingProfile(string $name, array $options = [])
Creates a new, custom streaming profile.