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
434bd4b5
Commit
434bd4b5
authored
Dec 23, 2015
by
Steve Lhomme
Committed by
Jean-Baptiste Kempf
Dec 23, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chromecast: move buildMessage() in the class
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
40886529
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
modules/stream_out/chromecast/chromecast.h
modules/stream_out/chromecast/chromecast.h
+4
-0
modules/stream_out/chromecast/chromecast_ctrl.cpp
modules/stream_out/chromecast/chromecast_ctrl.cpp
+3
-3
No files found.
modules/stream_out/chromecast/chromecast.h
View file @
434bd4b5
...
@@ -114,6 +114,10 @@ struct intf_sys_t
...
@@ -114,6 +114,10 @@ struct intf_sys_t
private:
private:
int
sendMessage
(
castchannel
::
CastMessage
&
msg
);
int
sendMessage
(
castchannel
::
CastMessage
&
msg
);
castchannel
::
CastMessage
buildMessage
(
std
::
string
namespace_
,
castchannel
::
CastMessage_PayloadType
payloadType
,
std
::
string
payload
,
std
::
string
destinationId
=
DEFAULT_CHOMECAST_RECEIVER
);
enum
connection_status
conn_status
;
enum
connection_status
conn_status
;
unsigned
i_requestId
;
unsigned
i_requestId
;
...
...
modules/stream_out/chromecast/chromecast_ctrl.cpp
View file @
434bd4b5
...
@@ -52,9 +52,9 @@
...
@@ -52,9 +52,9 @@
* @param destinationId the destination idenifier
* @param destinationId the destination idenifier
* @return the generated CastMessage
* @return the generated CastMessage
*/
*/
static
castchannel
::
CastMessage
buildMessage
(
std
::
string
namespace_
,
castchannel
::
CastMessage
intf_sys_t
::
buildMessage
(
std
::
string
namespace_
,
castchannel
::
CastMessage_PayloadType
payloadType
,
castchannel
::
CastMessage_PayloadType
payloadType
,
std
::
string
payload
,
std
::
string
destinationId
=
DEFAULT_CHOMECAST_RECEIVER
)
std
::
string
payload
,
std
::
string
destinationId
)
{
{
castchannel
::
CastMessage
msg
;
castchannel
::
CastMessage
msg
;
...
...
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