I am trying to build a live-streaming web application. I am using a Java FFmpeg wrapper and using it to stream my webcam feed live to AWS MediaLive, which channels to MediaPackage to transcode and send the feed back to the website. However, while this would work locally, I will eventually have to host this application on something like AWS EC2, and detect a user's webcam and audio through the server (with FFmpeg being installed on the EC2 instance).
How can I do this? Services like Discord ask permission for the audio device on the browser and access it. How do websites like Discord achieve this?
Related
I am implementing secure HLS streaming for my educational website like udemy and other platform , the content will be streamed from Amazon s3. I have already implemented a demo where I am streaming from my local server with encrypted HLS file while getting the chunks from server the enc.key file is also available in the network tab, So is this safe to have it or some other strategies like DRM need to apply.
I've been looking for days a solution to convert a video stream (video/webcam) from a web browser to a backend RTSP stream.
All I could find was backwards, from RTSP to WebSockets (to display in a web page).
I want the user to choose from a web browser client, a video or webcam locally and then send it to a nodejs server.
Opening a webcam and send the chunks via websockets, seems easy, but how to "convert" these chunks of video to a RTSP server, and then connect via VLC to see the stream ?
Thank you in advance.
I have an IP camera that streams continuously via RTSP and I'd like to display that stream in a DOM element in my Vue.js app. I can access the stream using a GStreamer pipeline and sink it either locally or on a tcp server but I can't get it to display in my Vue.js app. Has anybody tried this?
I am currently trying to use Google Speech API to do a live speech to text transcription in a web application. In order to do that I have to use the RPC streaming recognition (web sockets). I know there are multiple client libraries, but none of them gives the possibility to stream the audio directly from the web app to the Google Speech API. No plain javascript libraries.
I also know it probably is possible to do this by setting up a web socket connection between the front-end and the backend, and then, in my case, use the NodeJS client library to stream to the Google Speech API. However, this seems to be unnecessary complex.
Is there really no supported way of using the streaming recognition directly from a web app?
Does anyone know how this could be done?
EDIT
I havent gotten as far as actually sending a stream to the service, which is the baseline of my question.
Let me rephrase my question: Is there a way to send an audio stream to the Google Speech API directly from the browser/microphone? My app is created in JavaScript (Angular).
I've used IBM Watson S2T before, and they deliver a JavaScript SDK available through bower that can transcript audio from microphone directly to the service without passing it through a backend layer.
Regards,
Kjetil
How to build xmpp over web sockets web chat application like gtalk using javascript+html or asp.net?
ıt accepts file transfer, video conferencing, private or group chatting. Multiple users and servers can communicate with each other.
If you want your chat system to work with google's gtalk, or If you want to create your own chat server and make private system you will need to implement xmpp on javascript,
follow the links that will help you
http://professionalxmpp.com/
https://github.com/maxpowel/jQuery-XMPP-plugin
There are two ways to achieve your goal:
You can build your own chat solution from scratch (build backend solution using XMPP XEPs, etc. and client-side app)
To make it easier for you, you can use a ready backend and SDK provided by some BaaS providers. In such way you can concentrate on building client-side solution and its UI while you already have a ready backend and a set of requests to connect to that backend and use it.
You can try ConnectyCube since it has both chat and video chat. For video chat they have two options: WebRTC peer-to-peer solution and SFU based one.