Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TypeSupported ¶
TypeSupported returns a Boolean value which is true if the given MIME type is likely to be supported by the current user agent.
Types ¶
type Buffer ¶
type Buffer struct {
// contains filtered or unexported fields
}
Buffer represents javascript SourceBuffer from MediaSource. https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer
type Source ¶
type Source struct {
// contains filtered or unexported fields
}
Source represents javascript MediaSource. https://developer.mozilla.org/en-US/docs/Web/API/MediaSource
func (Source) AddSourceBuffer ¶
AddSourceBuffer creates a new SourceBuffer of the given MIME type and adds it to the MediaSource's sourceBuffers list.
Click to show internal directories.
Click to hide internal directories.