gst 发布:'SETUP stream 0 and SETUP stream 1'
gst-launch: 'SETUP stream 0 and SETUP stream 1'
当我运行gst-launch-1.0 rtspsrc location='rtspt://localhost:8554/mystream'
时,输出表明正在建立两个流:
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtspt://localhost:8554/mystream
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
Progress: (request) SETUP stream 0
Progress: (request) SETUP stream 1
Progress: (open) Opened Stream
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Progress: (request) Sending PLAY request
Progress: (request) Sending PLAY request
Progress: (request) Sent PLAY request
有谁知道为什么需要两个流(流 0 和流 1)?这两个流是否携带不同的数据?有没有办法只使用一个流?
一个流用于视频,一个流用于音频。它们没有混合在一起,但每个都有自己的 RTP 流。
当我运行gst-launch-1.0 rtspsrc location='rtspt://localhost:8554/mystream'
时,输出表明正在建立两个流:
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtspt://localhost:8554/mystream
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
Progress: (request) SETUP stream 0
Progress: (request) SETUP stream 1
Progress: (open) Opened Stream
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Progress: (request) Sending PLAY request
Progress: (request) Sending PLAY request
Progress: (request) Sent PLAY request
有谁知道为什么需要两个流(流 0 和流 1)?这两个流是否携带不同的数据?有没有办法只使用一个流?
一个流用于视频,一个流用于音频。它们没有混合在一起,但每个都有自己的 RTP 流。