sepfy / libpeer

WebRTC Library for IoT/Embedded Device using C
MIT License
863 stars 127 forks source link

PIPE LINE doesn't work well on VM ubuntu #17

Closed robertqd closed 2 years ago

robertqd commented 2 years ago

Hello @sepfy !

i run the example surveillance at my vm ubuntu. The "PIPE_LINE" doesn't work. i google some other command and still not work well. i don't familiar with gstreamer comand. could you provide an comand which can work well ?

thanks Robert

robertqd commented 2 years ago

hi @sepfy !

The issue has been found. use the gstreamer command in surverillance example, the profile of video h264 is high. but the profile of sdp negotiation is base. so the video is not decoded in chrome. add "video/x-264,profile=baseline" into gstreamer comand, it can work well.

thanks Robert

sepfy commented 2 years ago

The current pipeline is set for Raspberry Pi. Maybe I can consider changing it to a generic pipeline. If there are no other problems. We will close the issue.

robertqd commented 2 years ago

ok, thanks