mirror of https://bitbucket.org/ausocean/av.git
Removed references to obsolete Session.
This commit is contained in:
parent
d4c6a8f2a3
commit
863db58a84
|
@ -259,7 +259,7 @@ func (pkt *packet) resize(size uint32, ht uint8) {
|
|||
}
|
||||
|
||||
// writeTo writes a packet to the RTMP connection.
|
||||
// Packets are written in chunks which are Session.chunkSize in length (128 bytes in length).
|
||||
// Packets are written in chunks which are c.chunkSize in length (128 bytes by default).
|
||||
// We defer sending small audio packets and combine consecutive small audio packets where possible to reduce I/O.
|
||||
// When queue is true, we expect a response to this request and cache the method on c.methodCalls.
|
||||
func (pkt *packet) writeTo(c *Conn, queue bool) error {
|
||||
|
|
|
@ -206,7 +206,7 @@ func TestFromFrame(t *testing.T) {
|
|||
|
||||
err = c.Close()
|
||||
if err != nil {
|
||||
t.Errorf("Session.Close failed with error: %v", err)
|
||||
t.Errorf("Conn.Close failed with error: %v", err)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -256,6 +256,6 @@ func TestFromFile(t *testing.T) {
|
|||
|
||||
err = c.Close()
|
||||
if err != nil {
|
||||
t.Errorf("Session.Close failed with error: %v", err)
|
||||
t.Errorf("Conn.Close failed with error: %v", err)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue