1. Live streaming
RoscoLive API v1.0
  • Company
    • Create a company
      PUT
    • Get a company by ID
      GET
    • Update company
      POST
    • Get a company
      GET
    • Get companies
      GET
    • get partner companies list
      GET
    • Get own partner company
      GET
  • Device
    • Get a device
      GET
    • Get list of company devices
      GET
  • Device Firmware
    • get available firmware versions
      GET
    • get list of latest firmware versions
      GET
    • push firmware to device
      POST
    • cancel pending firmware update to devices
      DELETE
    • get firmware updates history for company
      GET
  • Driver Scoring / Coaching
    • Get company drivers list
      GET
    • Add new driver to company
      PUT
  • Event
    • Get Company Events
      GET
    • Request videos of an event
      PUT
    • Get Latest Event for Each Device in Company
      GET
    • get geotab events
      GET
    • Get a last updated event of devices
      GET
    • update an event
      POST
  • Live streaming
    • start live streaming
      GET
  • Report
    • get list of companies with data usage for date range
  • User
    • Update notification by email
    • Get event / sms notification settings
  1. Live streaming

start live streaming

GET
/partners/live/{device_id}/{channel}
Starts a live streaming for a device. To save the cellular data plan of the device, the live streaming link must be open in 5s, and the m3au list needs to be refreshed every 5s, or it will be regarded as not playing and the connection will close and expire.
Channel can be 1, 2, 3, 4. Please check a device to see the available live streaming channels. If a channel is not available, it can not be played.
Once a link is opened and being played back, it will not stop itself as long as any player is playing it. So it is the developer's duty to set up automatic-stop mechanism, such as a timer, to stop a player that opens and opens too long.

Request

Path Params

Responses

🟢200Success
application/json
Bodyapplication/json

🟠400Invalid input
🟠404Record not found
🟠404Resource Not Found
🔴500Internal Server Error
🟠403Forbidden
🟠401Login Required
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://fleet.roscolive.com/api/v1.0/partners/live/1234567890/1' \
--header 'Content-Type: text/plain' \
--data ''
Response Response Example
200 - Success
{
    "meta": {
        "code": 200
    },
    "response": {
        "modem_rssi": "-63",
        "token": "w3m3u86r.m3u8",
        "url": "https://fleet.roscolive.com:8080/live/3299582673/1/w3m3u86r.m3u8"
    },
    "result": "OK"
}
Modified at 2024-07-25 02:00:14
Previous
update an event
Next
get list of companies with data usage for date range
Built with