Skip to content

Get a live job

Description: Query ajob of live event

GET https://lms-api.swiftfederation.com/v7.4.0/live_event_job/{app}/{stream}

Request

  • Header

  • Body

Field Required Type Description
app M String app name. this should be unique and doesn't conflict with other customers.
stream M String stream name

Response

  • Header

  • Body

Field Required Type Description
request_id M String Unique id of current HTTP request.
job M Object refer to Job Object

Examples

  • Common
  • Request

GET https://lms-api.swiftfederation.com/v7.3.0/live_event_job/lms_demo/this_is_a_demo
Content-Type: application/json; charset=UTF-8
Authorization: ...

*

  • Response
    {
     "request_id": "ef78eb18b59c4144a8c170aef1ba7d68.38.16318693092680019",
     "job": {
          "app": "a2021091701",
          "stream": "s20210917",
          "ingestion": {
               "protocol": "rtmp",
               "url": "rtmp://192.168.1.25/a2021091701/s20210917?token=1631955572-60a3424278b8ec2c0af8e86dc1ea107e",
               "status": "initial"
          },
          "origin": [
               {
                    "protocol": "hls",
                    "manifest": "/a2021091701/s20210917_ma.m3u8",
                    "playlist": [
                         {
                              "preset": "360H",
                              "uri": "/a2021091701/s20210917-360H.m3u8"
                         },
                         {
                              "preset": "transmux",
                              "uri": "/a2021091701/s20210917-transmux.m3u8"
                         }
                    ]
               }
          ]
     }
}