# Using rtmp for live streaming

**URL:** <https://forum.legato.io/t/using-rtmp-for-live-streaming/4944>\
**Category:** Uncategorized\
**Created:** [January 11, 2020, 11:14am UTC](https://forum.legato.io/t/using-rtmp-for-live-streaming/4944 "2020-01-11T11:14:54Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![likhi](https://avatars.discourse-cdn.com/v4/letter/l/e68b1a/32.png) [@likhi](https://forum.legato.io/u/likhi)\
**Post date:** [January 11, 2020, 11:14am UTC](https://forum.legato.io/t/using-rtmp-for-live-streaming/4944/1 "2020-01-11T11:14:54Z")

</div>

hi  
i need example code for live streaming in (youtube/facebook) by using rtmp protocol

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [January 12, 2020, 1:12am UTC](https://forum.legato.io/t/using-rtmp-for-live-streaming/4944/2 "2020-01-12T01:12:22Z")

</div>

Not sure if you can use gstreamer.  
You can give a try.

> [@Gstreamer Source Code](https://forum.legato.io/t/gstreamer-source-code/2614):
>
> HI Team, Can any one help to show some working Yocto Source code for Gstreamer application with built in all required libraries ? Thanks and Regards

---

<div class="post-metadata">

**Author:** ![likhi](https://avatars.discourse-cdn.com/v4/letter/l/e68b1a/32.png) [@likhi](https://forum.legato.io/u/likhi)\
**Post date:** [January 22, 2020, 6:31am UTC](https://forum.legato.io/t/using-rtmp-for-live-streaming/4944/3 "2020-01-22T06:31:29Z")

</div>

hi  
how to boot the application to SD card,please tell me

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [January 22, 2020, 6:43am UTC](https://forum.legato.io/t/using-rtmp-for-live-streaming/4944/4 "2020-01-22T06:43:43Z")

</div>

please clarify with more detail.  
Hard to understand for me…

---

<div class="post-metadata">

**Author:** ![likhi](https://avatars.discourse-cdn.com/v4/letter/l/e68b1a/32.png) [@likhi](https://forum.legato.io/u/likhi)\
**Post date:** [January 22, 2020, 10:31am UTC](https://forum.legato.io/t/using-rtmp-for-live-streaming/4944/5 "2020-01-22T10:31:45Z")

</div>

is it possible to store the program in the SD card,during programing in the developer studio?  
is any changes in .adef file?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [January 22, 2020, 10:51am UTC](https://forum.legato.io/t/using-rtmp-for-live-streaming/4944/6 "2020-01-22T10:51:10Z")

</div>

Of course you can store your legato application binary .update file in sd card.  
But after install the app, it will still be stored in flash.

---

<div class="post-metadata">

**Author:** ![likhi](https://avatars.discourse-cdn.com/v4/letter/l/e68b1a/32.png) [@likhi](https://forum.legato.io/u/likhi)\
**Post date:** [January 22, 2020, 12:43pm UTC](https://forum.legato.io/t/using-rtmp-for-live-streaming/4944/7 "2020-01-22T12:43:24Z")

</div>

if i want to change anything in .adef file

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [January 22, 2020, 12:48pm UTC](https://forum.legato.io/t/using-rtmp-for-live-streaming/4944/8 "2020-01-22T12:48:19Z")

</div>

please clarify with more detail.  
Hard to understand for me…

---

<div class="post-metadata">

**Author:** ![likhi](https://avatars.discourse-cdn.com/v4/letter/l/e68b1a/32.png) [@likhi](https://forum.legato.io/u/likhi)\
**Post date:** [January 23, 2020, 4:58am UTC](https://forum.legato.io/t/using-rtmp-for-live-streaming/4944/9 "2020-01-23T04:58:25Z")

</div>

> [@Unable to make new directories within Legato app](https://forum.legato.io/t/unable-to-make-new-directories-within-legato-app/2357/3):
>
> Hi Sylvain, Thanks for the assistance. I think I’ve sorted it out by adding the following to my .adef file: requires: { dir: { // The SD card is mounted at '/mnt/userrw' /mnt/userrw / } } Note that this particular app doesn’t do the mounting - only reading and writing. In another app’s .adef I have: requires: { device: { // Request read and write access to the SD card. [rw] /dev/mmcblk0p1 /dev/mmcblk0p1 } ... } Did you ha…

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [January 23, 2020, 5:10am UTC](https://forum.legato.io/t/using-rtmp-for-live-streaming/4944/10 "2020-01-23T05:10:28Z")

</div>

Not sure what you are talking about…  
If you found that link is useful, please ask question there as seems it is not related to this topic “Using rtmp for live streaming”…
