# Linux SDK Video Recording not working with Code 139

**URL:** <https://devforum.zoom.us/t/linux-sdk-video-recording-not-working-with-code-139/122445>\
**Category:** Meeting SDK\
**Tags:** video-sdk\
**Created:** [December 14, 2024, 6:49pm UTC](https://devforum.zoom.us/t/linux-sdk-video-recording-not-working-with-code-139/122445 "2024-12-14T18:49:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![m4hijaziii](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/m4hijaziii/32/49791_2.png) [@m4hijaziii](https://devforum.zoom.us/u/m4hijaziii)\
**Post date:** [December 14, 2024, 6:49pm UTC](https://devforum.zoom.us/t/linux-sdk-video-recording-not-working-with-code-139/122445/1 "2024-12-14T18:49:16Z")

</div>

Hello so am facing some issues with :

meetingsdk-headless-linux-sample

So the audio records just fine but when I add  
[RawVideo]  
file=“meeting-video.yuv”

to the config.toml file what happens is that the audio keeps getting recorded and then  
I get and the program exits  
zoomsdk-1 | ⏳ Writing 640b to out/meeting-audio.pcm at 32000Hz  
zoomsdk-1 | ⏳ Writing 640b to out/meeting-audio.pcm at 32000Hz  
zoomsdk-1 | ❌ failed to write data  
zoomsdk-1 | ⏳ Writing 640b to out/meeting-audio.pcm at 32000Hz  
zoomsdk-1 exited with code 139

---

<div class="post-metadata">

**Author:** ![amanda-recallai](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/amanda-recallai/32/44747_2.png) [@amanda-recallai](https://devforum.zoom.us/u/amanda-recallai)\
**Post date:** [December 17, 2024, 12:04am UTC](https://devforum.zoom.us/t/linux-sdk-video-recording-not-working-with-code-139/122445/2 "2024-12-17T00:04:53Z")

</div>

Hi @m4hijaziii ,

Have you made any changes to the sample application, or have you only made changes to the config.toml file? If you’ve made changes, could you please share the relevant code here?

Another way to obtain this the raw audio and video data for Zoom calls would be to use [recall.ai](https://recall.ai). It’s a simple 3rd party meeting bot API that makes it easy to spin up bots and send and receive meeting data including chat messages and media streams.

---

<div class="post-metadata">

**Author:** ![noah.duncan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/noah.duncan/32/51124_2.png) [@noah.duncan](https://devforum.zoom.us/u/noah.duncan)\
**Post date:** [December 26, 2024, 7:41pm UTC](https://devforum.zoom.us/t/linux-sdk-video-recording-not-working-with-code-139/122445/3 "2024-12-26T19:41:50Z")

</div>

Hi @m4hijaziii

I’m working on an open source API for creating Zoom Bots called [Attendee](https://github.com/noah-duncan/attendee). Similar to Recall, but open source.

You can use it to obtain the audio and video from the meeting.

Even if you don’t want to use it directly, it can serve as an example of working code that uses the linux SDK.
