mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-09-23 22:34:42 -04:00
commit from PR#86 for VOIP, modified so as to restore real-time preview and video display
This commit is contained in:
parent
9158ed64ef
commit
b5bfddd1bc
6 changed files with 321 additions and 215 deletions
|
@ -51,15 +51,15 @@ class RsVOIPPongResult
|
|||
|
||||
struct RsVOIPDataChunk
|
||||
{
|
||||
typedef enum { RS_VOIP_DATA_TYPE_UNKNOWN = 0x00,
|
||||
RS_VOIP_DATA_TYPE_AUDIO = 0x01,
|
||||
RS_VOIP_DATA_TYPE_VIDEO = 0x02 } RsVOIPDataType ;
|
||||
typedef enum { RS_VOIP_DATA_TYPE_UNKNOWN = 0x00,
|
||||
RS_VOIP_DATA_TYPE_AUDIO = 0x01,
|
||||
RS_VOIP_DATA_TYPE_VIDEO = 0x02 } RsVOIPDataType ;
|
||||
|
||||
void *data ; // create/delete using malloc/free.
|
||||
uint32_t size ;
|
||||
RsVOIPDataType type ; // video or audio
|
||||
|
||||
void clear() ;
|
||||
|
||||
void clear() ;
|
||||
};
|
||||
|
||||
class RsVOIP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue