Stream Not Playing after stream name Mapping via rest api

Max

Administrator
Staff member
Hello

As you can see from docs:
https://docs.flashphoner.com/display/WCS5EN/restClientConfig+object+description
You have to pass restClientConfig field in 200 OK on /connect
Code:
"restClientConfig":
{
     "publishStream":
             {
                     "restExclude":"",
                     "clientExclude":"",
            "restOnError":"LOG",
            "restPolicy":"OVERWRITE",
            "restOverwrite":"name"
        }
}
did you pass this field?

Please attach full log or pcap dump
Code:
tcpdump port 80 -w log.pcap
You have to switch REST hooks to http URL to be able to make non-encrypted plain HTTP pcap dump.
Example of dump analyzing:
https://docs.flashphoner.com/pages/viewpage.action?pageId=2032049
 

Max

Administrator
Staff member
Try to configure notifyStreamStatusEvent with clientExclude:"name"
This should exclude name field from notifyStreamStatusEvent websocket frame.
Code:
"restClientConfig":{
   "publishStream":{
      "restExclude":"",
      "clientExclude":"",
      "restOnError":"LOG",
      "restPolicy":"OVERWRITE",
      "restOverwrite":"name"
   },
   "StreamStatusEvent":{
      "restExclude":"",
      "clientExclude":"name",
      "restOnError":"LOG",
      "restPolicy":"NOTIFY",
      "restOverwrite":""
   }
}
 
Last edited:
Top