# Subscribe and display video stream without browser

**URL:** <https://discourse.lynckia.com/t/subscribe-and-display-video-stream-without-browser/308>\
**Category:** Uncategorized\
**Created:** [November 3, 2014, 4:01am UTC](https://discourse.lynckia.com/t/subscribe-and-display-video-stream-without-browser/308 "2014-11-03T04:01:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Konstantin\_Aleksandr](https://avatars.discourse-cdn.com/v4/letter/k/9dc877/32.png) [@Konstantin\_Aleksandr](https://discourse.lynckia.com/u/Konstantin_Aleksandr)\
**Post date:** [November 3, 2014, 4:01am UTC](https://discourse.lynckia.com/t/subscribe-and-display-video-stream-without-browser/308/1 "2014-11-03T04:01:28Z")

</div>

Hi,

We are going to implement the following task:

1. Publisher broadcasts a Licode stream via browser.
2. The application subscribes the stream and displays it in a window or  
writes the video into a file.

Guys could you please highlight the points from where we should start with  
No. 2?

I’ve checked the Erizo library  
[https://github.com/ging/licode/tree/master/erizo](https://github.com/ging/licode/tree/master/erizo), it seems to support  
concepts of a lower level compare to Room, Stream and Connection.

Do you think we should check the erizoClient code  
[https://github.com/ging/licode/tree/master/erizo\_controller/erizoClient/src](https://github.com/ging/licode/tree/master/erizo_controller/erizoClient/src) to  
figure out the internals of the room implementation first and then work  
with erizo?

Please advise, thank you!

---

<div class="post-metadata">

**Author:** ![Konstantin\_Aleksandr](https://avatars.discourse-cdn.com/v4/letter/k/9dc877/32.png) [@Konstantin\_Aleksandr](https://discourse.lynckia.com/u/Konstantin_Aleksandr)\
**Post date:** [November 3, 2014, 12:53pm UTC](https://discourse.lynckia.com/t/subscribe-and-display-video-stream-without-browser/308/2 "2014-11-03T12:53:36Z")

</div>

Hi,

Thanks for the answer!

We actually need to write Erizo video stream to an SDI video card using  
Blackmagic API (without visible delay preferably), so I was thinking that  
to display a stream by a C++ client would be a good first step.

And in the future we also want to have the possibility to broadcast from  
non-browser client.

What you would recommend in this case then?On Mon, Nov 3, 2014 at 1:12 PM, Pedro Rodriguez [lodoyun@gmail.com](mailto:lodoyun@gmail.com) wrote:

> Hi,
> 
> Well, it depends on exactly what you want to do. Currently, Licode can  
> record videos on the server side. Just take a look at the API  
> [Redirecting…](http://lynckia.com/licode/client-api.html)
> 
> Do you really need a standalone application to write the video to a file?  
> If that is the case you have several options:
> 
> - Adapting erizo (WebRTCconnection and the signalling, mostly) to be able  
> to receive streams from other erizos
> - Using another OpenSource WebRTC implementation and adapt the signalling  
> by taking a look at erizoClient.  
> …
> 
> Cheers,
> 
> –  
> Pedro Rodriguez
> 
> On 03 Nov 2014, at 05:01, Konstantin Aleksandrov [iwuvjhdva@gmail.com](mailto:iwuvjhdva@gmail.com) wrote:
> 
> Hi,
> 
> We are going to implement the following task:
> 
> 1. Publisher broadcasts a Licode stream via browser.
> 2. The application subscribes the stream and displays it in a window  
> or writes the video into a file.
> 
> Guys could you please highlight the points from where we should start with  
> No. 2?
> 
> I’ve checked the Erizo library  
> [https://github.com/ging/licode/tree/master/erizo](https://github.com/ging/licode/tree/master/erizo), it seems to support  
> concepts of a lower level compare to Room, Stream and Connection.
> 
> Do you think we should check the erizoClient code  
> [https://github.com/ging/licode/tree/master/erizo\_controller/erizoClient/src](https://github.com/ging/licode/tree/master/erizo_controller/erizoClient/src) to  
> figure out the internals of the room implementation first and then work  
> with erizo?
> 
> Please advise, thank you!
> 
> –  
> You received this message because you are subscribed to the Google Groups  
> “lynckia” group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [lynckia+unsubscribe@googlegroups.com](mailto:lynckia+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> –  
> You received this message because you are subscribed to the Google Groups  
> “lynckia” group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [lynckia+unsubscribe@googlegroups.com](mailto:lynckia+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

–  
Kind regards,  
Konstantin Alexandrov

> **[Illuzia.net Read The Latest News And Top Stories Globally](https://illuzia.net/)**
>
> latest news and top stories globally from illuzia.net, your source for daily updated news headlines, entertainment news, sports news & more!

---

<div class="post-metadata">

**Author:** ![Pedro\_Rodriguez](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.lynckia.com/pedro_rodriguez/32/23_2.png) [@Pedro\_Rodriguez](https://discourse.lynckia.com/u/Pedro_Rodriguez)\
**Post date:** [November 3, 2014, 4:14pm UTC](https://discourse.lynckia.com/t/subscribe-and-display-video-stream-without-browser/308/3 "2014-11-03T16:14:58Z")

</div>

Well, again, it depends.

At this point, erizo is not designed to work as a WebRTC client independently from Licode. I would think of a way to make Licode do what I want, possibly by experimenting with ExternalOutput and ExternalInput. You can, of course implement a stand-alone erizo understanding erizoController, erizoClient and erizoJS. You should be able to do that in Javascript alone.

Alternatively, you should be able to make Licode work with any implementation of WebRTC that is compatible with Chrome/Firefox without a lot of work. That is probably a good way to proceed.

Best,–  
Pedro Rodriguez

> On 03 Nov 2014, at 13:53, Konstantin Aleksandrov [iwuvjhdva@gmail.com](mailto:iwuvjhdva@gmail.com) wrote:
> 
> Hi,
> 
> Thanks for the answer!
> 
> We actually need to write Erizo video stream to an SDI video card using Blackmagic API (without visible delay preferably), so I was thinking that to display a stream by a C++ client would be a good first step.
> 
> And in the future we also want to have the possibility to broadcast from non-browser client.
> 
> What you would recommend in this case then?
> 
> On Mon, Nov 3, 2014 at 1:12 PM, Pedro Rodriguez \<[lodoyun@gmail.com](mailto:lodoyun@gmail.com) [mailto:lodoyun@gmail.com](mailto:lodoyun@gmail.com)\> wrote:  
> Hi,
> 
> Well, it depends on exactly what you want to do. Currently, Licode can record videos on the server side. Just take a look at the API [Redirecting…](http://lynckia.com/licode/client-api.html) [http://lynckia.com/licode/client-api.html](http://lynckia.com/licode/client-api.html)
> 
> Do you really need a standalone application to write the video to a file? If that is the case you have several options:
> 
> - Adapting erizo (WebRTCconnection and the signalling, mostly) to be able to receive streams from other erizos
> - Using another OpenSource WebRTC implementation and adapt the signalling by taking a look at erizoClient.  
> …
> 
> Cheers,
> 
> –  
> Pedro Rodriguez
> 
> > On 03 Nov 2014, at 05:01, Konstantin Aleksandrov \<[iwuvjhdva@gmail.com](mailto:iwuvjhdva@gmail.com) [mailto:iwuvjhdva@gmail.com](mailto:iwuvjhdva@gmail.com)\> wrote:
> > 
> > Hi,
> > 
> > We are going to implement the following task:  
> > Publisher broadcasts a Licode stream via browser.  
> > The application subscribes the stream and displays it in a window or writes the video into a file.  
> > Guys could you please highlight the points from where we should start with No. 2?
> > 
> > I’ve checked the Erizo library [https://github.com/ging/licode/tree/master/erizo](https://github.com/ging/licode/tree/master/erizo), it seems to support concepts of a lower level compare to Room, Stream and Connection.
> > 
> > Do you think we should check the erizoClient code [https://github.com/ging/licode/tree/master/erizo\_controller/erizoClient/src](https://github.com/ging/licode/tree/master/erizo_controller/erizoClient/src) to figure out the internals of the room implementation first and then work with erizo?
> > 
> > Please advise, thank you!
> > 
> > –  
> > You received this message because you are subscribed to the Google Groups “lynckia” group.  
> > To unsubscribe from this group and stop receiving emails from it, send an email to [lynckia+unsubscribe@googlegroups.com](mailto:lynckia+unsubscribe@googlegroups.com) [mailto:lynckia+unsubscribe@googlegroups.com](mailto:lynckia+unsubscribe@googlegroups.com).  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout) [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> –  
> You received this message because you are subscribed to the Google Groups “lynckia” group.  
> To unsubscribe from this group and stop receiving emails from it, send an email to [lynckia+unsubscribe@googlegroups.com](mailto:lynckia+unsubscribe@googlegroups.com) [mailto:lynckia+unsubscribe@googlegroups.com](mailto:lynckia+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout) [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> –  
> Kind regards,  
> Konstantin Alexandrov
> 
> [http://illuzia.net](http://illuzia.net) [http://illuzia.net/](http://illuzia.net/)
> 
> –  
> You received this message because you are subscribed to the Google Groups “lynckia” group.  
> To unsubscribe from this group and stop receiving emails from it, send an email to [lynckia+unsubscribe@googlegroups.com](mailto:lynckia+unsubscribe@googlegroups.com) [mailto:lynckia+unsubscribe@googlegroups.com](mailto:lynckia+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout) [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Pedro\_Rodriguez](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.lynckia.com/pedro_rodriguez/32/23_2.png) [@Pedro\_Rodriguez](https://discourse.lynckia.com/u/Pedro_Rodriguez)\
**Post date:** [November 3, 2014, 12:12pm UTC](https://discourse.lynckia.com/t/subscribe-and-display-video-stream-without-browser/308/4 "2014-11-03T12:12:19Z")

</div>

Hi,

Well, it depends on exactly what you want to do. Currently, Licode can record videos on the server side. Just take a look at the API [Redirecting…](http://lynckia.com/licode/client-api.html) [http://lynckia.com/licode/client-api.html](http://lynckia.com/licode/client-api.html)

Do you really need a standalone application to write the video to a file? If that is the case you have several options:

- Adapting erizo (WebRTCconnection and the signalling, mostly) to be able to receive streams from other erizos
- Using another OpenSource WebRTC implementation and adapt the signalling by taking a look at erizoClient.  
…

Cheers,–  
Pedro Rodriguez

> On 03 Nov 2014, at 05:01, Konstantin Aleksandrov [iwuvjhdva@gmail.com](mailto:iwuvjhdva@gmail.com) wrote:
> 
> Hi,
> 
> We are going to implement the following task:  
> Publisher broadcasts a Licode stream via browser.  
> The application subscribes the stream and displays it in a window or writes the video into a file.  
> Guys could you please highlight the points from where we should start with No. 2?
> 
> I’ve checked the Erizo library [https://github.com/ging/licode/tree/master/erizo](https://github.com/ging/licode/tree/master/erizo), it seems to support concepts of a lower level compare to Room, Stream and Connection.
> 
> Do you think we should check the erizoClient code [https://github.com/ging/licode/tree/master/erizo\_controller/erizoClient/src](https://github.com/ging/licode/tree/master/erizo_controller/erizoClient/src) to figure out the internals of the room implementation first and then work with erizo?
> 
> Please advise, thank you!
> 
> –  
> You received this message because you are subscribed to the Google Groups “lynckia” group.  
> To unsubscribe from this group and stop receiving emails from it, send an email to [lynckia+unsubscribe@googlegroups.com](mailto:lynckia+unsubscribe@googlegroups.com) [mailto:lynckia+unsubscribe@googlegroups.com](mailto:lynckia+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout) [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
