bluetooth/btstack/avdtp/avdtpMediaSession.cpp
branchRCL_3
changeset 22 786b94c6f0a4
parent 0 29b1cd4cb562
equal deleted inserted replaced
21:14e240312f6f 22:786b94c6f0a4
    74 	{
    74 	{
    75 	LOG_FUNC
    75 	LOG_FUNC
    76 	__ASSERT_DEBUG(iStream, Panic(EAvdtpTransportSessionBaseNotCheckStream));
    76 	__ASSERT_DEBUG(iStream, Panic(EAvdtpTransportSessionBaseNotCheckStream));
    77 	TInt ret = KErrGeneral; // may be OOM or notfound
    77 	TInt ret = KErrGeneral; // may be OOM or notfound
    78 
    78 
    79 	ret = iStream->AddSession(EMedia,*this,iTransportChannel);
    79 	ret = iStream->AddSession(EMedia,*this,iTransportChannel,TL2CapConfig::EHigh);
    80 	if (ret!=KErrNone)
    80 	if (ret!=KErrNone)
    81 		{
    81 		{
    82 		// not erroring the stream, as it's not it's fault
    82 		// not erroring the stream, as it's not it's fault
    83 		// and it may not exist anyway!
    83 		// and it may not exist anyway!
    84 		iStream = NULL;
    84 		iStream = NULL;