stopRTMPBroadcastWithHttpInfo method
Stop RTMP broadcasts
Stop RTMP broadcasts for the provided RTMP destinations Required permissions: - StopBroadcasting
Note: This method returns the HTTP Response
.
Parameters:
Implementation
Future<Response> stopRTMPBroadcastWithHttpInfo(
String type,
String id,
String name,
Object body,
) async {
// ignore: prefer_const_declarations
final path = r'/video/call/{type}/{id}/rtmp_broadcasts/{name}/stop'
.replaceAll('{type}', type)
.replaceAll('{id}', id)
.replaceAll('{name}', name);
// ignore: prefer_final_locals
Object? postBody = body;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json'];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}