I'm working on an app to be able to steam audio.mp3 from a remote server. I am new to coding and am looking for some direction on the best way to do this and the code that is needed. I know its a basic and elementary question but a response would be appreciated! thanks.
Related
I am willing to use this https://github.com/awslabs/amazon-kinesis-video-streams-webrtc-sdk-js for accessing KVSWebRTC for our onsite camera video streaming. I want to run this code on the server which is reading the camera stream (rtsp) from a port. While i was porting this code to be run on server side (JS code running on NODEJS), I came to know that code is using a lot of browser APIs for access laptop camera. Can anyone suggest me how can i stream rtsp camera using this code? I am currently struggling with how to get stream out of rtsp camera so that i can integrate it with this code?
Below is the code part which i need to make a change: https://github.com/awslabs/amazon-kinesis-video-streams-webrtc-sdk-js/blob/master/examples/master.js#L111
Any help with will be highly appreciated.
https://github.com/awslabs/amazon-kinesis-video-streams-webrtc-sdk-js contains an implementation of the KVS Signaling client and a sample that ties up the browsers WebRTC implementation together with the signaling in an application. In order to stream a generic rtsp you will need to modify the browsers implementation of the webrtc or add your own handling of the webrtc in the first place and feed the frames into the webrtc of the browser.
You could also check out the native C-based WebRTC implementation from KVS: https://github.com/awslabs/amazon-kinesis-video-streams-webrtc-sdk-c
I’m looking to essentially use two devices: raspberry pi 3 and Mac 10.15. I am using the pi to capture video from my web cam and I want to use my Mac to kind of extend to the pi so when I use cv2.videocapture I can capture that same video in preferably real-time or something close. I’m programming this using python on bout devices. I thought of putting it on a local server and retrieving it but I have no idea how I could use that with opencv. If someone could provide and explain a useful example, I would greatly appreciate it. Thank you.
To transfer a video stream, you could use instead of a custom solution a RTMP server on the source machine feeding it with the cam source and the target opens the stream and processes it.
A similar approach to mine is widely implemented into IP cameras: They run a RTMP server to make the stream available for phones and PC.
I've walkie-talkies sending the speech via RTP (G711a) into my LAN. My goal now is to take this audio-stream and provide it (one-to-many) to different Web-Clients. My preferred solution is to do this via WebRTC, but I can't find the right tools to deal with. My favorite environment is Node.js and C/C++.
Anybody out there who can help me, to find the right entry/the tools for this task?
I want to make an Web app which streams user's webcam which broadcast to viewers
like one to many!
I know getuserMedia() will help me to get user's webcam. now how to stream this data with audio.
I google about this i get few result like using WebRTC and peerjs can do this but I need some kick-start guide like some code or documentation!
Well, you can try easyrtc, is a node.js library for giving WebRTC support to your apps. Is open source and packs some cool demos for you to start making awesome stuff.
everybody would like to help you, I need indication of a free software for streaming video, more accurate meet some needs
A transmission enabling accurate real-time
create playlist for playback (for when not live)
able to transmit live remotely.
some good streaming video for linux requires a webcam or video files is within the own server to stream live, broadcast remotely accurate
my dedicated server will take charge of Transmit, and will get the client computer that will be in Brazil, I need remotely, so far not found it'm hoping you indicate me some good
obs: to be a free software
if someone can indicate'm very grateful, thank you for your attention.
The only big robust free software I know of is red5:
http://www.red5.org/
You may also want to look into the NGINX streaming module. I played with it for a little bit and it worked great. I never tested it with a high load though:
https://github.com/arut/nginx-rtmp-module
However, where I work we use Wowza. Its not free but man is it so easy and so good:
http://www.wowza.com/
So the thing about all these is I have never done what you are saying. I've used all three of these for live streaming and they all will work but I have never done a simulated live streaming like what you are looking for. I know Wowza can do it, I would be shocked if Red5 couldnt and I have no idea about Nginx. Its not the best answer but hopefully it gives you some options.
I know VLC has some playlist to streaming abilities so if anything you can use VLC from the client side and then just push it to Red5. Hopefully this points you in the right direction!