Stream File Using WebRTC

1,304 views
Skip to first unread message

teodora cvetanova

unread,
Apr 4, 2013, 9:51:52 AM4/4/13
to discuss...@googlegroups.com
Hello everyone,
I am trying to stream webm file or other format using webrtc peer connection.
I must make stream from file and send it with javascript in chrome or mozila.
Is somebody know api which i can use to make it?

Best Regards,
Teo.

PhistucK

unread,
Apr 4, 2013, 1:12:41 PM4/4/13
to WebRTC-discuss
I believe this is currently impossible using Chrome.


PhistucK


--
 
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

teodora cvetanova

unread,
Apr 5, 2013, 7:23:14 AM4/5/13
to discuss...@googlegroups.com
Ok,
Do you know other way to make it possible :? I need it for test.

Henrik Andreasson

unread,
Apr 5, 2013, 7:52:09 AM4/5/13
to discuss...@googlegroups.com
This demo http://simpl.info/webrtcwebaudio/ illustrates how a file can be used as source and sent to a remote peer using PeerConnection.
It is a combination of WebAudio and WebRTC APIs.

PhistucK

unread,
Apr 5, 2013, 8:10:30 AM4/5/13
to WebRTC-discuss
Oh, so this is an audio only solution.
I will keep that in mind. Sorry for the false information.


PhistucK

Henrik Andreasson

unread,
Apr 5, 2013, 8:23:41 AM4/5/13
to discuss...@googlegroups.com
It does not use getUserMedia() if that is what you mean by "audio only solution". Instead the source is a file.

PhistucK

unread,
Apr 5, 2013, 8:25:56 AM4/5/13
to WebRTC-discuss
No, I meant that due the fact that the Web Audio is the main ingredient in making this work (using Web Audio you create a media stream), this will only work for audio and there is no solution for video at the moment. Am I wrong?


PhistucK

Henrik Andreasson

unread,
Apr 5, 2013, 8:51:34 AM4/5/13
to discuss...@googlegroups.com
WebAudio is for audio only, yes.

Arnaud Morin

unread,
Apr 5, 2013, 7:39:55 AM4/5/13
to discuss...@googlegroups.com
Did you try to do something with DataChannel API?
You can transfer file with it, maybe streaming is also doable...

michael valladolid

unread,
Jul 17, 2013, 2:05:15 AM7/17/13
to discuss...@googlegroups.com
I tried the demo and chrome crashes when pressing the call button. Anything that needs to be set inorder to get this working?

Thanks

Vikas

unread,
Jul 17, 2013, 3:29:39 PM7/17/13
to discuss...@googlegroups.com
Hi,

Did you try this demo :http://simpl.info/webrtcwebaudio/? What version of chrome you tested on? 

/Vikas
Reply all
Reply to author
Forward
0 new messages