48 lines
1.6 KiB
C
48 lines
1.6 KiB
C
/***************************************************************************************
|
|
*
|
|
* IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
|
|
*
|
|
* By downloading, copying, installing or using the software you agree to this license.
|
|
* If you do not agree to this license, do not download, install,
|
|
* copy or use the software.
|
|
*
|
|
* Copyright (C) 2014-2022, Happytimesoft Corporation, all rights reserved.
|
|
*
|
|
* Redistribution and use in binary forms, with or without modification, are permitted.
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software distributed
|
|
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
|
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific
|
|
* language governing permissions and limitations under the License.
|
|
*
|
|
****************************************************************************************/
|
|
|
|
#ifndef RTP_TX_H
|
|
#define RTP_TX_H
|
|
|
|
#include "sys_inc.h"
|
|
#include "sip_inc.h"
|
|
#include "hsip.h"
|
|
#include "sua.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
int gb_rtp_video_tx(SUA * p_sua, uint8 * p_data, int size, uint32 ts);
|
|
int gb_rtp_h264_video_tx(SUA * p_sua, uint8 * p_data, int len, uint32 ts);
|
|
int gb_rtp_h265_video_tx(SUA * p_sua, uint8 * p_data, int len, uint32 ts);
|
|
int gb_rtp_ps_video_tx(SUA * p_sua, uint8 * p_data, int len, uint32 ts);
|
|
int gb_rtp_ps_audio_tx(SUA * p_sua, uint8 * p_data, int len, uint32 ts);
|
|
int gb_rtp_ps_aac_tx(SUA * p_sua, uint8 * p_data, int len, uint32 ts);
|
|
int gb_rtp_audio_tx(SUA * p_sua, uint8 * p_data, int len, uint32 ts);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|