Skip to content

Channels


Get Channel For Event

Method used for fetching the Channel for an event. This will container streaming URLs per region.

Method

GET

Request Path Authorized

/api/Channel/GetChannelForEvent?eventId=<event-id>

Headers

http
tenantId: <tenant-id>
applicationId: <application-id>

Response

Note that not all fields are included in the sample response, only those relevant to these docs

json
{
    "id": "<event-id>",    
    "name": "Name of Event",
    "startDateTime": "Start date time",
    "endDateTime": "End date time",    
    "streams": {
        "<region-id>": [
            {
                "id": "<stream-id>",
                "regionId": "<region-id>",
                "name": "Name of Stream",                
                "streams": {
                    "Dash": {
                        "primaryUri": "<URI of stream>",
                        "secondaryUri": null,
                        "overrideUri": null
                    },
                    "Hls": {
                        "primaryUri": "<URI of stream>",
                        "secondaryUri": null,
                        "overrideUri": null
                    }
                },
                "tracks": [                    
                    {
                        "trackId": "<track-id>",                        
                        "trackIndex": "2",                        
                        "segmentDurationUs": 3000000.0,
                        "fragmentDurationUs": 33333.0,
                        "codec": "avc1.64001e",
                        "fps": 30.0,
                        "height": 432,
                        "width": 768,
                        "bitrate": 1500000,
                        "segmentLength": 3.0,
                        "sampleRate": 0,
                        "language": "en",
                        "bitrate_Kilo": 1500
                    }
                    ...
                ]
            },
            ...
        ]
        "<region-id>": [
            ...
        ]
    }
}

NOTE

Times are UTC+0 and to be formatted as yyyy-MM-ddThh:mm:ss.fffZ