Changeset 317ce5cffc51a5cac5e2d4e768920c5d5b374e3d
- Timestamp:
- 23/08/07 19:11:07
(1 year ago)
- Author:
- Rémi Denis-Courmont <rem@videolan.org>
- git-committer:
- Rémi Denis-Courmont <rem@videolan.org> 1187889067 +0000
- git-parent:
[16e518077e1c20ec40052157d9685b8468f2f0a7]
- git-author:
- Rémi Denis-Courmont <rem@videolan.org> 1187889067 +0000
- Message:
Fix struct duplication
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r21a5355 |
r317ce5c |
|
| 158 | 158 | static int Send( sout_stream_t *, sout_stream_id_t *, |
|---|
| 159 | 159 | block_t* ); |
|---|
| 160 | | |
|---|
| 161 | | struct sout_stream_sys_t |
|---|
| 162 | | { |
|---|
| 163 | | /* sdp */ |
|---|
| 164 | | int64_t i_sdp_id; |
|---|
| 165 | | int i_sdp_version; |
|---|
| 166 | | char *psz_sdp; |
|---|
| 167 | | vlc_mutex_t lock_sdp; |
|---|
| 168 | | |
|---|
| 169 | | char *psz_session_name; |
|---|
| 170 | | char *psz_session_description; |
|---|
| 171 | | char *psz_session_url; |
|---|
| 172 | | char *psz_session_email; |
|---|
| 173 | | |
|---|
| 174 | | /* */ |
|---|
| 175 | | vlc_bool_t b_export_sdp_file; |
|---|
| 176 | | char *psz_sdp_file; |
|---|
| 177 | | /* sap */ |
|---|
| 178 | | vlc_bool_t b_export_sap; |
|---|
| 179 | | session_descriptor_t *p_session; |
|---|
| 180 | | |
|---|
| 181 | | httpd_host_t *p_httpd_host; |
|---|
| 182 | | httpd_file_t *p_httpd_file; |
|---|
| 183 | | |
|---|
| 184 | | httpd_host_t *p_rtsp_host; |
|---|
| 185 | | httpd_url_t *p_rtsp_url; |
|---|
| 186 | | char *psz_rtsp_control; |
|---|
| 187 | | char *psz_rtsp_path; |
|---|
| 188 | | |
|---|
| 189 | | /* */ |
|---|
| 190 | | char *psz_destination; |
|---|
| 191 | | int i_port; |
|---|
| 192 | | int i_port_audio; |
|---|
| 193 | | int i_port_video; |
|---|
| 194 | | int i_ttl; |
|---|
| 195 | | vlc_bool_t b_latm; |
|---|
| 196 | | |
|---|
| 197 | | /* when need to use a private one or when using muxer */ |
|---|
| 198 | | int i_payload_type; |
|---|
| 199 | | |
|---|
| 200 | | /* in case we do TS/PS over rtp */ |
|---|
| 201 | | sout_mux_t *p_mux; |
|---|
| 202 | | sout_access_out_t *p_access; |
|---|
| 203 | | int i_mtu; |
|---|
| 204 | | sout_access_out_t *p_grab; |
|---|
| 205 | | uint16_t i_sequence; |
|---|
| 206 | | uint32_t i_timestamp_start; |
|---|
| 207 | | uint8_t ssrc[4]; |
|---|
| 208 | | block_t *packet; |
|---|
| 209 | | |
|---|
| 210 | | /* */ |
|---|
| 211 | | vlc_mutex_t lock_es; |
|---|
| 212 | | int i_es; |
|---|
| 213 | | sout_stream_id_t **es; |
|---|
| 214 | | |
|---|
| 215 | | /* */ |
|---|
| 216 | | int i_rtsp; |
|---|
| 217 | | rtsp_client_t **rtsp; |
|---|
| 218 | | }; |
|---|
| 219 | 160 | |
|---|
| 220 | 161 | static int AccessOutGrabberWrite( sout_access_out_t *, block_t * ); |
|---|
| r21a5355 |
r317ce5c |
|
| 73 | 73 | httpd_url_t *p_rtsp_url; |
|---|
| 74 | 74 | }; |
|---|
| | 75 | |
|---|
| | 76 | struct sout_stream_sys_t |
|---|
| | 77 | { |
|---|
| | 78 | /* sdp */ |
|---|
| | 79 | int64_t i_sdp_id; |
|---|
| | 80 | int i_sdp_version; |
|---|
| | 81 | char *psz_sdp; |
|---|
| | 82 | vlc_mutex_t lock_sdp; |
|---|
| | 83 | |
|---|
| | 84 | char *psz_session_name; |
|---|
| | 85 | char *psz_session_description; |
|---|
| | 86 | char *psz_session_url; |
|---|
| | 87 | char *psz_session_email; |
|---|
| | 88 | |
|---|
| | 89 | /* */ |
|---|
| | 90 | vlc_bool_t b_export_sdp_file; |
|---|
| | 91 | char *psz_sdp_file; |
|---|
| | 92 | /* sap */ |
|---|
| | 93 | vlc_bool_t b_export_sap; |
|---|
| | 94 | session_descriptor_t *p_session; |
|---|
| | 95 | |
|---|
| | 96 | httpd_host_t *p_httpd_host; |
|---|
| | 97 | httpd_file_t *p_httpd_file; |
|---|
| | 98 | |
|---|
| | 99 | httpd_host_t *p_rtsp_host; |
|---|
| | 100 | httpd_url_t *p_rtsp_url; |
|---|
| | 101 | char *psz_rtsp_control; |
|---|
| | 102 | char *psz_rtsp_path; |
|---|
| | 103 | |
|---|
| | 104 | /* */ |
|---|
| | 105 | char *psz_destination; |
|---|
| | 106 | int i_port; |
|---|
| | 107 | int i_port_audio; |
|---|
| | 108 | int i_port_video; |
|---|
| | 109 | int i_ttl; |
|---|
| | 110 | vlc_bool_t b_latm; |
|---|
| | 111 | |
|---|
| | 112 | /* when need to use a private one or when using muxer */ |
|---|
| | 113 | int i_payload_type; |
|---|
| | 114 | |
|---|
| | 115 | /* in case we do TS/PS over rtp */ |
|---|
| | 116 | sout_mux_t *p_mux; |
|---|
| | 117 | sout_access_out_t *p_access; |
|---|
| | 118 | int i_mtu; |
|---|
| | 119 | sout_access_out_t *p_grab; |
|---|
| | 120 | uint16_t i_sequence; |
|---|
| | 121 | uint32_t i_timestamp_start; |
|---|
| | 122 | uint8_t ssrc[4]; |
|---|
| | 123 | block_t *packet; |
|---|
| | 124 | |
|---|
| | 125 | /* */ |
|---|
| | 126 | vlc_mutex_t lock_es; |
|---|
| | 127 | int i_es; |
|---|
| | 128 | sout_stream_id_t **es; |
|---|
| | 129 | |
|---|
| | 130 | /* */ |
|---|
| | 131 | int i_rtsp; |
|---|
| | 132 | rtsp_client_t **rtsp; |
|---|
| | 133 | }; |
|---|
| r2caa248 |
r317ce5c |
|
| 50 | 50 | }; |
|---|
| 51 | 51 | |
|---|
| 52 | | struct sout_stream_sys_t |
|---|
| 53 | | { |
|---|
| 54 | | /* sdp */ |
|---|
| 55 | | int64_t i_sdp_id; |
|---|
| 56 | | int i_sdp_version; |
|---|
| 57 | | char *psz_sdp; |
|---|
| 58 | | vlc_mutex_t lock_sdp; |
|---|
| 59 | | |
|---|
| 60 | | char *psz_session_name; |
|---|
| 61 | | char *psz_session_description; |
|---|
| 62 | | char *psz_session_url; |
|---|
| 63 | | char *psz_session_email; |
|---|
| 64 | | |
|---|
| 65 | | /* */ |
|---|
| 66 | | vlc_bool_t b_export_sdp_file; |
|---|
| 67 | | char *psz_sdp_file; |
|---|
| 68 | | /* sap */ |
|---|
| 69 | | vlc_bool_t b_export_sap; |
|---|
| 70 | | session_descriptor_t *p_session; |
|---|
| 71 | | |
|---|
| 72 | | httpd_host_t *p_httpd_host; |
|---|
| 73 | | httpd_file_t *p_httpd_file; |
|---|
| 74 | | |
|---|
| 75 | | httpd_host_t *p_rtsp_host; |
|---|
| 76 | | httpd_url_t *p_rtsp_url; |
|---|
| 77 | | char *psz_rtsp_control; |
|---|
| 78 | | char *psz_rtsp_path; |
|---|
| 79 | | |
|---|
| 80 | | /* */ |
|---|
| 81 | | char *psz_destination; |
|---|
| 82 | | int i_port; |
|---|
| 83 | | int i_port_audio; |
|---|
| 84 | | int i_port_video; |
|---|
| 85 | | int i_ttl; |
|---|
| 86 | | vlc_bool_t b_latm; |
|---|
| 87 | | |
|---|
| 88 | | /* when need to use a private one or when using muxer */ |
|---|
| 89 | | int i_payload_type; |
|---|
| 90 | | |
|---|
| 91 | | /* in case we do TS/PS over rtp */ |
|---|
| 92 | | sout_mux_t *p_mux; |
|---|
| 93 | | sout_access_out_t *p_access; |
|---|
| 94 | | int i_mtu; |
|---|
| 95 | | sout_access_out_t *p_grab; |
|---|
| 96 | | uint16_t i_sequence; |
|---|
| 97 | | uint32_t i_timestamp_start; |
|---|
| 98 | | uint8_t ssrc[4]; |
|---|
| 99 | | block_t *packet; |
|---|
| 100 | | |
|---|
| 101 | | /* */ |
|---|
| 102 | | vlc_mutex_t lock_es; |
|---|
| 103 | | int i_es; |
|---|
| 104 | | sout_stream_id_t **es; |
|---|
| 105 | | |
|---|
| 106 | | /* */ |
|---|
| 107 | | int i_rtsp; |
|---|
| 108 | | rtsp_client_t **rtsp; |
|---|
| 109 | | }; |
|---|
| 110 | | |
|---|
| 111 | | |
|---|
| 112 | 52 | static int RtspCallback( httpd_callback_sys_t *p_args, |
|---|
| 113 | 53 | httpd_client_t *cl, |
|---|
| … | … | |
| 251 | 191 | { |
|---|
| 252 | 192 | rtsp_client_t *rtsp; |
|---|
| 253 | | /* for now only multicast so easy */ |
|---|
| 254 | 193 | answer->i_status = 200; |
|---|
| 255 | 194 | |
|---|