[Play 2.3 / Scala] Capture video from webcam

173 views
Skip to first unread message

Djon

unread,
Nov 3, 2016, 5:14:10 AM11/3/16
to Play Framework
Hello.

I'm looking for an example how I can capture video from webcam and send it to server. My idea is, that the user call the website, choose the webcam and start transmission. The video will be transmitted to server and store there.

Regards

Greg Methvin

unread,
Nov 3, 2016, 5:27:19 PM11/3/16
to play-framework
There are libraries like this in Java: https://github.com/sarxos/webcam-capture

I can't think of much that's specific to Play that would need to be done.

--
You received this message because you are subscribed to the Google Groups "Play Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framework+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/d5c8872c-3c03-4cc9-84bf-a2f29cf09643%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Greg Methvin
Senior Software Engineer

Will Sargent

unread,
Nov 8, 2016, 3:27:57 PM11/8/16
to play-fr...@googlegroups.com
I gave a talk at Devox about this very topic, although it was the other way around (Play streaming video data through akka streams).

Easiest way to do it is to set up a websocket and start pushing bytes.  See the chatroom example for setting up something dynamically:



--
Will Sargent
Engineer, Lightbend, Inc.


Reply all
Reply to author
Forward
0 new messages