해결했다!

회사생활 2010. 10. 8. 15:48
2주간의 긴 여정이었다.

그리고 이틀의 밤샘과 딸리는 영어에 네이버트온 사전을 한쪽에 열어두고 중국계 캐나다 아줌마를 열심히 갈군 끝에 해결했다.

부탁컨데 매뉴얼이 없으면 샘플코드라도 만들어 주던지 그게 없으면 헤더파일에 이게 뭐에 쓰는 놈이라고 주석이라도 좀 잘 달아줬으면 한다.

해결책을 까먹지 말고 붙여두자.

------------------------------------------------------------------------------
Your tbstreamserver recording channel seems to have been properly configured and is ready to record.
Now you need to make sure that you have a stream resource allocated on the adapter, configured to send packets to that tbstreamserver's host.

I guess you're using basic APIs, so make sure that:

1. Stream resource's mode matches tbstreamserver's recording mode:

config.txt: record_mode = combined_udp
corresponds to
TB640_STREAM_RES_PARAMS.IPPacketType = TB640_STREAM_IP_PACKET_TYPE_UDP_COMBINED_PORT

config.txt: record_mode = pcap
corresponds to
TB640_STREAM_RES_PARAMS.IPPacketType = TB640_STREAM_IP_PACKET_TYPE_RAW_IP

(combined_udp mode is highly recommended due to pcap performance problems on Linux)

2. Make sure that the Stream resource is configured with the right IP address(es) (the IP address of the tbstreamserver host)

3. Stream resource is properly connected to a DSP resource (full duplex, or half-duplex DSP->Stream direction)

4. Make sure that the Stream portion of DSP resource has fRecordEnabled set to TBX_TRUE

5. Make sure packet duration matches (160ms is recomended) and packet type too, compared to how you filled the tbstreamserver's record request


If it does not work after validating all that, please gather the following logs and send to TelcoBridges support team:
- udplisten log capturing UDP traces from the adapter
- tbstreamserver log, if possible trace level 1
- tb640debug dump of the adapter
- tcpdump (or wireshark capture) from the host running tbstreamserver
----------------------------------------------------------------------------------


아직 많은 문제들이 남았지만 해일을 넘었으니 남은 파도야 가볍게 가볍게 넘어주자.

아아. 이렇게 문제가 해결될 때면 개발자로서 어쩔수 없는 오르가즘을 경험한다. 이 맛에 4D (3D + Don't Sleep) 의 IT 바닥에서 버텨나가고 있는 거지만..

Posted by 행인_1
,

아.. 피곤하다..

회사생활 2010. 10. 7. 11:19
하나의 기능을 가지고 벌써 2주째다.. 캐나다게 있는 사람들의 업무 시간에 맞춰서 야간 근무를 하자니 힘들군..

오늘도 밤을 새야겠다.ㅠㅠ
Posted by 행인_1
,
분명 매뉴얼에서 시킨대로.. 그리고 샘플코드를 거의 그대로 베껴서 했건만...

로그도 정상적으로 생성되고 정상적으로 시작되었다는 메시지도 받는데. 대체 왜! 왜! 왜! 안되는거냐아~

아무리 내가 기술적 문제점에 부딪히면 그걸 극복하는데서 오르가즘을 얻는 개발자라는 족속이지만.... 이건 뭐...

'이거 해' -> '네' ->  '.... 왜 안해?' -> ' 햇는데요?'  -> '어디있는데?' -> '글쎄요?'

의 시츄에이션.

다시 딸리는 영어를 붙들고 메일을 보내야하는가....ㅠㅠ
Posted by 행인_1
,