Lines Matching refs:new_media
672 sdp_media_t *new_media;
681 new_media = calloc(1, sizeof (sdp_media_t));
682 if (new_media == NULL) {
685 new_media->m_session = session;
686 new_media->m_port = port;
687 new_media->m_portcount = portcount;
688 if ((ret = commp_add_str(&new_media->m_name, name, strlen(name))) != 0)
690 if ((ret = commp_add_str(&new_media->m_proto, protocol,
694 if ((ret = sdp_str_to_list(&new_media->m_format, fmt,
700 session->s_media = new_media;
704 tmp->m_next = new_media;
707 *media = new_media;
710 sdp_free_media(new_media);
836 sdp_media_t *new_media;
922 format, &new_media) != 0) {
928 if (sdp_add_information(&new_media->m_info,
934 SDP_ADD_CONNECTION(new_media->m_conn, conn);
936 SDP_ADD_BANDWIDTH(new_media->m_bw, bw);
937 SDP_ADD_KEY(new_media->m_key, media->m_key);
939 SDP_ADD_ATTRIBUTE(new_media->m_attr, attr);
940 new_media->m_session = new_sess;