I try to use external RTP session and nothing work.
I implement GetMediaTransportAddresses method in class derived from OpalLocalConnection.
This method succesfully called.
But connection has closed before any RTP stream opened.
H323Connection::OpenMediaStream() close channel because stream in NULL in code below:
// ...stream=channel->GetMediaStream();if(stream!=NULL&&stream->Open()){PTRACE(3,"H323\tOpenMediaStream using channel "<<channel->GetNumber()<<" for session "<<sessionID);mediaStreams.Append(stream);returnstream;}PTRACE(2,"H323\tCould not open stream for logical channel "<<channel->GetNumber());channel->Close();returnNULL;
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Looks like that
H323Connection::OpenMediaStream() close channel because stream in NULL in code below:
There has been some work in this area, is it still a problem for you?
Please try latest Lacaille (v3.14) branch.
Can you pelase verify this now works?
Can't test it now because we are not use external RTP session any more.