Comments (7)
I am working on video room example optimization to illustrate all possible functionality with v2 api stay tuned
from flutter_janus_client.
@Osamaegy Janus server emits unpublished events you can use that event to set null for that particular remoterender and update the ui accordingly
from flutter_janus_client.
i have no good experience on video room but this is a Janus server event ....so if Janus does not receive video feed it will notify all the through server events ...within a time you specify in Janus config file (default is 1 second)
from flutter_janus_client.
I have some question: how can I track, when some turns off his video/audio ?
from flutter_janus_client.
@CoMatu janus server emit different event according to the state of webrtc of the device ... listen these event either by HTTP, websockets or MQTT (https://janus.conf.meetecho.com/docs/eventhandlers.html)
here is a good article from the main developers of the Janus webrtc server on events https://www.meetecho.com/blog/event-handlers-a-practical-example/
from flutter_janus_client.
@kzawadi Thanks for the answer! Have yoy some expamles for mute/unmute microphone?
from flutter_janus_client.
Hello, @CoMatu ... muting and unmuting the mic is flutter side and you have to handle it I mean it's not Janus related or even webrtc related directly.... those are just media controllers ...The following is my ideal implementation... I have a button on flutter is has two states e.g mute and unmuting... when this button is used it creates an event that can be listened to by all devices on that audio session here am using a pubsub server (PubNub or google pubsub) as you can see up to this point no webrtc related stuff so far ... and so all devices on that conference call when they get a certain notification from that pubsub server they know what it means e.g the sender of this message we just got has muted his/her mic ... and other stuff like kicking a misbehaving user from the session... an admin can send a pubsub notification to all devices on that session and the client when getting the notification it executes a required function like leaving the session. another use case a user raises a hand ..what happens logically is they send a pubsub notification and an admin side gets a notification that a user has raised his/her hand and if an admin is okay letting you talk he will just click allow but logical again it's a pubsub notification transmitted with an allow notifications... So what about Janus Server ...Janus server automatically measures decibel levels and emit events according to the decibel level of the devices... events here are "talking" and "stop talking"... and you can adjust the level of the session when starting the client on creating a session/room or joining.
{"audio_level_average": <average value of audio level (127=muted, 0='too loud', default=25)>, "audiolevel_event" : <true|false (whether to emit event to other users or not)>,}
Thanks
from flutter_janus_client.
Related Issues (20)
- if network refresh/reset/reconnect then how to reconnect janus videoroom publisher and subscriber again? HOT 1
- hard decoding HOT 3
- Failing to build for web HOT 4
- Problem with microphone HOT 2
- In Android call directly run on a Speaker mode. HOT 1
- Bump http version to 1.0.0 HOT 2
- android exception HOT 10
- How to check session's status in text room plugin HOT 2
- Switch audio Route HOT 2
- Re-joining a call not working for videoroom plugin HOT 15
- Can't mute or use speaker HOT 7
- Audio Output on IOS HOT 2
- RTCVideoRenderer Video rendering and steaming issue HOT 3
- Cannot capture screen whith no media devices HOT 3
- isUnifiedPlan = true is not working HOT 7
- Error When try to create an answer HOT 16
- IOS device not publishing their own video in video room HOT 11
- [Linux] Error when disposing VideoRoomPlugin HOT 2
- join google meet only as audience not publishing anything HOT 9
- Cant use RTCIceServer without credential/password HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter_janus_client.