-
Notifications
You must be signed in to change notification settings - Fork 2
/
RtpQueueCGO.h
47 lines (37 loc) · 920 Bytes
/
RtpQueueCGO.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/*
* Copyright (c) 2020 Mathis Engelbart All rights reserved.
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE file.
*/
#ifndef RTP_QUEUE_CGO
#define RTP_QUEUE_CGO
#include "RtpQueue.h"
#ifdef __cplusplus
extern "C" {
#endif
int goClear(int);
int goSizeOfNextRtp(int);
int goSeqNrOfNextRtp(int);
int goSeqNrOfLastRtp(int);
int goBytesInQueue(int);
int goSizeOfQueue(int);
float goGetDelay(int, float);
int goGetSizeOfLastFrame(int);
#ifdef __cplusplus
}
#endif
class RtpQueueCGO : public RtpQueueIface {
public:
RtpQueueCGO(int);
int clear();
int sizeOfNextRtp();
int seqNrOfNextRtp();
int seqNrOfLastRtp();
int bytesInQueue(); // Number of bytes in queue
int sizeOfQueue(); // Number of items in queue
float getDelay(float currTs);
int getSizeOfLastFrame();
private:
int id;
};
#endif