Getting image data from webRTC stream

I am working on a webrtc screen sharing app. I have an extension that does the following:

desktopMediaRequestId = chrome.desktopCapture.chooseDesktopMedia(data_sources, tab, function(streamId) {
if (streamId) {
  msg.type = 'SUCESS';
  msg.streamId = streamId;
} else {
  msg.type = 'FAILURE';
}
port.postMessage(msg);}); 

      

I can use this thread id for screen sharing. But anyway, I can get image data with this stream id?

+3
javascript google-chrome webrtc


source to share


No one has answered this question yet

See similar questions:

3
WebRTC / WebSocket Screen Recording

or similar:

7494
How can I remove a specific element from an array in JavaScript?
5722
How can I remove a property from a JavaScript object?
5129
How do I return a response from an asynchronous call?
3796
How do you get the timestamp in JavaScript?
2853
Get the current url using JavaScript?
2701
How do I get the values โ€‹โ€‹of a query string in JavaScript?
2256
Set default parameter value for JavaScript function
1350
Where can I find documentation on formatting dates in JavaScript?
1001
Is Safari iOS 6 caching $ .ajax results?
557
AngularJS passes data to $ http.get request



All Articles
Loading...
X
Show
Funny
Dev
Pics