phoenixbf / aton

ATON framework is based on modern web standards and technologies to create interactive, liquid and collaborative Web3D/WebXR apps targeting Cultural Heritage field. It adopts a “develop once, deploy everywhere” approach, providing building-blocks and a modular architecture
GNU General Public License v3.0
74 stars 7 forks source link

Video streaming #23

Closed AT181903 closed 12 months ago

AT181903 commented 1 year ago

I'm trying to use video streaming, but it doesn't work. Other users don't receive it. (Audio streaming works)

EDIT: also screen streaming doesn't work

EDIT2: It seems that in ATON.photon.js the second parameter of _Photon.socket.on('UVIDEO') is empty

phoenixbf commented 1 year ago

Hi, the UVIDEO event is an internal Photon event for transmission of video chunks (typically webcam or screen sharing) in a collaborative session, and it's still experimental feature. You can experiment this via Hathor front-end when logged in, using webcam or screen sharing buttons from collaborative popup (colored icon): just tested and it seems they are working fine. A drop-down menu for selection of input device is still missing (eg. two or more cameras) but will be soon introduced, as well as examples.

Can you please provide more details?

If you are looking for transimssion of custom data, check out: https://aton.ispc.cnr.it/apidoc/client/Photon.html#.fireEvent and https://aton.ispc.cnr.it/apidoc/client/Photon.html#.on