Make zed2 compile again

This commit is contained in:
Antonio Scandurra 2023-10-26 15:45:25 +02:00
parent 8a70ef3e8f
commit 58e8012d8c
4 changed files with 54 additions and 0 deletions

View file

@ -56,6 +56,10 @@ pub struct RemoteVideoTrack {
pub(crate) live_kit_track: Arc<live_kit_client::RemoteVideoTrack>,
}
unsafe impl Send for RemoteVideoTrack {}
// todo!("remove this sync because it's not legit")
unsafe impl Sync for RemoteVideoTrack {}
impl fmt::Debug for RemoteVideoTrack {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.debug_struct("RemoteVideoTrack").finish()