Skip to content

Commit

Permalink
Merge pull request OpenVisualCloud#81 from jianbingzhu/main
Browse files Browse the repository at this point in the history
add fragment bunch
  • Loading branch information
jianbingzhu committed Jan 17, 2024
2 parents 6cc7fd9 + 6e5a550 commit fb62d48
Show file tree
Hide file tree
Showing 3 changed files with 269 additions and 161 deletions.
9 changes: 7 additions & 2 deletions media-proxy/include/mtl.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ extern "C" {
#define NS_PER_MS (1000 * 1000)
#endif

#define SCH_CNT 1
#define TASKLETS 800
#define SCH_CNT 3
#define TASKLETS 1000

enum direction {
TX,
Expand Down Expand Up @@ -387,6 +387,11 @@ typedef struct {
bool sch_start;
int new_NALU;
bool check_first_new_NALU;
bool fragments_bunch;
mcm_buffer* rtp_header;
uint16_t tx_buf_num;
char* dst;
char* dst_nalu_size_point;
//int sch_idx;
//int tasklet_idx;

Expand Down
2 changes: 1 addition & 1 deletion media-proxy/src/proxy_context.cc
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ void ProxyContext::ParseStInitParam(const mcm_conn_param* request, struct mtl_in
st_param->rx_queues_cnt[MTL_PORT_P] = 128;
st_param->tx_queues_cnt[MTL_PORT_P] = 128;
st_param->lcores = NULL;
st_param->memzone_max = 3000;
st_param->memzone_max = 9000;

INFO("ProxyContext: ParseStInitParam...");
INFO("num_ports : %d", st_param->num_ports);
Expand Down
Loading

0 comments on commit fb62d48

Please sign in to comment.