You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'am quite new to ant server technology. Been using it for last couple weeks to make some simple streaming service with chat feature. For chat i wanted to use data channel that is available in ant server (streaming through webrtc).
Currently in application settings i can enable/disable data transfer, or allow only to send data by publisher, or by all. I would like to have functionality where everybody can receive the data (that is accomplished by setting data channel to "Publisher and all Players") but nobody can send the data except through rest api. This way i can use my own app as a man in the middle to control those messages and block some stuff (im not only sending chat messages but also various events, and i dont want somebody to send those to everybody just py preparing specific message).
So what i have currently is:
Client are receiving data by standard notification in the callback "data_received", then if they want to send message, they are calling ajax request that goes to my app. My app checks if its correct then makes api call to ant rest api to broadcast that message. The only thing im missing is to block connected users to send anything through data channel without verification.
The text was updated successfully, but these errors were encountered:
Hello everyone
I'am quite new to ant server technology. Been using it for last couple weeks to make some simple streaming service with chat feature. For chat i wanted to use data channel that is available in ant server (streaming through webrtc).
Currently in application settings i can enable/disable data transfer, or allow only to send data by publisher, or by all. I would like to have functionality where everybody can receive the data (that is accomplished by setting data channel to "Publisher and all Players") but nobody can send the data except through rest api. This way i can use my own app as a man in the middle to control those messages and block some stuff (im not only sending chat messages but also various events, and i dont want somebody to send those to everybody just py preparing specific message).
So what i have currently is:
Client are receiving data by standard notification in the callback "data_received", then if they want to send message, they are calling ajax request that goes to my app. My app checks if its correct then makes api call to ant rest api to broadcast that message. The only thing im missing is to block connected users to send anything through data channel without verification.
The text was updated successfully, but these errors were encountered: