8xFF / atm0s-media-server

Decentralized, Global-Scale Media Server written in Rust (WebRTC/Whip/Whep/Rtmp/Sip)
https://8xff.github.io/media-docs/
MIT License
211 stars 17 forks source link

feat: connector send event hooks to external #341

Open giangndm opened 1 month ago

giangndm commented 1 month ago

For easier integrating with other system, connector should have hooks mechanism. Ideally protocol is:

The message should be sent with JSON schema for better integration without external dependencies

marverlous811 commented 3 weeks ago

@giangndm I have some questions

giangndm commented 3 weeks ago

I think it is global config then it will send event of all rooms and peers. It should be configured with connector node env-var

jibon57 commented 2 weeks ago

@giangndm I think tracks related events also important to have. Like track added, updated, subscribed, unsubscribed, muted/unmuted etc.

giangndm commented 2 weeks ago

@jibon57 I see. I also important too.

@marverlous811 So we can consider with: room, peer, track events