Skip to content

how can i use avcpp to push h264 rtmp stream to web server? #87

@jcyhcs

Description

@jcyhcs

i test api2-decode-encode-video example, i use this command :
./api2-decode-encode-video rtmp://xx.xx.xx.xx:1935/livetv/stream rtmp://127.0.0.1/live/stream
then i got error:
terminate called after throwing an instance of 'av::Exception'
what(): Codec context invalid media type

question: how can i realize the function to PUSH RTMP Stream to some rtmp server? please help !

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions