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 바닥에서 버텨나가고 있는 거지만..
그리고 이틀의 밤샘과 딸리는 영어에 네이버트온 사전을 한쪽에 열어두고 중국계 캐나다 아줌마를 열심히 갈군 끝에 해결했다.
부탁컨데 매뉴얼이 없으면 샘플코드라도 만들어 주던지 그게 없으면 헤더파일에 이게 뭐에 쓰는 놈이라고 주석이라도 좀 잘 달아줬으면 한다.
해결책을 까먹지 말고 붙여두자.
------------------------------------------------------------------------------
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 바닥에서 버텨나가고 있는 거지만..