Hello,
I have created new app using console
app name : XXX,
app name : live
added rest hooks as described in post for both of the apps https://docs.flashphoner.com/display/WCS5EN/Using+REST+hook+to+authorize+user+by+domain
i want to authorise user by domain
i have added rtmp_appkey_source=app to my flashphoner.properties
now i have started 4 streams
rtmp://host:1935/live/stream_name
rtmp://host:1935/XXX/stream_name2
rtmp://host:1935/XXX/stream_name3
rtmp://host:1935/live?appKey=XXX/stream_name2
now issues i'm facing
i'm getting 404 on HOST/8444/rest-api/stream/find_all
{
"exception": "com.flashphoner.rest.server.exception.NotFoundException",
"path": "/rest-api/stream/find_all",
"error": "Not Found",
"message": "NOT FOUND",
"timestamp": 1550122681203,
"status": 404
}
i'm not able to play any stream it always shows failed
i looked in to server logs that shows
INFO Peer - ForkJoinPool.commonPool-worker-1 Flash client connected false
ServerHandler - ForkJoinPool.commonPool-worker-1 Connection failed, id 1
ServerHandler - RTMP-pool-14-thread-1 IO error on socket [id: 0x4e732d97
ServerHandler - RTMP-pool-14-thread-1 channel closed:
RTMP-Session - RTMP-pool-14-thread-1 kill session 1316171159
i have mailed server,client logs and conf files to the support@flashphoner.com
I have created new app using console
app name : XXX,
app name : live
added rest hooks as described in post for both of the apps https://docs.flashphoner.com/display/WCS5EN/Using+REST+hook+to+authorize+user+by+domain
i want to authorise user by domain
i have added rtmp_appkey_source=app to my flashphoner.properties
now i have started 4 streams
rtmp://host:1935/live/stream_name
rtmp://host:1935/XXX/stream_name2
rtmp://host:1935/XXX/stream_name3
rtmp://host:1935/live?appKey=XXX/stream_name2
now issues i'm facing
i'm getting 404 on HOST/8444/rest-api/stream/find_all
{
"exception": "com.flashphoner.rest.server.exception.NotFoundException",
"path": "/rest-api/stream/find_all",
"error": "Not Found",
"message": "NOT FOUND",
"timestamp": 1550122681203,
"status": 404
}
i'm not able to play any stream it always shows failed
i looked in to server logs that shows
INFO Peer - ForkJoinPool.commonPool-worker-1 Flash client connected false
ServerHandler - ForkJoinPool.commonPool-worker-1 Connection failed, id 1
ServerHandler - RTMP-pool-14-thread-1 IO error on socket [id: 0x4e732d97
ServerHandler - RTMP-pool-14-thread-1 channel closed:
RTMP-Session - RTMP-pool-14-thread-1 kill session 1316171159
i have mailed server,client logs and conf files to the support@flashphoner.com