mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-16 14:28:34 +00:00
it's suprising what 195 lines of code can do
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7475 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
1d5a083c39
commit
af40b99b80
3 files changed
+72
-11
No files matched your search
@@ -47,9 +47,9 @@ static void *SWITCH_THREAD_FUNC echo_video_thread(switch_thread_t *thread, void
|
||||
switch_frame_t *read_frame;
|
||||
|
||||
eh->up = 1;
|
||||
while(switch_channel_ready(channel) && switch_channel_get_state(channel) == CS_LOOPBACK) {
|
||||
while(switch_channel_ready(channel)) {
|
||||
status = switch_core_session_read_video_frame(session, &read_frame, -1, 0);
|
||||
|
||||
|
||||
if (!SWITCH_READ_ACCEPTABLE(status)) {
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user