use av.CodecData
This commit is contained in:
parent
9af997cd0f
commit
966db88bc3
@ -6,7 +6,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type Stream struct {
|
type Stream struct {
|
||||||
av.StreamCommon
|
av.CodecData
|
||||||
Sdp sdp.Info
|
Sdp sdp.Info
|
||||||
|
|
||||||
// h264
|
// h264
|
||||||
@ -16,6 +16,7 @@ type Stream struct {
|
|||||||
|
|
||||||
gotpkt bool
|
gotpkt bool
|
||||||
pkt av.Packet
|
pkt av.Packet
|
||||||
|
timestamp uint32
|
||||||
}
|
}
|
||||||
|
|
||||||
func (self Stream) IsAudio() bool {
|
func (self Stream) IsAudio() bool {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user