equal
deleted
inserted
replaced
57 LOG_FUNC |
57 LOG_FUNC |
58 iNotifyMediaPacketDroppedFlag = EFalse; |
58 iNotifyMediaPacketDroppedFlag = EFalse; |
59 iPacketsLost = 0; |
59 iPacketsLost = 0; |
60 } |
60 } |
61 |
61 |
|
62 CMediaSession::~CMediaSession() |
|
63 { |
|
64 LOG_FUNC |
|
65 } |
|
66 |
62 void CMediaSession::ConstructL() |
67 void CMediaSession::ConstructL() |
63 { |
68 { |
64 LOG_FUNC |
69 LOG_FUNC |
65 CUserPlaneTransportSession::ConstructL(); |
70 CUserPlaneTransportSession::ConstructL(); |
66 |
71 |
74 { |
79 { |
75 LOG_FUNC |
80 LOG_FUNC |
76 __ASSERT_DEBUG(iStream, Panic(EAvdtpTransportSessionBaseNotCheckStream)); |
81 __ASSERT_DEBUG(iStream, Panic(EAvdtpTransportSessionBaseNotCheckStream)); |
77 TInt ret = KErrGeneral; // may be OOM or notfound |
82 TInt ret = KErrGeneral; // may be OOM or notfound |
78 |
83 |
79 ret = iStream->AddSession(EMedia,*this,iTransportChannel,TL2CapConfig::EHigh); |
84 ret = iStream->AddSession(EMedia,*this,iTransportChannel); |
80 if (ret!=KErrNone) |
85 if (ret!=KErrNone) |
81 { |
86 { |
82 // not erroring the stream, as it's not it's fault |
87 // not erroring the stream, as it's not it's fault |
83 // and it may not exist anyway! |
88 // and it may not exist anyway! |
84 iStream = NULL; |
89 iStream = NULL; |