Description
The server resource displays to administrators whether WebRTC, HTTPS, Secure Reliable Transport (SRT), User Datagram Protocol (UPD), Real-Time Messaging Protocol (RTMP, RTMPS), and Real-Time Streaming Protocol (RTSP, RTSPS) livestreams are enabled or disabled.
Request parameters
| Parameter | Details |
|---|---|
(Required) | The response format. The default response format is Values: |
(Required) | Users interacting programmatically with this endpoint must generate a token that must be included as a request parameter. A token can be obtained using the Generate Token operation. |
Example usage
The following is a sample request URL used to access the server operation:
https://organization.example.com/<context>/admin/system/livestream/serverProtocols?f=pjsonJSON Response syntax
{
"rtmp": < true | false >,
"udp": < true | false >,
"rtmpListen": < true | false >,
"rtspListen": < true | false >,
"webrtc": < true | false >,
"srt": < true | false >,
"srtListen": < true | false >,
"rtsp": < true | false >,
"udpListen": < true | false >
}JSON Response example
{
"rtmp": true,
"udp": true,
"rtmpListen": true,
"rtspListen": true,
"webrtc": true,
"srt": true,
"srtListen": true,
"rtsp": true,
"udpListen": true
}