Comments (3)
We didn't test passing external MediaStream object to our API.
Most likely it does not work out of the box. Please post your case on our tech forums at https://forum.flashphoner.com We will report once we have any news on this issue.
from flashphoner_client.
I was able to fix the issue with some minor modification to the client library. I don't think there is an way to do it without this change. It would be a nice feature perhaps, considering most people who would want to integrate the webrtc to rtmp functionality probably already have a way of getting their MediaStream.
For example, this way it would be possible to create a custom MediaStream object from the Web Audio API (see: https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createMediaStreamDestination), which in the current scenario is impossible.
Thanks for the reply!
from flashphoner_client.
We have implemented canvas capturing feature and publishing stream over WebRTC.
Please checkout our demo app.
https://demo.flashphoner.com/client2/examples/demo/streaming/media_devices_managermanager.js
Here you can capture stream from HTML5 Canvas. You need to choose "Canvas" source instead of Cam.
Perhaps it would help to capture arbitrary MediaStream in your case.
from flashphoner_client.
Related Issues (8)
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 flashphoner_client.