Home | History | Annotate | Download | only in googlepatches

Lines Matching full:stream_template

13 +                               srtp_stream_t stream_template);
131 + srtp_stream_ctx_t *stream_template) {
142 - if (session->stream_template
143 - && stream->rtp_cipher == session->stream_template->rtp_cipher) {
146 + if (!stream_template || stream->rtp_cipher != stream_template->rtp_cipher) {
153 - if (session->stream_template
154 - && stream->rtp_auth == session->stream_template->rtp_auth) {
157 + if (!stream_template || stream->rtp_auth != stream_template->rtp_auth) {
164 - if (session->stream_template
165 - && stream->limit == session->stream_template->limit) {
168 + if (!stream_template || stream->limit != stream_template->limit) {
179 - if (session->stream_template
180 - && stream->rtcp_cipher == session->stream_template->rtcp_cipher) {
183 + if (!stream_template || stream->rtcp_cipher != stream_template->rtcp_cipher) {
191 - if (session->stream_template
192 - && stream->rtcp_auth == session->stream_template->rtcp_auth) {
195 + if (!stream_template || stream->rtcp_auth != stream_template->rtcp_auth) {
227 + status = srtp_stream_uninit_and_dealloc(stream, session->stream_template);
236 if (session->stream_template != NULL) {
237 - status = auth_dealloc(session->stream_template->rtcp_auth);
240 - status = cipher_dealloc(session->stream_template->rtcp_cipher);
243 - crypto_free(session->stream_template->limit);
244 - status = cipher_dealloc(session->stream_template->rtp_cipher);
247 - status = auth_dealloc(session->stream_template->rtp_auth);
250 - crypto_free(session->stream_template);
251 + status = srtp_stream_uninit_and_dealloc(session->stream_template, NULL);
281 + return srtp_stream_uninit_and_dealloc(stream, session->stream_template);
286 + srtp_stream_ctx_t *stream_template) {
295 + status = srtp_stream_dealloc(stream, stream_template);