More debugging Rust APIs with React-Admin Integration | glowing-telegram project - Episode 111

Channel:
Subscribers:
542
Published on ● Video Link: https://www.youtube.com/watch?v=CWVrAzh47RA



Duration: 0:00
276 views
2


In this episode, we delve into debugging our Rust APIs integrated with React-Admin for the Glowing-Telegram project. We start off with some typical build status checks. Then we move on to addressing some issues involving video and audio stream handling, specifically debugging why certain conditions aren't met when filtering MP4 files and configuring audio streams correctly. I realize that a missing audio stream in the test video caused a break in the workflow, so adjustments need to be made in the code handling audio and video stream checks. We troubleshoot these audio stream issues, attempt to fix the audio sample rate calculations, and make some code adjustments to verify the audio stream type correctly. After rebuilding the application, we focus on testing the file upload functionality to YouTube from the backend, noting the steps involved in fixing an issue related to authentication failures and logging in with YouTube credentials. We also address playlist associations with uploaded videos and rectify the application’s behavior when uploads fail due to credential issues. Adding tracing and logging, we debug the task payloads and inspect why certain task handlers aren't functioning as intended. By understanding various elements like previous task data and payload serialization, we ensure the task worker sends the correct information to our API. The session includes an interesting tangent where we write and discard some tests to better understand Serde JSON's handling. Lastly, after another break, we come back to add more logging to verify the data fetching logic and plan to debug further. Join me in this detailed journey through code adjustments, debugging, and testing to enhance our project’s robustness.

🔗 Check out my Twitch channel for more streams:   / saebyn  
GitHub: https://github.com/saebyn/glowing-tel...
Discord:   / discord  




Other Videos By saebynVODs


2024-09-27Consolidating OAuth Token Handling for YouTube and Twitch | Glowing-Telegram project - Episode 121
2024-09-26Optimizing OAuth Flow for Rust APIs with React-Admin | Glowing-Telegram project - Episode 120
2024-09-25Debugging OAuth2 Integration for Rust APIs & React-Admin | glowing-telegram project - Episode 119
2024-09-24Cleaning up our OAuth2 authentication in the Rust API | glowing-telegram project - Episode 118
2024-09-23Solving Environment Variable Issues in Rust APIs | glowing-telegram project - Episode 117
2024-09-22Implementing Figment for Configuration in Rust | Glowing-Telegram Project - Episode 116
2024-09-21Fixing Task Serialization in Rust for glowing-telegram project - Episode 115
2024-09-20Enhancing Rust API with React-Admin for Better Video Management | glowing-telegram - Episode 114
2024-09-19Enhancing YouTube Integration with Rust APIs and React-Admin | glowing-telegram - Episode 113
2024-09-18Fixing Upload Issues & Error Handling in Rust APIs | glowing-telegram project - Episode 112
2024-09-17More debugging Rust APIs with React-Admin Integration | glowing-telegram project - Episode 111
2024-09-16Debugging Integration for Automated YouTube Playlists | glowing-telegram project - Episode 110
2024-09-15Solving API Quota Issues for YouTube Uploads with Rust APIs | Glowing-Telegram Project - Episode 109
2024-09-14Improving Rust APIs Integration with React-Admin | Glowing-Telegram Project - Episode 108
2024-09-13Optimizing YouTube Uploads with Rust and React-Admin | Glowing-Telegram Project - Episode 107
2024-09-12Enhancing Backend Support and Task Handling | Glowing-Telegram Project - Episode 106
2024-09-11Automating YouTube Video Uploads with Rust and React-Admin | Glowing-Telegram Project - Episode 105
2024-09-10Fixing React-Admin Perf Issues + Enhancing Task Management | Glowing-Telegram Project - Ep 104
2024-09-09Debugging Rust APIs and Task Chaining in React-Admin | Glowing-Telegram Project - Episode 103
2024-09-08Solving Complex Querying and Asynchronous Tasks | Glowing Telegram Project - Episode 102
2024-09-07Fixing Stream Date Sorting in Rust APIs for React Admin | Glowing Telegram Project - Episode 101