Skip to content

Commit

Permalink
Add G.726 print
Browse files Browse the repository at this point in the history
  • Loading branch information
babosa committed Apr 6, 2016
1 parent 615c3d6 commit 61c22b4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ int Easy_APICALL __RTSPClientCallBack( int _chid, int *_chPtr, int _frameType, c
printf("Get PCMA Len:%d \ttimestamp:%u.%u\n", _frameInfo->length, _frameInfo->timestamp_sec, _frameInfo->timestamp_usec);
else if (_frameInfo->codec == EASY_SDK_AUDIO_CODEC_G711U)
printf("Get PCMU Len:%d \ttimestamp:%u.%u\n", _frameInfo->length, _frameInfo->timestamp_sec, _frameInfo->timestamp_usec);
else if (_frameInfo->codec == EASY_SDK_AUDIO_CODEC_G726)
printf("Get G.726 Len:%d \ttimestamp:%u.%u\n", _frameInfo->length, _frameInfo->timestamp_sec, _frameInfo->timestamp_usec);
}
else if (_frameType == EASY_SDK_EVENT_FRAME_FLAG)//回调连接状态事件
{
Expand Down

0 comments on commit 61c22b4

Please sign in to comment.