Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

/multipleRecorder/startup

RequestResponse
Code Block
languagejs
themeRDark
POST /rest-api/multipleRecorder/startup HTTP/1.1
Host: localhost:9091
Content-type: application/json
Content-Length: 22                       
                                                     
{
	"
name
uri": "
test_
multi-recorder://test-record"
}
Code Block
languagejs
themeRDark
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *

/multipleRecorder/add

RequestResponse
Code Block
languagejs
themeRDark
POST /rest-api/multipleRecorder/add HTTP/1.1
Host: localhost:9091
Content-type: application/json
Content-Length: 78                       
                                                     
{
	"
name
uri": "
test_
multi-recorder://test-record",
    "mediaSessionId": "d010f9a0-fe34-11eb-9d0a-fb2207ead79d"
}
Code Block
languagejs
themeRDark
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *

/multipleRecorder/remove

RequestResponse
Code Block
languagejs
themeRDark
POST /rest-api/multipleRecorder/remove HTTP/1.1
Host: localhost:9091
Content-type: application/json
Content-Length: 78                       
                                                     
{
	"
name
uri": "
test_
multi-recorder://test-record",
    "mediaSessionId": "d010f9a0-fe34-11eb-9d0a-fb2207ead79d"
}
Code Block
languagejs
themeRDark
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *

/multipleRecorder/find_all

RequestResponse
Code Block
languagejs
themeRDark
POST /rest-api/multipleRecorder/find_all HTTP/1.1
Host: localhost:9091
Content-type: application/json

Code Block
languagejs
themeRDark
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: true
Content-Type: application/json
Content-Length: 239

[
  {
    "mediaSessionsId": [
      "d010f9a0-fe34-11eb-9d0a-fb2207ead79d",
      "dca111f0-fe34-11eb-ba46-45d41f052372",
      "e7614c40-fe34-11eb-8d5e-07d6ca1cc7ff"
    ],
    "
fileName
uri": "
test_record--1-1629078979541--1-1629079011935_multiRecorded
multi-recorder://test-record",
    "fileName": "multi-recorder___test-record.mp4"
  }
]


/multipleRecorder/terminate

RequestResponse
Code Block
languagejs
themeRDark
POST /rest-api/multipleRecorder/terminate HTTP/1.1
Host: localhost:9091
Content-type: application/json
Content-Length: 22                       
                                                     
{
	"
name
uri": "
test_
multi-recorder://test-record"
}
Code Block
languagejs
themeRDark
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *


/transcoder/startup

RequestResponse
Code Block
languagejs
themeRDark
POST /rest-api/transcoder/startup HTTP/1.1
HOST: 192.168.1.101:8081
content-type: application/json
content-length: 83

{
	"uri": "transcoder://tcode1",
	"remoteStreamName": "test",
	"localStreamName": "testT",
	"encoder": {
		"width": 640,
		"height": 480,
		"keyFrameInterval": 30,
		"fps": 30,
        "watermark": "Test.png"
 	}
}
Code Block
languagejs
themeRDark
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Length: 0
Date: Thu, 06 Dec 2018 4:16:40 GMT

...