This really isn't something Django can do out of the box, but if
you're looking to get simple video streams integrated into your site,
then perhaps consider using LiveStream embed instead?
If you're looking to create your own service, then unless you are a
skilled programmer with experience in multiple languages/frameworks
then you're gonna find this extremely difficult, as you have a ton of
other components which would need to be included and a variety of
technical challenges to overcome.
Previously I worked on a similar project which used Flash fallback for
encoding when WebRTC wasn't available, there are all sorts of weird
edge cases due to browser bugs, including 100% CPU bugs when encoding
streams above 720p in Chrome (which has been outstanding for 2 years).
For flash fallback, you also have to implement IPC between Flash and
JS because you would only want to offload rendering and RTMP to flash,
not the entire interface. I might consider open sourcing this part of
the code if there is interest for it.
Then you have to consider the backend, handling video streams is an
absolute pita and most streaming solutions have poor performance or
leak memory. There are some out of the box streaming servers such as
Wowza, or the awful FMS (stay away from this, seriously), then you
also have to consider bandwidth usage, distributing load, handling
spikes, preventing DoS, mitigating DDoS.. You could look at using
Zencoder live transcode but this isn't cheap by any means (and for
good reason).
If you're looking for a fantastic learning experience, then try
building your own. If you're looking to just get something working,
use LiveStream embed :)
Hope this helps
Cal
On Tue, Jan 27, 2015 at 2:05 PM, Jeremy Hermelin
<contact.hermelin@gmail.com> wrote:
> Hi everybody,
>
> I'm quite new in Django community. I've just learn the basics of the
> framework, and now that I know how to create a "blog-style" website, I'm
> wondering how to integrate video streams in my project. Do you have some
> advices about that ? Any existing app ?
>
> What I am looking for precisely :
> - Capturing video stream from a client's webcam (Maybe the easier will be
> using a script)
> - Sending the stream to the server and then to hundreds of clients connected
> to this session.
>
> In fact, it's really close to Google Hangout.
>
> As I said, I'm new in Django, and also in Python, then I'm sorry if the
> answer is obvious. I've made some research on djangopackages but haven't
> find anything.
>
>
> Have an awesome and fantastic day,
>
> Jeremy
>
> By the way : Wooohhh Django is so easy and powerful at the same time !
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscribe@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/cb8c96bf-854f-4ed5-a803-6cd943c767df%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAHKQagHDyHDS1ud2meVmb0vL2__jvQnET%3DT5YVEPT_PCEZFMMg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment