openvidu | OpenVidu Platform main repository | Video Utils library
kandi X-RAY | openvidu Summary
kandi X-RAY | openvidu Summary
OpenVidu Platform main repository
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Creates a RecordingPropertiesBuilder from the session properties .
- Add KMS events to endpoint .
- Publish a video .
- Checks that the recording paths are valid
- This method performs the initial endpoint initialization .
- Generate connection listener for KMS client .
- Invoked when a participant is joined .
- Set the codec for the given video codec .
- Start recording endpoint for a single stream endpoint .
- Stop recording .
openvidu Key Features
openvidu Examples and Code Snippets
Community Discussions
Trending Discussions on openvidu
QUESTION
Im building an Angular app which allows 2 users to video call each other using Openvidu calling solution.
Within this app I developed a feature of changing the camera or microphone which you are actively using on the call.
Once selecting the new microphone, the previous microphone track is stopped and removed from the stream, before adding the new one. This process is encapsulated in the below code:
...ANSWER
Answered 2021-Dec-19 at 14:51So I have this working on Firefox, Safari and Google browser so feel free to use this code.
The reason I was experiencing the echo issue is because I was running the initwebcamPublisher()
in ngOnInit()
of the Settings component... This funtion already runs once on initiation of the app, and doing it once more causes some sort of duplicate in the webcam publisher.
In removing that I am left with the working onMicrophoneSelect()
:
QUESTION
2 FFMPEG process
(1) generating a ffmpeg x11grab to a .mp4 (2) take the .mp4 and restream it simultaneously to multiple rtmp endpoints
ISSUE the generated file in (1) have this error "moov atom not found"
This is the command that generate (1) :
...ANSWER
Answered 2021-Jun-02 at 03:01With those changes, I'm able to acheive 3 to 4 stable delay ;)
LINE 79 of
I REPLACED
QUESTION
We have hanging problem (the app freezes due of main thread lock) with our iOS (swift) native app with OpenVidu implementation (which uses GoogleWebRTC under the hood). The specific conditions required: need to join existing room with at least 8 participants already streaming. With 6 participants it happens less often and almost never with less than 6. It doesn't hang if participants join one by one, only if you join the room with all other participants already streaming. This indicates concurrent nature of the issue.
The GoogleWebRTC hangs on setRemoteDescription
call:
ANSWER
Answered 2021-May-26 at 03:45The WebRTC Obj-C API can be called from any thread, but most method calls are passed to WebRTC's internal thread called signalling thread
.
Also, callbacks/observers like SetLocalDescriptionObserverInterface
or RTCSetSessionDescriptionCompletionHandler
are called from WebRTC on the signaling thread
.
Looking at the screenshots, it seems that the signaling thread is currently blocked and can no longer call WebRTC API calls.
So, to avoid deadlocks, it's a good idea to create your own thread / dispatch_queue
and handle callbacks.
See https://webrtc.googlesource.com/src/+/0a52ede821ba12ee6fff6260d69cddcca5b86a4e/api/g3doc/index.md and https://webrtc.googlesource.com/src/+/0a52ede821ba12ee6fff6260d69cddcca5b86a4e/api/g3doc/threading_design.md for details.
QUESTION
My WebRTC randomly crashes with Fatal signal 6 error. Specially on low networks. Can anyone please tell me what the reason can be or has any idea. I'm using Openvidu Android Client for WebRTC implementation.
Stack Trace :
...ANSWER
Answered 2021-Apr-05 at 11:56I found the solution, looks like this issue was device specific and required some configurations. From logs its clear that device's audioserver was crashing on a very rudimentary level. I switched from using MODE_IN_CALL to MODE_IN_COMMUNICATION for speakerphone and mic both and this issue disappeared. It's a weird issue and the solution is even weirder but it works. The device I was using was a AR Smart Glass that has a mic continuously 'on' to listen to your voice commands, I think that was the culprit or maybe misconfigured hardware drivers.
QUESTION
I use openvidu in my app. When I subscribe to a publisher video, publisher's sound comes out from the earpiece (like during a call). How can I set output source to speaker?
...ANSWER
Answered 2020-Mar-04 at 20:22This can be achieved by doing the following in Ionic 4+.
1. You need to use the following plugin
QUESTION
I have to be able to record an incoming video call into a file. The recording must be done on the desktop application, built with electron. I'm using OpenVidu as a streaming platform. Is there any way to do that?
...ANSWER
Answered 2020-Feb-17 at 21:04@Vasniktel Technically it could be possible to record the video client side as there are a number of WebRTC examples that record locally on the client, however this is not natvie to openvidu. However recording on electronjs is...
github.com/hokein/electron-screen-recorder
tutorialspoint.com/electron/… You could integrate recording separately along side your openvidu app.
The main difference here is that you want to record an incoming call and while you likely won't be able to just write the incoming webrtc data you should be able to record the area of the app (canvas) where the video player is rendered. You will be re-encoding the decoded rendered video stream, but it shouldn't be too much of a hit performance wise.
QUESTION
I need to implement video call in my application, then I discovered webrtc, and simple-peer for nodejs. I just have one problem, because it's peer to peer, I suppose the users aren't anonymous, they can get their ip each others.
I know facebook, amazon chime use webrtc, how do they hide those ip ? Do they pass the stream through a server? Use turn server ?
Would openvidu hide ip ?
Or just can I simply for each video room create peer in nodejs process, and connect to every user and distribute the video ?
Thanks
ANSWER
Answered 2020-Jan-27 at 15:46In peer-to-peer mode, you can ensure the IP addresses of the peers aren't revealed by setting up and forcing the use of TURN server (using the iceTransportPolicy
option of relay
in the RTCPeerConnection()
constructor).
Alternatively, using an intermediary media server (e.g. an SFU or a MCU) would also achieve the same effect.
QUESTION
I use ReactJS to display a live stream (from my webcam) using the HTML5 video element. The OpenVidu media server handles the backend.
I would like to use the canvas
element to draw the video live stream onto the canvas using the drawImage() method.
I have seen other examples, but in them the video element always has a source. Mine does not have a source - when I inspect the video element all I see is:
This is what I have tried, however the canvas does not work.
...ANSWER
Answered 2020-Jan-23 at 06:34You are using useEffect without parameter which mean your useEffect will call in every render
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install openvidu
You can use openvidu like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the openvidu component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page