forge
Explore
Log in

Don't you dare go Hollow

✨ add voice_chat_room to projects

Browse files at this commit

4ffb559f07e1d558d1480104b17fde82ad136303Ahmet Kaan GümüşParent: f2c5821
  • feat
    • ✨ add voice_chat_room to projects
Show full message
feat: ✨ add voice_chat_room to projects
src/projects.rsmodified+25 -0
@@ -20,6 +20,7 @@ pub fn Projects() -> Element {
20 div { class: "project_link", Link {to: Route::Project { id: 9 }, class: "project_link", "Forum"} }20 div { class: "project_link", Link {to: Route::Project { id: 9 }, class: "project_link", "Forum"} }
21 div { class: "project_link", Link {to: Route::Project { id: 10 }, class: "project_link", "Voice Chat"} }21 div { class: "project_link", Link {to: Route::Project { id: 10 }, class: "project_link", "Voice Chat"} }
22 div { class: "project_link", Link {to: Route::Project { id: 11 }, class: "project_link", "WebRTC"} }22 div { class: "project_link", Link {to: Route::Project { id: 11 }, class: "project_link", "WebRTC"} }
23+ div { class: "project_link", Link {to: Route::Project { id: 12 }, class: "project_link", "Voice Chat Room"} }
23 }24 }
24 Footer {}25 Footer {}
25 }26 }
@@ -349,6 +350,30 @@ pub fn Project(id: i32) -> Element {
349 }350 }
350 }351 }
351 }352 }
353+ 12 => {
354+ rsx! {
355+ div {
356+ class:"project",
357+ h1 {"Voice Chat Room"}
358+ h5 {"Voice chat room written in Rust."}
359+ Link {id: "source_link_in_project_page", to: "https://source.tahinli.com/Tahinli/rust_voice_chat_room", "Source"}
360+ div {
361+ "
362+ In this project I wanted to implement voice chat room for real-time audio communication with low latency audio processing.
363+ "
364+ }
365+ h3 {"Why I did this ?"}
366+ div {
367+ "I wanted to create voice chat application with a relay server and without many dependencies. Since I already did simple client / server only one with no audio processing in some of the previous projects, I wanted to improve things."
368+ }
369+
370+ h3 {"What I learned ?"}
371+ div {
372+ "I understand how audio works better in general. Especially in low latency and streaming area. Since audio buffers are always hungry for samples and networks, streams, thread locks, thread waking from sleep, context switching are always creates latency, I learned a lot of things for real-time applications. I tried for a month to create reliable audio mixer because there is no room for latency, even an await for async task. I finally come up with simple approach to solve things. Probably I can improve more but since I understand the process and further improvements never ends, I'm going to keep it as it is."
373+ }
374+ }
375+ }
376+ }
352 _ => {377 _ => {
353 rsx! {378 rsx! {
354 h1 {"You're not supposed to be here"}379 h1 {"You're not supposed to be here"}