mirror of https://github.com/oxen-io/session-ios
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
836 B
Protocol Buffer
40 lines
836 B
Protocol Buffer
9 years ago
|
/**
|
||
|
* Copyright (C) 2014-2016 Open Whisper Systems
|
||
|
*
|
||
|
* Licensed according to the LICENSE file in this repository.
|
||
|
*/
|
||
|
|
||
|
package signal;
|
||
|
|
||
|
option java_package = "org.thoughtcrime.securesms.webrtc";
|
||
|
option java_outer_classname = "WebRtcDataProtos";
|
||
|
|
||
|
// These options require the objc protobuf tools and may need to be commented
|
||
|
// out if using them for a different platform.
|
||
|
import "objectivec-descriptor.proto";
|
||
|
option (google.protobuf.objectivec_file_options).class_prefix = "OWSWebRTCProtos";
|
||
|
|
||
|
message Connected
|
||
|
{
|
||
|
optional uint64 id = 1;
|
||
|
}
|
||
|
|
||
|
message Hangup
|
||
|
{
|
||
|
optional uint64 id = 1;
|
||
|
}
|
||
|
|
||
|
message VideoStreamingStatus
|
||
|
{
|
||
|
optional uint64 id = 1;
|
||
|
optional bool enabled = 2;
|
||
|
}
|
||
|
|
||
|
message Data
|
||
|
{
|
||
|
|
||
|
optional Connected connected = 1;
|
||
|
optional Hangup hangup = 2;
|
||
|
optional VideoStreamingStatus videoStreamingStatus = 3;
|
||
|
}
|