Tags: guangminglion/sdp
Tags
Improve Unmarshal performance by 11% * strings.Fields() and strconv.ParseInt() replaced by new functions: lexer.readField() and lexer.readUint64Field() * Because sdp size is small, lexer now uses just simple []byte * New parseError show invalid position * Bug in tests messages: bytes wasn't converted to strings before output * Bug in ConnectionInformation.String(): nil pointer dereference Benchmarks (before/after) BenchmarkUnmarshal-12 156142 6981 ns/op 4008 B/op 108 allocs/op BenchmarkUnmarshal-12 167923 6193 ns/op 2584 B/op 108 allocs/op
Fix session ID generation Use crypto random according to https://tools.ietf.org/html/draft-ietf-rtcweb-jsep-26#section-5.2.1
Add media flow attributes
sendrecv - Used to establish a 2-way media stream.
recvonly - The SIP endpoint would only receive (listen mode) and not
send media.
sendonly - The SIP endpoint would only send and not receive media.
inactive - The SIP endpoint would neither send nor receive media.
PreviousNext