Skip to content

Commit

Permalink
Fix build on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
mgsloan committed Dec 3, 2024
1 parent d9b5af2 commit 6578604
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions crates/livekit_client/src/livekit_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,14 @@ fn start_output_stream(
(receive_task, thread)
}

#[cfg(target_os = "windows")]
pub fn play_remote_video_track(
track: &track::RemoteVideoTrack,
) -> impl Stream<Item = RemoteVideoFrame> {
futures::stream::empty()
}

#[cfg(not(target_os = "windows"))]
pub fn play_remote_video_track(
track: &track::RemoteVideoTrack,
) -> impl Stream<Item = RemoteVideoFrame> {
Expand Down

0 comments on commit 6578604

Please sign in to comment.