Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
src
ethernet
rs_rtp_callback.cpp
Go to the documentation of this file.
1
// License: Apache 2.0. See LICENSE file in root directory.
2
// Copyright(c) 2019 Intel Corporation. All Rights Reserved.
3
4
#include "
rs_rtp_callback.hh
"
5
6
#include <iostream>
7
8
void
rs_rtp_callback::on_frame
(
unsigned
char
*
buffer
, ssize_t
size
,
struct
timeval presentationTime)
9
{
10
m_rtp_stream
.get()->insert_frame(
new
Raw_Frame
((
char
*)buffer, (
int
)size, presentationTime));
11
}
12
13
rs_rtp_callback::~rs_rtp_callback
() {}
buffer
GLenum GLfloat * buffer
Definition:
glad/glad/glad.h:2067
Raw_Frame
Definition:
rs_rtp_stream.hh:16
rs_rtp_callback::on_frame
void on_frame(unsigned char *buffer, ssize_t size, struct timeval presentationTime)
Definition:
rs_rtp_callback.cpp:8
rs_rtp_callback::m_rtp_stream
std::shared_ptr< rs_rtp_stream > m_rtp_stream
Definition:
rs_rtp_callback.hh:16
size
GLsizeiptr size
Definition:
glad/glad/glad.h:2735
rs_rtp_callback.hh
rs_rtp_callback::~rs_rtp_callback
~rs_rtp_callback()
Definition:
rs_rtp_callback.cpp:13
librealsense2
Author(s): Sergey Dorodnicov
, Doron Hirshberg
, Mark Horn
, Reagan Lopez
, Itay Carpis
autogenerated on Mon May 3 2021 02:47:41