bitmonky Posted April 29, 2022 Share Posted April 29, 2022 Hi All, I am Testing with the Free Version (Not Enterprise) https://antsrv.bitmonky.com:5443/WebRTCApp/pcIndex.html?dur=2&name=s17621-2200-1&wzID=xdxeFeJLTOUIRQBZ Trying to get it to signal my main applicaton on another server using nodesJS installed on the same server as the antmedia server but on port :13380 Have Tried these configs in my /usr/local/antmedia/webapps/WebRTCApp/WEB-INF/web.xml Unfortunately none of this seems to have any effect on the server. <filter> <filter-name>CorsFilter</filter-name> <filter-class>io.antmedia.filter.CorsHeaderFilter</filter-class> <init-param> <param-name>cors.allowed.origins</param-name> <param-value>https://bitmonky.com:13380</param-value> </init-param> <init-param> <param-name>cors.allowed.methods</param-name> <param-value>GET,POST,HEAD,OPTIONS,PUT,DELETE</param-value> </init-param> <init-param> <param-name>cors.exposed.headers</param-name> <param-value>XMLHttpRequest</param-value> </init-param> <init-param> <param-name>cors.allowSubdomains</param-name> <param-value>true</param-value> </init-param> <init-param> <param-name>cors.support.credentials</param-name> <param-value>true</param-value> </init-param> <init-param> <param-name>cors.allowed.headers</param-name> <param-value>Accept, Origin, XMLHttpRequest, X-Requested-With, Access-Control-Request-Headers, Content-Type, Access-Control-Request-Method, Authorization</param-value> </init-param> <async-supported>true</async-supported> </filter> <filter-mapping> <filter-name>CorsFilter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> Link to comment Share on other sites More sharing options...
0 Mohit Posted August 22, 2022 Share Posted August 22, 2022 On 4/29/2022 at 6:54 PM, bitmonky said: Hi All, I am Testing with the Free Version (Not Enterprise) https://antsrv.bitmonky.com:5443/WebRTCApp/pcIndex.html?dur=2&name=s17621-2200-1&wzID=xdxeFeJLTOUIRQBZ Trying to get it to signal my main applicaton on another server using nodesJS installed on the same server as the antmedia server but on port :13380 Have Tried these configs in my /usr/local/antmedia/webapps/WebRTCApp/WEB-INF/web.xml Unfortunately none of this seems to have any effect on the server. <filter> <filter-name>CorsFilter</filter-name> <filter-class>io.antmedia.filter.CorsHeaderFilter</filter-class> <init-param> <param-name>cors.allowed.origins</param-name> <param-value>https://bitmonky.com:13380</param-value> </init-param> <init-param> <param-name>cors.allowed.methods</param-name> <param-value>GET,POST,HEAD,OPTIONS,PUT,DELETE</param-value> </init-param> <init-param> <param-name>cors.exposed.headers</param-name> <param-value>XMLHttpRequest</param-value> </init-param> <init-param> <param-name>cors.allowSubdomains</param-name> <param-value>true</param-value> </init-param> <init-param> <param-name>cors.support.credentials</param-name> <param-value>true</param-value> </init-param> <init-param> <param-name>cors.allowed.headers</param-name> <param-value>Accept, Origin, XMLHttpRequest, X-Requested-With, Access-Control-Request-Headers, Content-Type, Access-Control-Request-Method, Authorization</param-value> </init-param> <async-supported>true</async-supported> </filter> <filter-mapping> <filter-name>CorsFilter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> Hi, How are you? We have improved the CORS filter use and have tried to make the usage simple. You can refer to https://stackoverflow.com/a/73282400/16496465 for the same. Also sorry for missing your question. I would like to offer a virtual coffee to you through some Starbucks gift cards to show our empathy and support. Please let me know about your mail address so that we can send the gift card to you. Looking forward to hear from you. -- Best Regards, Mohit Dubey Link to comment Share on other sites More sharing options...
Question
bitmonky
Hi All, I am Testing with the Free Version (Not Enterprise)
https://antsrv.bitmonky.com:5443/WebRTCApp/pcIndex.html?dur=2&name=s17621-2200-1&wzID=xdxeFeJLTOUIRQBZ
Trying to get it to signal my main applicaton on another server using nodesJS installed on the same server as the antmedia server but on port :13380
Have Tried these configs in my /usr/local/antmedia/webapps/WebRTCApp/WEB-INF/web.xml
Unfortunately none of this seems to have any effect on the server.
Link to comment
Share on other sites
Top Posters For This Question
1
1
Popular Days
Apr 29
1
Aug 22
1
Top Posters For This Question
Mohit 1 post
bitmonky 1 post
Popular Days
Apr 29 2022
1 post
Aug 22 2022
1 post
1 answer to this question
Recommended Posts