Beispiel #1
0
func (handler *TestClientConnHandler) OnStreamCreated(conn rtmp.ClientConn, stream rtmp.ClientStream) {
	log.Printf("Stream created: %d\n", stream.ID())
	createStreamChan <- stream
}
Beispiel #2
0
func (handler *PublishingClientConnHandler) OnStreamCreated(conn rtmp.ClientConn, stream rtmp.ClientStream) {
	log.Printf("OnStreamCreated, id = %d", stream.ID())
	createStreamChan <- stream
}
Beispiel #3
0
func (handler *PlayingClientConnHandler) OnStreamCreated(conn rtmp.ClientConn, stream rtmp.ClientStream) {
	log.Printf("play:OnStreamCreated, id = %d", stream.ID())
	playCreateStreamChan <- stream
}