Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
ed5ea7b2
Commit
ed5ea7b2
authored
Dec 18, 2015
by
Steve Lhomme
Committed by
Jean-Baptiste Kempf
Dec 18, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Chromecast: move some code to a header
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
bfaa0ce9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
50 additions
and
14 deletions
+50
-14
modules/stream_out/chromecast/cast.cpp
modules/stream_out/chromecast/cast.cpp
+2
-14
modules/stream_out/chromecast/chromecast.h
modules/stream_out/chromecast/chromecast.h
+48
-0
No files found.
modules/stream_out/chromecast/cast.cpp
View file @
ed5ea7b2
...
...
@@ -29,12 +29,12 @@
# include "config.h"
#endif
#include "chromecast.h"
#ifdef HAVE_POLL
# include <poll.h>
#endif
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_sout.h>
#include <vlc_tls.h>
#include <vlc_url.h>
...
...
@@ -47,21 +47,9 @@
#include <google/protobuf/io/zero_copy_stream_impl.h>
#include <google/protobuf/io/coded_stream.h>
#include "cast_channel.pb.h"
#include "../../misc/webservices/json.h"
// Status
enum
{
CHROMECAST_DISCONNECTED
,
CHROMECAST_TLS_CONNECTED
,
CHROMECAST_AUTHENTICATED
,
CHROMECAST_APP_STARTED
,
CHROMECAST_MEDIA_LOAD_SENT
,
CHROMECAST_CONNECTION_DEAD
,
};
#define PACKET_MAX_LEN 10 * 1024
#define PACKET_HEADER_LEN 4
...
...
modules/stream_out/chromecast/chromecast.h
0 → 100644
View file @
ed5ea7b2
/*****************************************************************************
* chromecast.cpp: Chromecast module for vlc
*****************************************************************************
* Copyright © 2014-2015 VideoLAN
*
* Authors: Adrien Maglo <magsoft@videolan.org>
* Jean-Baptiste Kempf <jb@videolan.org>
* Steve Lhomme <robux4@videolabs.io>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
/*****************************************************************************
* Preamble
*****************************************************************************/
#ifndef VLC_CHROMECAST_H
#define VLC_CHROMECAST_H
#include <vlc_common.h>
#include <vlc_plugin.h>
#include "cast_channel.pb.h"
// Status
enum
{
CHROMECAST_DISCONNECTED
,
CHROMECAST_TLS_CONNECTED
,
CHROMECAST_AUTHENTICATED
,
CHROMECAST_APP_STARTED
,
CHROMECAST_MEDIA_LOAD_SENT
,
CHROMECAST_CONNECTION_DEAD
,
};
#endif
/* VLC_CHROMECAST_H */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment