avdtp_initiator.c (0fbfe0705ce515f74b808566b16b94c29ea198ee) | avdtp_initiator.c (f08f4934f31cf992e4c7df753556e2e10ca62d73) |
---|---|
1/* 2 * Copyright (C) 2016 BlueKitchen GmbH 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 8 * 1. Redistributions of source code must retain the above copyright --- 182 unchanged lines hidden (view full) --- 191 avdtp_signaling_emit_media_codec_sbc_configuration( 192 stream_endpoint, 193 connection->avdtp_cid, 194 stream_endpoint->media_type, 195 stream_endpoint->media_codec_sbc_info); 196 break; 197 default: 198 // TODO: we don\t have codec info to emit config | 1/* 2 * Copyright (C) 2016 BlueKitchen GmbH 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 8 * 1. Redistributions of source code must retain the above copyright --- 182 unchanged lines hidden (view full) --- 191 avdtp_signaling_emit_media_codec_sbc_configuration( 192 stream_endpoint, 193 connection->avdtp_cid, 194 stream_endpoint->media_type, 195 stream_endpoint->media_codec_sbc_info); 196 break; 197 default: 198 // TODO: we don\t have codec info to emit config |
199 avdtp_signaling_emit_media_codec_other_configuration(context->avdtp_callback, connection->avdtp_cid, connection->initiator_local_seid, connection->initiator_remote_seid, sep.configuration.media_codec); | 199 avdtp_signaling_emit_media_codec_other_configuration(stream_endpoint, 200 connection->avdtp_cid, 201 connection->initiator_local_seid, 202 connection->initiator_remote_seid, 203 sep.configuration.media_codec); |
200 break; 201 } 202 break; 203 } 204 205 case AVDTP_SI_OPEN: 206 if (!stream_endpoint){ 207 log_error("AVDTP_SI_OPEN: stream endpoint is null"); --- 243 unchanged lines hidden --- | 204 break; 205 } 206 break; 207 } 208 209 case AVDTP_SI_OPEN: 210 if (!stream_endpoint){ 211 log_error("AVDTP_SI_OPEN: stream endpoint is null"); --- 243 unchanged lines hidden --- |