Output Profile

/v1/vhosts/{vhost_name}/apps/{app_name}/outputProfiles

POST http://<OME_HOST>:<API_PORT>/v1/vhosts/{vhost_name}/apps/{app_name}/outputProfiles

Creates OutputProfiles in the Application Request Example: POST http://1.2.3.4:8081/v1/vhosts/default/apps/app/outputProfiles [ { "name": "bypass_profile", "outputStreamName": "${OriginStreamName}", "encodes": { "videos": [ { "bypass": true } ], "audios": [ { "bypass": true } ] } } ]

Path Parameters

NameTypeDescription

vhost_name

string

A name of VirtualHost

app_name

string

A name of Application

Headers

NameTypeDescription

authorization

string

A string for authentication in Basic Base64(AccessToken) format. For example, Basic b21lLWFjY2Vzcy10b2tlbg== if access token is ome-access-token.

Request Body

NameTypeDescription

(json body)

array

List<OutputProfile>

[
	{
		"statusCode": 200,
		"message": "OK",
		"response": {
			"encodes": {
				"audios": [
					{
						"bypass": true
					}
				],
				"images": [],
				"videos": [
					{
						"bypass": true
					}
				]
			},
			"name": "bypass_profile",
			"outputStreamName": "${OriginStreamName}"
		}
	}
]

/v1/vhosts/{vhost_name}/apps/{app_name}/outputProfiles

GET http://<OME_HOST>:<API_PORT>/v1/vhosts/{vhost_name}/apps/{app_name}/outputProfiles

Lists all output profile names in the Application Request Example: GET http://1.2.3.4:8081/v1/vhosts/default/apps/app/outputProfiles

Path Parameters

NameTypeDescription

vhost_name

string

A name of VirtualHost

app_name

string

A name of Application

Headers

NameTypeDescription

authorization

string

A string for authentication in Basic Base64(AccessToken) format. For example, Basic b21lLWFjY2Vzcy10b2tlbg== if access token is ome-access-token.

{
	"statusCode": 200,
	"message": "OK",
	"response": [
		"bypass.opus",
		"bypass_profile"
	]
}

/v1/vhosts/{vhost_name}/apps/{app_name}/outputProfiles/{profile_name}

GET http://<OME_HOST>:<API_PORT>/v1/vhosts/{vhost_name}/apps/{app_name}/outputProfiles/{profile_name}

Gets the configuration of the OutputProfile Request Example: GET http://1.2.3.4:8081/v1/vhosts/default/apps/app/outputProfiles/bypass_profile

Path Parameters

NameTypeDescription

vhost_name

string

A name of VirtualHost

app_name

string

A name of Application

profile_name

string

A name of OutputProfile

Headers

NameTypeDescription

authorization

string

A string for authentication in Basic Base64(AccessToken) format. For example, Basic b21lLWFjY2Vzcy10b2tlbg== if access token is ome-access-token.

{
	"statusCode": 200,
	"message": "OK",
	"response": {
		"encodes": {
			"audios": [
				{
					"bypass": true
				}
			],
			"images": [],
			"videos": [
				{
					"bypass": true
				}
			]
		},
		"name": "bypass_profile",
		"outputStreamName": "${OriginStreamName}"
	}
}

/v1/vhosts/{vhost_name}/apps/{app_name}/outputProfiles/{profile_name}

PUT http://<OME_HOST>:<API_PORT>/v1/vhosts/{vhost_name}/apps/{app_name}/outputProfiles/{profile_name}

Changes the configuration of the OutputProfile Request Example: PUT http://1.2.3.4:8081/v1/vhosts/default/apps/app/outputProfiles/bypass_profile { "outputStreamName": "${OriginStreamName}", "encodes": { "videos": [ { "codec": "h264", "bitrate": "3M", "width": 1280, "height": 720, "framerate": 30 } ], "audios": [ { "bypass": true } ] } }

Path Parameters

NameTypeDescription

vhost_name

string

A name of VirtualHost

app_name

string

A name of Application

profile_name

string

A name of OutputProfile

Headers

NameTypeDescription

authorization

string

A string for authentication in Basic Base64(AccessToken) format. For example, Basic b21lLWFjY2Vzcy10b2tlbg== if access token is ome-access-token.

Request Body

NameTypeDescription

(json body)

object

OutputProfile

{
	"statusCode": 200,
	"message": "OK",
	"response": {
		"encodes": {
			"audios": [
				{
					"bypass": true
				}
			],
			"images": [],
			"videos": [
				{
					"active": true,
					"bitrate": "3M",
					"codec": "h264",
					"framerate": 30.0,
					"height": 720,
					"width": 1280
				}
			]
		},
		"name": "bypass_profile",
		"outputStreamName": "${OriginStreamName}"
	}
}

/v1/vhosts/{vhost_name}/apps/{app_name}/outputProfiles/{profile_name}

DELETE http://<OME_HOST>:<API_PORT>/v1/vhosts/{vhost_name}/apps/{app_name}/outputProfiles/{profile_name}

Deletes the OutputProfile Request Example: DELETE http://1.2.3.4:8081/v1/vhosts/default/apps/app/outputProfiles/bypass_profile

Path Parameters

NameTypeDescription

vhost_name

string

A name of VirtualHost

app_name

string

A name of Application

profile_name

string

A name of OutputProfile

Headers

NameTypeDescription

authorization

string

A string for authentication in Basic Base64(AccessToken) format. For example, Basic b21lLWFjY2Vzcy10b2tlbg== if access token is ome-access-token.

{
	"statusCode": 200,
	"message": "OK"
}

Last updated