Extract Viewport Image/Snapshot/Stream/Buffer to Send to Media Server.

8 views
Skip to first unread message

Shad Claiborne

unread,
Oct 20, 2016, 1:13:32 AM10/20/16
to Chromium-discuss
Hello,

I am making a little project for hobby and was wondering if someone can point me in the right direction. The goal is to republish/stream the webpage client viewport to a media server upon update. How difficult would this be? Where in the source code should I be looking?

Many, many thanks ahead of time for any assistance. 

Thank you!

PhistucK

unread,
Oct 20, 2016, 1:27:50 AM10/20/16
to shadcl...@gmail.com, Chromium-discuss
It should not be too hard, the pieces are already there. Extensions already have a way to stream the tab through WebRTC (there are probably better examples than that one), so if you use extensions, you do not need to modify the browser itself at all.
You do need a WebRTC compatible client (server?) on the other side in order to accept the stream. discuss-webrtc might be helpful there, if your searches do not yield anything useful.

For screenshots, extensions have some tab capture API somewhere, look it up in the documentation.


PhistucK

--
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+unsubscribe@chromium.org.

Reply all
Reply to author
Forward
0 new messages