// Returns the C1 message that was sent
Returns the C1 message that was sent
// Returns the C1 message that was sent
func (h *Handshaker) sendC0C1() ([]byte, error) {
	var c0c1 [1537]byte
	c0c1[0] = RtmpVersion3
	err := h.generateRandomData(c0c1[1:])
	if err != nil {
		return nil, err
	}
	err = h.send(c0c1[:])
	if err != nil {
		return nil, err
	}
	return c0c1[1:], nil
}
func ( h * Handshaker ) sendC0C1 ( ) ( [ ] byte , error ) { var c0c1 [ 1537 ] byte c0c1 [ 0 ] = RtmpVersion3 err := h . generateRandomData ( c0c1 [ 1 : ] ) if err != nil { return nil , err } err = h . send ( c0c1 [ : ] ) if err != nil { return nil , err } return c0c1 [ 1 : ] , nil }
Returns the C1 message that was sent
Returns the C1 message that was sent
// c0 // c1