# Could camera video and screen sharing go through one stream

**URL:** <https://discourse.lynckia.com/t/could-camera-video-and-screen-sharing-go-through-one-stream/203>\
**Category:** Uncategorized\
**Created:** [May 8, 2014, 2:19am UTC](https://discourse.lynckia.com/t/could-camera-video-and-screen-sharing-go-through-one-stream/203 "2014-05-08T02:19:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hui\_zhang](https://avatars.discourse-cdn.com/v4/letter/h/cdc98d/32.png) [@hui\_zhang](https://discourse.lynckia.com/u/hui_zhang)\
**Post date:** [May 8, 2014, 2:19am UTC](https://discourse.lynckia.com/t/could-camera-video-and-screen-sharing-go-through-one-stream/203/1 "2014-05-08T02:19:23Z")

</div>

Could camera video and screen sharing go through one stream, if could ,  
How?  
in the basic example  
localStream = Erizo.Stream({audio: true, video: true, data: true, screen:  
screen, videoSize: [640, 480, 640, 480]});  
I turn the screen = true  
localStream.show(“myVideo”);

However only screen is showing, camera video is not showing.

---

<div class="post-metadata">

**Author:** ![Alvaro\_Alonso3](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.lynckia.com/alvaro_alonso3/32/31_2.png) [@Alvaro\_Alonso3](https://discourse.lynckia.com/u/Alvaro_Alonso3)\
**Post date:** [May 16, 2014, 9:02am UTC](https://discourse.lynckia.com/t/could-camera-video-and-screen-sharing-go-through-one-stream/203/2 "2014-05-16T09:02:20Z")

</div>

Hi,

no, if you want to share both streams you have to create two separate  
streams.

BR2014-05-08 4:19 GMT+02:00 hui zhang [fastfading@gmail.com](mailto:fastfading@gmail.com):

> Could camera video and screen sharing go through one stream, if could ,  
> How?  
> in the basic example  
> localStream = Erizo.Stream({audio: true, video: true, data: true, screen:  
> screen, videoSize: [640, 480, 640, 480]});  
> I turn the screen = true  
> localStream.show(“myVideo”);
> 
> However only screen is showing, camera video is not showing.
> 
> –  
> 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).
> 
> ## –
> 
> Álvaro
