use av.CodecData

This commit is contained in:
nareix 2016-06-06 16:48:00 +08:00
parent 9af997cd0f
commit 966db88bc3

View File

@ -6,7 +6,7 @@ import (
)
type Stream struct {
av.StreamCommon
av.CodecData
Sdp sdp.Info
// h264
@ -16,6 +16,7 @@ type Stream struct {
gotpkt bool
pkt av.Packet
timestamp uint32
}
func (self Stream) IsAudio() bool {