-
Notifications
You must be signed in to change notification settings - Fork 1
/
netstream_commander_gen.go
20 lines (17 loc) · 1.25 KB
/
netstream_commander_gen.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Automatically generated by go generate; DO NOT EDIT.
package rtmp
import (
"context"
)
type NetStreamCommander interface {
OnStatus(ctx context.Context, chunkStreamID uint32, messageStreamID uint32, infoObject map[string]interface{}) error
Play(ctx context.Context, chunkStreamID uint32, messageStreamID uint32, streamName string, start uint32, duration uint32, reset bool) error
Play2(ctx context.Context, chunkStreamID uint32, messageStreamID uint32, parameters map[string]interface{}) error
DeleteStream(ctx context.Context, chunkStreamID uint32, messageStreamID uint32, streamID uint32) error
CloseStream(ctx context.Context, chunkStreamID uint32, messageStreamID uint32, streamID uint32) error
ReceiveAudio(ctx context.Context, chunkStreamID uint32, messageStreamID uint32, boolFlag bool) error
ReceiveVideo(ctx context.Context, chunkStreamID uint32, messageStreamID uint32, boolFlag bool) error
Publish(ctx context.Context, chunkStreamID uint32, messageStreamID uint32, publishingName string, publishingType PublishingType) error
Seek(ctx context.Context, chunkStreamID uint32, messageStreamID uint32, milliSeconds uint32) error
Pause(ctx context.Context, chunkStreamID uint32, messageStreamID uint32, pauseUnpauseFlag bool, milliSeconds uint32) error
}