How to use WebRTC with a custom video stream

868 views
Skip to first unread message

Chris

unread,
Jan 24, 2012, 10:20:55 AM1/24/12
to discuss-webrtc
Hi,

I would like to know how to create a remote custom media stream via
WebRTC ?
What I am trying to do is to encode a video stream that will be sent
from the server to a webbrowser through WebRTC but the video stream is
not a simple video, it's built "real-time" depending on client
requests.
The streaming requires low latency so that the <video> tag is not an
option for me.

The current sample only uses local stream from webcam or other device
so I was wondering what API should be used for other content type.

Thanks

Jan

unread,
May 16, 2012, 7:32:59 AM5/16/12
to discuss...@googlegroups.com
Sorry for digging this up, but I have the same question.

I have a service that generates video data on the fly, which I want to send to clients.

I assume one would have to build a complete WebRTC client on the server that behaves like any other browser client, somehow feeding the image data to it?
Or is there a way to open plain remote RTP streams using the WebRTC browser API?

Thanks,
Jan

Punyabrata Ray

unread,
May 16, 2012, 7:46:24 PM5/16/12
to discuss...@googlegroups.com
Hi Jan, Chris,

As mentioned in some of the earlier threads, we are focused on 2-way browser to browser communications. Therefore we will not be of much help at this time for your particular use case. But there might be other developers in this forum who have gotten further in these pursuits and hopefully they will be able to provide further guidance.

-pr

Justin Uberti

unread,
Jun 16, 2013, 5:08:14 PM6/16/13
to discuss-webrtc
The approach that others are using is to compile the WebRTC+libjingle code (i.e. peerconnection) as a server module and integrating it into a C++ server. Then, you can create a VideoSource that you feed with your own generated frames.

You may also be able to do this using the PeerConnection.java Java bindings.


On Tue, Jun 11, 2013 at 1:14 PM, ZhiCheng Miao <hellwol...@gmail.com> wrote:
Hi,

I have the similar question, have you guys found out any new answers to this question?

Thank you!
Miao
--
 
---
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.
 
 

Reply all
Reply to author
Forward
0 new messages