Update a Stream
PUThttps://YOUR_SPACE.signalwire.com/api/video/streams/:id
Permissions
The API token must include the following scopes: Video.
Request
Responses
- 200
OK
Authorization: http
name: basic_authtype: httpscheme: basic
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Put, "https://YOUR_SPACE.signalwire.com/api/video/streams/:id");
request.Headers.Add("Accept", "application/json");
var content = new StringContent("{\n \"url\": \"rtmp://broadcaster\"\n}", null, "application/json");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
ResponseClear