mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-27 04:35:34 +08:00
[feat] use VideoFrameWrapper to store frame info
This commit is contained in:
@@ -44,6 +44,7 @@ typedef struct {
|
||||
size_t size;
|
||||
uint32_t width;
|
||||
uint32_t height;
|
||||
uint64_t timestamp;
|
||||
} XVideoFrame;
|
||||
|
||||
typedef struct {
|
||||
@@ -133,6 +134,8 @@ DLLAPI int SendAudioFrame(PeerPtr* peer_ptr, const char* data, size_t size);
|
||||
|
||||
DLLAPI int SendDataFrame(PeerPtr* peer_ptr, const char* data, size_t size);
|
||||
|
||||
DLLAPI int64_t GetNowTime(PeerPtr* peer_ptr);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user