Versions Compared

Key

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

...

  • HTTP: http://test.flashphoner.com:90918081/rest-api/pull/push
  • HTTPS: https://test.flashphoner.com:88888444/rest-api/pull/push

Where:

  • streaming.flashphoner.com - is the address of the WCS server
  • 9091 8081 - is the standard REST / HTTP port of the WCS server
  • 88888444 - is the standard HTTPS port
  • rest-api - is the required prefix
  • /pull/push - is the REST-method used

REST-methods and response statuses

REST-method

Example of REST query

Example of REST response body

Response statuses

Description

/pull/push

Code Block
languagejs
themeRDark
{  
   "uri":"wss://demo.flashphoner.com:8443",
   "localStreamName": "testStream",
   "remoteStreamName": "testStream"
}

409 - Conflict

500 - Internal error


Broadcasts the WebRTC stream at the specified URL

Parameters

Parameter name

Description

Example

uri

URL of the WebRTC stream

wss://demo.flashphoner.com:8443

localMediaSessionId

Session identifier

5a072377-73c1-4caf-abd3

remoteMediaSessionId

Identifier of the session on the remote server

12345678-abcd-dead-beaf

localStreamName

Local name assigned to the captured stream. The stream can be fetched from the WCS server using this name

testStream

remoteStreamName

Name of the captured stream on the remore server

testStream

status

Current status of the stream

NEW

Quick manual on testing

1. For this test we use:

...