Multiplex Channel

Multiplex Channel은 여러 Internal Streams를 하나의 ABR Stream으로 결합하거나, Stream을 복제하여 다른 Application으로 전달할 수 있습니다. Multiplex Channel은 API 또는 File로 제어할 수 있으며, Multiplex Channel API의 Body는 MultiplexChannel의 Mux File과 동일한 구조입니다.

Get Multiplex Channel List

Application ({vhost name}/{app name}) 내의 모든 Multiplex Channel을 조회합니다.

Request

chevron-rightGET /v1/vhosts/{vhost}/apps/{app}/multiplexChannelshashtag

Header

Authorization: Basic {credentials}

# Authorization
    Credentials for HTTP Basic Authentication created with <AccessToken>

Responses

chevron-right200 Okhashtag

The request has succeeded

Header

Content-Type: application/json

Body

{
    "message": "OK",
    "response": [
        "stream"
    ],
    "statusCode": 200
}

# statusCode
	Same as HTTP Status Code
# message
	A human-readable description of the response code
# response
	Json array containing a list of stream names
chevron-right401 Unauthorizedhashtag

Authentication required

Header

WWW-Authenticate: Basic realm=”OvenMediaEngine”

Body

{
    "message": "[HTTP] Authorization header is required to call API (401)",
    "statusCode": 401
}
chevron-right404 Not Foundhashtag

The given vhost name or app name could not be found.

Header

Content-Type: application/json

Body

{
    "statusCode": 404,
    "message": "Could not find the application: [default/non-exists] (404)"
}

Create Multiplex Channel

Request

chevron-rightPOST /v1/vhosts/{vhost}/apps/{app}/multiplexChannelshashtag

Header

Body

Responses

chevron-right201 Createdhashtag

A stream has been created.

Header

Body

chevron-right400 Bad Requesthashtag

Invalid request. Body is not a Json Object or does not have a required value

chevron-right401 Unauthorizedhashtag

Authentication required

Header

Body

chevron-right404 Not Foundhashtag

The given vhost name or app name could not be found.

Body

chevron-right409 Conflicthashtag

A stream with the same name already exists

chevron-right502 Bad Gatewayhashtag

Failed to pull provided URL

chevron-right500 Internal Server Errorhashtag

Unknown error

Get Multiplex Channel Info

Multiplex Channel의 상세 정보를 조회합니다. 현재 재생 중인 Program과 Item 정보도 함께 제공됩니다.

Request

chevron-rightGET /v1/vhosts/{vhost}/apps/{app}/multiplexChannels/{channel name}hashtag

Header

Responses

chevron-right200 Okhashtag

The request has succeeded

Header

Body

chevron-right401 Unauthorizedhashtag

Authentication required

Header

Body

chevron-right404 Not Foundhashtag

The given vhost name or app name could not be found.

Header

Body

Delete Multiplex Channel

Request

chevron-rightDELETE /v1/vhosts/{vhost}/apps/{app}/multiplexChannels/{channel name}hashtag

Header

Responses

chevron-right200 Okhashtag

The request has succeeded

Header

Body

chevron-right401 Unauthorizedhashtag

Authentication required

Header

Body

chevron-right404 Not Foundhashtag

The given vhost name or app name could not be found.

Header

Body

Last updated