Skip to repository content40 lines · 1.3 KB · rust
tenant.openagents/omega
No repository description is available.
OpenAgents Git authority 2026-07-28T02:58:36.467Z Public web read
NIP-34 coordinate
30617:7649603503856e5148d571eac2766b288a8ff1e9e35d380337a1d2b0015b4f92:omegaMaintainersHidden in public view
References2 branches · 1 tag
Read-only clone
git clone https://openagents.com/git/tenant.openagents/omega.gitBrowse files
mock_client.rs
1use crate::test;
2
3pub(crate) mod participant;
4pub(crate) mod publication;
5pub(crate) mod track;
6
7pub type RemoteVideoTrack = track::RemoteVideoTrack;
8pub type RemoteAudioTrack = track::RemoteAudioTrack;
9pub type RemoteTrackPublication = publication::RemoteTrackPublication;
10pub type RemoteParticipant = participant::RemoteParticipant;
11
12pub type LocalVideoTrack = track::LocalVideoTrack;
13pub type LocalAudioTrack = track::LocalAudioTrack;
14pub type LocalTrackPublication = publication::LocalTrackPublication;
15pub type LocalParticipant = participant::LocalParticipant;
16
17pub type Room = test::Room;
18pub use test::{ConnectionState, ParticipantIdentity, RtcStats, SessionStats, TrackSid};
19
20pub struct AudioStream {}
21
22#[cfg(not(target_os = "macos"))]
23pub type RemoteVideoFrame = std::sync::Arc<gpui::RenderImage>;
24
25#[cfg(target_os = "macos")]
26#[derive(Clone)]
27pub(crate) struct RemoteVideoFrame {}
28#[cfg(target_os = "macos")]
29impl Into<gpui::SurfaceSource> for RemoteVideoFrame {
30 fn into(self) -> gpui::SurfaceSource {
31 unimplemented!()
32 }
33}
34pub(crate) fn play_remote_video_track(
35 _track: &crate::RemoteVideoTrack,
36 _: &gpui::BackgroundExecutor,
37) -> impl futures::Stream<Item = RemoteVideoFrame> + use<> {
38 futures::stream::pending()
39}
40