Update destinations

This endpoint is used to update destinations.

| Deprecation Notice: The destinations.browserRecordings field which was used to provide configuration for browser based recording, has been deprecated. Please use the new recordings API to configure browser recording.

POSThttps://api.100ms.live/v2/templates/<template_id>/destinations
curl --location --request POST 'https://api.100ms.live/v2/templates/<template_id>/destinations' \ --header 'Authorization: Bearer <management_token>' \ --header 'Content-Type: application/json' \ --data-raw '{ "rtmpDestinations": { "default": { "name": "default", "width": 1080, "height": 1920, "maxDuration": 1800, "rtmpUrls": ["rtmp://example.com:443/stream", "rtmp://example.net/live"], "recordingEnabled": true } }, "hlsDestinations": { "default": { "name": "default", "maxDuration": 28800, "layers": [ { "width": 1080, "height": 720, "videoBitrate": 1100, "audioBitrate": 32 }, { "width": 720, "height": 720, "videoBitrate": 600 }, {} ], "playlistType": "event", "numPlaylistSegments": 12, "videoFrameRate": 25, "enableMetadataInsertion": true, "enableStaticUrl": true, "recording": { "hlsVod": true, "singleFilePerLayer": true, "enableZipUpload": false, "layers": [ { "width": 720, "height": 1920, "videoBitrate": 2000, "audioBitrate": 64 } ], "thumbnails": { "enabled": true, "width": 720, "height": 1920, "offsets": [2], "fps": 60 }, "presignDuration": 604800 } } }, "transcriptions": { "default": { "name": "default", "role": "host", "modes": ["recorded", "live"], "outputModes": [ "txt", "srt", "json" ], "customVocabulary": ["100ms", "SDK", "Sundar", "Pichai" ], "summary": { "enabled": true, "context": "this is a meeting between 100ms SDK team and a user representative", "temperature": 0.5, "sections": [ { "title": "Agenda", "format": "bullets" }, { "title": "Key Points", "format": "bullets" }, { "title": "Action Items", "format": "bullets" }, { "title": "Short Summary", "format": "paragraph" } ] } } } }'
RESPONSE
Status: 200 OK
{ "rtmpDestinations": { "default": { "name": "default", "width": 1080, "height": 1920, "maxDuration": 1800, "rtmpUrls": ["rtmp://example.com:443/stream", "rtmp://example.net/live"], "recordingEnabled": true } }, "hlsDestinations": { "default": { "name": "default", "maxDuration": 28800, "layers": [ { "width": 1080, "height": 720, "videoBitrate": 1100, "audioBitrate": 32 }, { "width": 720, "height": 720, "videoBitrate": 600 }, {} ], "playlistType": "event", "numPlaylistSegments": 12, "videoFrameRate": 25, "enableMetadataInsertion": true, "enableStaticUrl": true, "recording": { "hlsVod": true, "singleFilePerLayer": true, "enableZipUpload": false, "layers": [ { "width": 720, "height": 1920, "videoBitrate": 2000, "audioBitrate": 64 } ], "thumbnails": { "enabled": true, "width": 720, "height": 1920, "offsets": [2], "fps": 60 }, "presignDuration": 604800 } } }, "transcriptions": { "default": { "name": "default", "role": "host", "modes": ["recorded", "live"], "outputModes": [ "txt", "srt", "json" ], "customVocabulary": ["100ms", "SDK", "Sundar", "Pichai" ], "summary": { "enabled": true, "context": "this is a meeting between 100ms SDK team and a user representative", "temperature": 0.5, "sections": [ { "title": "Agenda", "format": "bullets" }, { "title": "Key Points", "format": "bullets" }, { "title": "Action Items", "format": "bullets" }, { "title": "Short Summary", "format": "paragraph" } ] } } } }

Arguments

NameTypeDescriptionRequired
template_id
— path param
stringUnique identifier of the template you wish to update destinations details for.
Example: 6316d5ca5a2635a5849a0216
Yes
destinationsObject
objectDestinations object corresponding to the given template_id.

check the destinations object arguments section for the list of arguments supported
Yes

Have a suggestion? Recommend changes ->

Run in postman

Was this helpful?

1234