| 57 | } |
| 58 | |
| 59 | int rtp_payload_encode_input(void* encoder, const void* data, int bytes, uint32_t timestamp) |
| 60 | { |
| 61 | struct rtp_payload_delegate_t* ctx; |
| 62 | ctx = (struct rtp_payload_delegate_t*)encoder; |
| 63 | return ctx->encoder->input(ctx->packer, data, bytes, timestamp); |
| 64 | } |
| 65 | |
| 66 | void* rtp_payload_decode_create(int payload, const char* name, struct rtp_payload_t *handler, void* cbparam) |
| 67 | { |