zhangpeihao / gortmp

Implement RTMP protocol by golang
MIT License
523 stars 162 forks source link

How to create a an outboundstream ? #42

Open Saxon1 opened 6 years ago

Saxon1 commented 6 years ago

Hello, I'm wondering how it's possible to create an outbound stream ? In particular in the rtmp_publisher demo, how can I send an outboundstream into the createOutboundStreamChan ? Perhaps I can give more details on what I want to do. I want to create to simply create a connection to an rtmp url and send data to it, is this possible using the publisher demo, and if so how can I create a stream to use stream.PublishData ?? What is stream?

Regards, Saxon