| 1377 | } |
| 1378 | |
| 1379 | void SAMSingleSession::StopLocalDestination () |
| 1380 | { |
| 1381 | localDestination->Release (); |
| 1382 | // stop accepting new streams |
| 1383 | localDestination->StopAcceptingStreams (); |
| 1384 | // terminate existing streams |
| 1385 | auto s = localDestination->GetStreamingDestination (); // TODO: take care about datagrams |
| 1386 | if (s) s->Stop (); |
| 1387 | } |
| 1388 | |
| 1389 | void SAMMasterSession::Close () |
| 1390 | { |
no test coverage detected