Documentation ¶
Index ¶
- type MediaFile
- func (m *MediaFile) GetAudioTrack() (*webrtc.TrackLocalStaticSample, error)
- func (m *MediaFile) GetVideoTrack() (*webrtc.TrackLocalStaticSample, error)
- func (m *MediaFile) PlayAudio(iceConnectedCtx context.Context, rtpSender *webrtc.RTPSender)
- func (m *MediaFile) PlayVideo(iceConnectedCtx context.Context, rtpSender *webrtc.RTPSender)
- func (m *MediaFile) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MediaFile ¶
type MediaFile struct {
AudioTrack, VideoTrack *webrtc.TrackLocalStaticSample
// contains filtered or unexported fields
}
func NewMediaFile ¶
func (*MediaFile) GetAudioTrack ¶
func (*MediaFile) GetVideoTrack ¶
Click to show internal directories.
Click to hide internal directories.