POST /rest-api/mixer/startup HTTP/1.1
HOST: 192.168.1.101:8081
content-type: application/json
{
"uri": "mixer://room1",
"localStreamName": "room1_stream"
}
POST /rest-api/mixer/add HTTP/1.1
HOST: 192.168.1.101:8081
content-type: application/json
{
"uri": "mixer://room1",
"remoteStreamName": "user1"
}
POST /rest-api/stream/find HTTP/1.1
Host: 192.168.1.101:8081
Content-Type: application/json
{
"name":"room1_stream",
"published":true
}
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: application/json;charset=UTF-8
[
{"custom":{},"nodeId":null,
"appKey":"defaultApp",
"sessionId":"/192.168.1.102:34500/192.168.1.101:8080",
"mediaSessionId":"4f112b20-13d0-11e7-b521-59a9cb7eddeb",
}
]
POST /rest-api/recorder/startup HTTP/1.1
HOST: 192.168.1.101:8081
content-type: application/json
{"mediaSessionId": "4f112b20-13d0-11e7-b521-59a9cb7eddeb","config": {"fileTemplate": "{streamName}-{startTime}-{endTime}"
}
}
record_mixer_streams=true
mixer_video_enabled=false