Versions Compared

Key

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

...

Code Block
languagejs
themeRDark
URL:http://test2.flashphoner.comlocalhost:8081/apps/EchoApp/index.php/playHLS
OBJECT:
{
  "nodeId" : "Qb3rAjf3lzoy6PEl1WZkUhRG1DsTykgj@192NTk1tLorQ00llGbPJuFexrKceubGCR0k@192.168.1.5",
  "appKey" : "defaultApp",
  "sessionId" : "teststreamname-HLS/192.168.1.100:59473/192.168.1.5:8445",
  "mediaSessionId" : "09f0814e60709c5b-a9e96950-45f340c3-b7568a3d-57a5c143ac9837ea0827ae32-teststreamname727473703a2f2f73747238312e63726561636173742e636f6d2f6772616e646c696c6c6574762f6c6f77-HLS",
  "name" : "teststreamnametest",
  "mediaProvider" : "HLS",
  "custom" : {
    "token" : "12345678912345789"
  }
}

Backend server should return 200 OK if token is checked successfully, and 403 Forbidden if token is wrong. In its turn, client will receive either HLS stream or 401 Unauthorized.

...