|
a/scctl_src/scctl.cpp |
|
b/scctl_src/scctl.cpp |
|
... |
|
... |
218 |
{
|
218 |
{
|
219 |
if (!st.rcv || !st.prod) {
|
219 |
if (!st.rcv || !st.prod) {
|
220 |
st.reason = nm + " : null handle ??";
|
220 |
st.reason = nm + " : null handle ??";
|
221 |
return false;
|
221 |
return false;
|
222 |
}
|
222 |
}
|
|
|
223 |
|
|
|
224 |
if (st.rcv->setSender(uri, meta)) {
|
|
|
225 |
st.reason = nm + " Receiver::setSender() failed";
|
|
|
226 |
return false;
|
|
|
227 |
}
|
223 |
if (st.prod->setSourceIndex(st.receiverSourceIndex)) {
|
228 |
if (st.prod->setSourceIndex(st.receiverSourceIndex)) {
|
224 |
st.reason = nm + " : can't set source index to " +
|
229 |
st.reason = nm + " : can't set source index to " +
|
225 |
SoapHelp::i2s(st.receiverSourceIndex);
|
230 |
SoapHelp::i2s(st.receiverSourceIndex);
|
226 |
return false;
|
|
|
227 |
}
|
|
|
228 |
if (st.rcv->setSender(uri, meta)) {
|
|
|
229 |
st.reason = nm + " Receiver::setSender() failed";
|
|
|
230 |
return false;
|
231 |
return false;
|
231 |
}
|
232 |
}
|
232 |
if (st.rcv->play()) {
|
233 |
if (st.rcv->play()) {
|
233 |
st.reason = nm + " Receiver::play() failed";
|
234 |
st.reason = nm + " Receiver::play() failed";
|
234 |
return false;
|
235 |
return false;
|