diff options
author | Harald Welte <laforge@gnumonks.org> | 2011-07-21 16:48:07 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-07-21 16:48:07 +0200 |
commit | 8583c318113ca2d21f1a30ce4f388d74b527728b (patch) | |
tree | 20f9ed66cce75390f05b72c8159f069064e25aa4 /include | |
parent | 6b62748da6e2dc3e981869a2f788c990fd4d7342 (diff) |
remove old RTP code from osmocom-bb/jolly/bts branch
Instead, I will base on the existing RTP code in openbsc
Diffstat (limited to 'include')
-rw-r--r-- | include/osmo-bts/rtp.h | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/include/osmo-bts/rtp.h b/include/osmo-bts/rtp.h deleted file mode 100644 index d104a6b4..00000000 --- a/include/osmo-bts/rtp.h +++ /dev/null @@ -1,47 +0,0 @@ -#ifndef _RTP_H -#define _RTP_H - -struct osmobts_lchan *lchan; - -#define RTP_PT_GSM_FULL 3 -#define RTP_PT_GSM_HALF 96 -#define RTP_PT_GSM_EFR 97 -#define RTP_PT_AMR_FULL 98 -#define RTP_PT_AMR_HALF 99 - -struct osmobts_udp { - struct osmobts_rtp *rtp; - struct osmo_fd bfd; - struct sockaddr_in sin_local, sin_remote; - struct llist_head tx_queue; -}; - -struct osmobts_rtp { - struct osmobts_lchan *lchan; - int socket_created; - struct osmobts_udp rtp_udp, rtcp_udp; - struct llist_head dejitter_queue; - int dejitter_num; - int dejitter_min; - int dejitter_check; - struct msgb *last_frame; - uint8_t payload_type; - uint16_t sequence; - uint32_t timestamp; - uint32_t ssrc; - int voice_req; -}; - -int rtp_create_socket(struct osmobts_lchan *lchan, struct osmobts_rtp *rtp); -int rtp_bind_socket(struct osmobts_rtp *rtp); -int rtp_connect_socket(struct osmobts_rtp *rtp, uint32_t ip, uint16_t port); -int rtp_close_socket(struct osmobts_rtp *rtp); - -struct gsm_data_frame { - uint32_t timestamp; - uint8_t payload_type; - uint8_t data[0]; -}; - -#endif /* _RTP_H */ - |