rawrtc / rawrtc-data-channel

A standalone WebRTC and ORTC data channel implementation.
BSD 2-Clause "Simplified" License
52 stars 6 forks source link

ID of in-band negotiated channel from remote side always 0? #22

Open lgrahl opened 6 years ago

lgrahl commented 6 years ago

Investigate if this is true!

lgrahl commented 6 years ago

While you're at it, add more debug info:

    DEBUG_PRINTF(
            "Created data channel: label=%s, type=%d, reliability-parameter=%"PRIu32", "
            "protocol=%s, negotiated=%s, id=%"PRIu16"\n",
            parameters->label ? parameters->label : "n/a",
            parameters->channel_type,
            parameters->reliability_parameter,
            parameters->protocol ? parameters->protocol : "n/a",
            parameters->negotiated ? "yes" : "no",
            parameters->id);