rust-sdks icon indicating copy to clipboard operation
rust-sdks copied to clipboard

publish video track only displays `TRACK_PUBLISH_REQUESTED` but no `TRACK_PUBLISHED`

Open Thintin914 opened this issue 1 year ago • 1 comments

Hello I want to publish my camera to video track. Here's a short video of what I'm working on: https://share.cleanshot.com/3DPjqSgf

After I called room.local_participant().publish_track(), the room event received LocalTrackPublished event. And Livekit dashboard received TRACK_PUBLISH_REQUESTED event.

I found post about this issue here: https://app.slack.com/client/T01KVSV78P7/C048FRL1N2C It suggested that my client didn't send media packets at all.

But I did call rtc_source.capture_frame(&*video_frame); after the video track is published. Please help.

Project here: https://github.com/Thintin914/shalloville_public Go to src/networking/rtc/video/mod.rs to see the code.

Thintin914 avatar Sep 04 '24 17:09 Thintin914

Related code here: https://github.com/livekit/rust-sdks/discussions/421#discussioncomment-10548850

Thintin914 avatar Sep 04 '24 17:09 Thintin914