Hi Andrew - With Channels 2, can we have real-time audio/video streaming?
-- Thanks/Tirthankar.
On Saturday, November 5, 2016 at 4:16:21 AM UTC+5:30, Andrew Godwin wrote:
On Saturday, November 5, 2016 at 4:16:21 AM UTC+5:30, Andrew Godwin wrote:
Hi Sandro,Real-time video streaming is pretty intensive, and WebRTC already has some part of this covered, though from what I recall it's in a peer-to-peer fashion. You certainly could marshal it into binary websocket frames, but WebSocket is a non-ideal protocol for video delivery due to the way it's designed.Really, to do something like this properly would require native WebRTC support in Channels, and we don't have that (yet). I'd suggest looking into other software solutions to relay video streams instead.AndrewOn Fri, Nov 4, 2016 at 6:09 PM, Sandro Salles <san...@snippet.com.br> wrote:Hey Andrew,In fact i'm trying to implement a real-time video chat application, using react native on a mobile app (iOS).The app will capture the users video using a module called react-native-webrtc, and send the live stream via websocket to a Django application (using Django Channels) that will then stream that video in real time to all clients that are connect to this video channel.The problem is that i don't know how to handle the incoming video/audio stream. All the examples i found for Django Channels are for text based chats and things like that... but nothing about the ability to handle media streams...I know i could use NodeJS on the server-side, socket.io and some others node modules, but i would really like to use Django to accomplish that.Do you think this is even possibile?Thanks again!--Sandro Sallestelefone. (11) 99203-9014 (cel/whatsapp)On Fri, Nov 4, 2016 at 2:49 PM, Andrew Godwin <and...@aeracode.org> wrote:Hi Sandro,Could you highlight what the problems you're facing are? Channels is not particularly designed for streaming large files - you're better doing that using a CDN or dedicated file streaming software - so I'd be curious to know what the particular issues you're facing are.AndrewOn Fri, Nov 4, 2016 at 5:31 PM, Sandro Salles <san...@snippet.com.br> wrote:Hello Guys,--I can't find any documentation on how to handle video/audio streaming using Django Channels.
I've found an incomplete tutorial here:
https://artandlogic.com/2016/06/django-channels-ground- part-1/
https://artandlogic.com/2016/06/django-channels-ground- part-2/
But as i said, it's incomplete...
Can someone give-me a hand here? I really have absolutely no idea on how to implement this, although i think it's possible.
Thanks in advance!
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...@googlegroups.com .
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users .
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/44eb8328- .836c-4e52-843f-5e7ba5533b46% 40googlegroups.com
For more options, visit https://groups.google.com/d/optout .
To view this discussion on the web visit https://groups.google.com/d/--
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...@googlegroups.com .
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users .msgid/django-users/ .CAFwN1uozrjLW2eNFoRAZLzkhu_ RLkWBfnVUmvhq9GcB69893HQ% 40mail.gmail.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...@googlegroups.com .
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users .
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/ .CADJ0nrOOszYvvT40aZhYptMVqjrdd 0yY-2T0ra-oNC%3DfuQwKgw% 40mail.gmail.com
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 https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/7ea08ced-8b5a-428e-927b-aab86d63912a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment