added preview for views
This commit is contained in:
1 parent
1650145d4d
commit
1e2670903f
36 files changed
+744
-16
No files matched your search
@@ -97,3 +97,9 @@ struct RTCVideoRendererView: NSViewRepresentable {
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
#Preview {
|
||||
RTCVideoRendererView(track: nil)
|
||||
.frame(width: 280, height: 320)
|
||||
.background(Color.black)
|
||||
}
|
||||
Reference in new issue
Block a user