Mercurial > libervia-web
diff libervia/web/server/restricted_bridge.py @ 1549:e47c24204449
browser (calls): update call to handle search, control buttons, and better UI/UX:
- adapt to backend changes
- UI and WebRTC parts are not separated
- users can now be searched
- add mute/fullscreen buttons
- ring
- cancellable dialog when a call is received
- status of the call
- animations
- various UI/UX improvments
rel 423
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 09 Aug 2023 00:22:18 +0200 |
parents | 7f3f5ae7d65a |
children | c7d15ded4cbb |
line wrap: on
line diff
--- a/libervia/web/server/restricted_bridge.py Wed Aug 09 00:22:16 2023 +0200 +++ b/libervia/web/server/restricted_bridge.py Wed Aug 09 00:22:18 2023 +0200 @@ -53,6 +53,22 @@ "call_start", entity, call_data_s, profile ) + async def call_answer_sdp( + self, session_id: str, answer_sdp: str, profile: str + ) -> None: + self.no_service_profile(profile) + return await self.host.bridge_call( + "call_answer_sdp", session_id, answer_sdp, profile + ) + + async def call_info( + self, session_id: str, info_type: str, extra_s: str, profile: str + ) -> None: + self.no_service_profile(profile) + return await self.host.bridge_call( + "call_info", session_id, info_type, extra_s, profile + ) + async def call_end(self, session_id: str, call_data: str, profile: str) -> None: self.no_service_profile(profile) return await self.host.bridge_call( @@ -156,6 +172,14 @@ return await self.host.bridge_call( "interest_retract", service_jid, item_id, profile) + async def jingle_terminate( + self, session_id: str, reason: str, reason_txt: str, profile: str + ) -> None: + self.no_service_profile(profile) + return await self.host.bridge_call( + "jingle_terminate", session_id, reason, reason_txt, profile + ) + async def ps_invite( self, invitee_jid_s, service_s, node, item_id, name, extra_s, profile ):