Electron App to stream webcam to RTMP server? - windows

I want to build a dekstop-App which can stream the Webcam-source to a RTMP-server.
I already build a native App which does this on mobile devices (Android and iOS) with the videocamera. Now I want that same thing to do in a desktop-App. I cannot figure out how to achieve this. Is this even possible directly; webcam source to rtmp?

Related

Xamarin XCT Media Element not playing recorded audio on Android

I am using the AudioRecorder Plugin to record audio and then save it / play it back using the XCT Media element control.
Working fine on iPhone, however on Android it's not playing back the audio at all - either locally or from a URL.
I've taken a copy of the Xamarin sample project (https://github.com/xamarin/xamarin-forms-samples/tree/main/UserInterface/MediaElementDemos) and replaced the URL in the PlayWebAudioPage with the link to my recorded Audio file and it just doesn't play on Android.
Any ideas on how to investigate this further / fix?
The file plays fine on iPhone, on the computer web browser, VLC etc.

MJPEG stream via URL to webcam device on Mac

I have a video device that exposes an MJPEG stream via a URL. For windows there are utility apps that can "create" a system webcam device useable by Skype or any other application based on the URL this video device exposes.
Example: smart phone is broadcasting MJPEG URL. Windows computer can run a utility app to "create" a system webcam based off of the MJPEG stream and then that webcam be used via Skype. The video shown is what the phone is broadcasting.
I'm trying to do the same but for my Mac. I can't seem to find any utility that creates a system webcam from an MJPEG stream. Googling isn't helping either, I'm just not finding a solid solution or anything I recognize as a solution.
Thanks!
I've had success with obs-studio and its vlc and virtual camera plugins.
You can add a "Vlc Video Source" and then click "Start Virtual Camera".
If you want to use it as a web-cam I just recommend that you reduce the "Network Caching (ms)" setting in the vlc video source settings as much as possible.
The hard-coded minimal value is 100ms, you can reduce it by changing this line: https://github.com/obsproject/obs-studio/blob/7217671eb0812681a9f83858bb02065b671673e7/plugins/vlc-video/vlc-video-source.c#L1079
There is still significant delay with this method regardless, but it's better than not having it working at all.

How to implement airplay for mac application to change sound output source while streaming?

I am new to mac development,currently I am working an app that streams video and audio files hosted on the web.How can I implement airplay feature to change the sound output source ? I am using JKAudioManager to get all the airplay devices and AudioStreamer to stream the files.
How can I switch between different devices using these two api's ? Is there any other way to do this also?

Regarding Chromecast live video transcoding and subtitles

I'm planning to add more features to the current Chromecast android application that i have developed.
Does the chromecast mediaplayer api have some mechanism to trans-code the video on the fly? Also, is there an API which can help me display subtitles within the chromecast?
There is no api for transcoding. As for subtitles, it was added in the latest version of the SDK, you need to look at each SDK (receiver, iOS or Android) to see what has been added.

locate media source of playing medie wp

does Anybody know if it is possible to capture the media you are playing on windows phone, so you can stream it to another source,
Just like apple does with airplay
No, it is not possible to write a 3rd party app that can capture audio or video from other apps and stream it somewhere else.
Airplay on iOS is a system level service that apps can use.
The closest thing Windows Phone has is Play To, which allows you to pick existing media on the phone (pictures, music, video, etc) and share it to a compatible device. Currently, this technology isn't available to developers.

Resources