Manage streams
List your streams:
1
curl -X GET -H 'Authorization: Bearer <TOKEN>' https://console.videocoin.network/api/v1/streams
2
3
{
4
"items": [
5
{
6
"id": "005fec0a-6637-479e-46b8-2820b6daf1fa",
7
"name": "live",
8
"output_url": "https://streams.videocoin.network/005fec0a-6637-479e-46b8-2820b6daf1fa/index.m3u8",
9
"stream_contract_id": "3716579677242232723",
10
"stream_contract_address": "",
11
"status": "STREAM_STATUS_NEW",
12
"input_status": "INPUT_STATUS_NONE",
13
"created_at": "2019-10-31T08:09:21Z",
14
"updated_at": "2019-10-31T08:09:21Z",
15
"ready_at": null,
16
"completed_at": null,
17
"rtmp_url": "rtmp://rtmp.console.videocoin.network:1935/live/005fec0a-6637-479e-46b8-2820b6daf1fa",
18
"input_type": "INPUT_TYPE_RTMP",
19
"output_type": "OUTPUT_TYPE_HLS"
20
},
21
{
22
"id": "2bd9193e-260d-4cee-6d67-08e79260c1ad",
23
"name": "live home",
24
"output_url": "https://streams.videocoin.network/2bd9193e-260d-4cee-6d67-08e79260c1ad/index.m3u8",
25
"stream_contract_id": "5649666304257966074",
26
"stream_contract_address": "0x50548C45b69A180A982C2b7a66176e9099a382eD",
27
"status": "STREAM_STATUS_COMPLETED",
28
"input_status": "INPUT_STATUS_NONE",
29
"created_at": "2019-10-28T21:18:37Z",
30
"updated_at": "2019-10-28T21:20:56Z",
31
"ready_at": "2019-10-28T21:19:32Z",
32
"completed_at": "2019-10-28T21:20:56Z",
33
"rtmp_url": "rtmp://rtmp.console.videocoin.network:1935/live/2bd9193e-260d-4cee-6d67-08e79260c1ad",
34
"input_type": "INPUT_TYPE_RTMP",
35
"output_type": "OUTPUT_TYPE_HLS"
36
}
37
]
38
}
Copied!
Query stream info:
1
curl -X GET -H 'Authorization: Bearer <TOKEN>' https://console.videocoin.network/api/v1/streams/005fec0a-6637-479e-46b8-2820b6daf1fa
2
3
{
4
"id": "005fec0a-6637-479e-46b8-2820b6daf1fa",
5
"name": "live",
6
"output_url": "https://streams.videocoin.network/005fec0a-6637-479e-46b8-2820b6daf1fa/index.m3u8",
7
"stream_contract_id": "3716579677242232723",
8
"stream_contract_address": "",
9
"status": "STREAM_STATUS_NEW",
10
"input_status": "INPUT_STATUS_NONE",
11
"created_at": "2019-10-31T08:09:21Z",
12
"updated_at": "2019-10-31T08:09:21Z",
13
"ready_at": null,
14
"completed_at": null,
15
"rtmp_url": "rtmp://rtmp.console.videocoin.network:1935/live/005fec0a-6637-479e-46b8-2820b6daf1fa",
16
"input_type": "INPUT_TYPE_RTMP",
17
"output_type": "OUTPUT_TYPE_HLS"
18
}
Copied!
Delete stream:
1
curl -X DELETE -H 'Authorization: Bearer <TOKEN>' https://console.videocoin.network/api/v1/streams/005fec0a-6637-479e-46b8-2820b6daf1fa
Copied!
Last modified 1yr ago
Copy link