webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Namespaces | Enumerations | Functions
sctputils.cc File Reference
#include "webrtc/pc/sctputils.h"
#include "webrtc/base/bytebuffer.h"
#include "webrtc/base/copyonwritebuffer.h"
#include "webrtc/base/logging.h"

Namespaces

 webrtc
 

Enumerations

enum  webrtc::DataChannelOpenMessageChannelType {
  webrtc::DCOMCT_ORDERED_RELIABLE = 0x00, webrtc::DCOMCT_ORDERED_PARTIAL_RTXS = 0x01, webrtc::DCOMCT_ORDERED_PARTIAL_TIME = 0x02, webrtc::DCOMCT_UNORDERED_RELIABLE = 0x80,
  webrtc::DCOMCT_UNORDERED_PARTIAL_RTXS = 0x81, webrtc::DCOMCT_UNORDERED_PARTIAL_TIME = 0x82
}
 

Functions

bool webrtc::IsOpenMessage (const rtc::CopyOnWriteBuffer &payload)
 
bool webrtc::ParseDataChannelOpenMessage (const rtc::CopyOnWriteBuffer &payload, std::string *label, DataChannelInit *config)
 
bool webrtc::ParseDataChannelOpenAckMessage (const rtc::CopyOnWriteBuffer &payload)
 
bool webrtc::WriteDataChannelOpenMessage (const std::string &label, const DataChannelInit &config, rtc::CopyOnWriteBuffer *payload)
 
void webrtc::WriteDataChannelOpenAckMessage (rtc::CopyOnWriteBuffer *payload)