Changeset 177
- Timestamp:
- 10/21/07 22:23:09
(10 months ago)
- Author:
- sip
- Message:
H324MSessionResetMediaQueue added.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r141 |
r177 |
|
| 22 | 22 | { |
|---|
| 23 | 23 | return ((H324MSession*)id)->Init(); |
|---|
| | 24 | } |
|---|
| | 25 | |
|---|
| | 26 | int H324MSessionResetMediaQueue(void * id) |
|---|
| | 27 | { |
|---|
| | 28 | return ((H324MSession*)id)->ResetMediaQueue(); |
|---|
| 24 | 29 | } |
|---|
| 25 | 30 | |
|---|
| r141 |
r177 |
|
| 8 | 8 | #define CODEC_H263 1 |
|---|
| 9 | 9 | |
|---|
| 10 | | #define CALLSTATE_NONE 0 |
|---|
| 11 | | #define CALLSTATE_SETUP 1 |
|---|
| | 10 | #define CALLSTATE_NONE 0 |
|---|
| | 11 | #define CALLSTATE_SETUP 1 |
|---|
| 12 | 12 | #define CALLSTATE_SETUPMEDIA 2 |
|---|
| 13 | 13 | #define CALLSTATE_STABLISHED 3 |
|---|
| 14 | | #define CALLSTATE_HANGUP 4 |
|---|
| | 14 | #define CALLSTATE_HANGUP 4 |
|---|
| 15 | 15 | |
|---|
| 16 | 16 | #ifdef __cplusplus |
|---|
| … | … | |
| 23 | 23 | void H324MSessionDestroy(void * id); |
|---|
| 24 | 24 | |
|---|
| 25 | | int H324MSessionInit(void * id); |
|---|
| 26 | | int H324MSessionEnd(void * id); |
|---|
| | 25 | int H324MSessionInit(void * id); |
|---|
| | 26 | int H324MSessionResetMediaQueue(void * id); |
|---|
| | 27 | int H324MSessionEnd(void * id); |
|---|
| 27 | 28 | |
|---|
| 28 | | int H324MSessionRead(void * id,unsigned char *buffer,int len); |
|---|
| 29 | | int H324MSessionWrite(void * id,unsigned char *buffer,int len); |
|---|
| | 29 | int H324MSessionRead(void * id,unsigned char *buffer,int len); |
|---|
| | 30 | int H324MSessionWrite(void * id,unsigned char *buffer,int len); |
|---|
| 30 | 31 | |
|---|
| 31 | 32 | void* H324MSessionGetFrame(void * id); |
|---|
| 32 | | int H324MSessionSendFrame(void * id,void *frame); |
|---|
| | 33 | int H324MSessionSendFrame(void * id,void *frame); |
|---|
| 33 | 34 | |
|---|
| 34 | 35 | char* H324MSessionGetUserInput(void * id); |
|---|
| 35 | 36 | int H324MSessionSendUserInput(void * id,char *input); |
|---|
| 36 | 37 | |
|---|
| 37 | | int H324MSessionSendVideoFastUpdatePicture(void * id); |
|---|
| 38 | | int H324MSessionGetState(void * id); |
|---|
| | 38 | int H324MSessionSendVideoFastUpdatePicture(void * id); |
|---|
| | 39 | int H324MSessionGetState(void * id); |
|---|
| 39 | 40 | |
|---|
| 40 | 41 | void* FrameCreate(int type,int codec, unsigned char * buffer, int len); |
|---|
| r174 |
r177 |
|
| 172 | 172 | //Delete first |
|---|
| 173 | 173 | delete jitBuf.GetSDU(); |
|---|
| | 174 | //Exit |
|---|
| | 175 | return true; |
|---|
| 174 | 176 | } |
|---|
| 175 | 177 | int H223AL2Sender::IsSegmentable() |
|---|
| r174 |
r177 |
|
| 41 | 41 | void SetJitBuffer(int packets, int delay); |
|---|
| 42 | 42 | void Tick(DWORD len); |
|---|
| 43 | | void Reset(); |
|---|
| | 43 | int Reset(); |
|---|
| 44 | 44 | |
|---|
| 45 | 45 | //H223ALSender interface |
|---|
| r174 |
r177 |
|
| 135 | 135 | ((H223AL2Sender*)sender)->Tick( value); |
|---|
| 136 | 136 | } |
|---|
| 137 | | void Reset() |
|---|
| | 137 | |
|---|
| | 138 | void H324MMediaChannel::Reset() |
|---|
| 138 | 139 | { |
|---|
| 139 | 140 | //Reset send queue |
|---|
Download in other formats:
|
|