/peersで Fatal errorで停止してしまう
手元の開発環境で /peersが正しく動作しない現象が発生しております。
使用していOSが Rapsbianを元に調整したもののため、OS側の問題かもしれませんが、
原因としてはどのような事が考えられますでしょうか?
【発生事象】
ARM版 SkyWay WebRTC Gatewayが、/peers実行でエラーを出力し停止してしまう。
【発生環境】
ハードウェア: Raspberry Pi 3B
ソフトウェア: Raspbian Version 9相当【確認中】
【再現手順】
対象OSにssh接続後、コンソールから 「./gateway_linux_arm 」を実行。
別途 sshに接続し下記のコマンドを実行。
curl -X POST "http://localhost:8000/peers" -H "accept: application/json" -H "Content-Type: application/json"
-d "{ \"key\": \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\", \"domain\": \"localhost\", \"peer_id\": \"testsample\", \"turn\": false}"
【期待される事象】
エラーで停止しない事
【その他】
curl側は下記のメッセージ
curl: (52) Empty reply from server
gateway_linux_arm側は、下記のメッセージとなります
#
# Fatal error in ../../webrtc/media/engine/webrtcvoiceengine.cc, line 264
# last system error: 0
# Check failed: 0 == voe_wrapper_->base()->Init(adm_.get(), nullptr, decoder_factory_) (0 vs. -1)
#
#
==== C stack trace ===============================
./gateway_linux_arm() [0x288c88]
./gateway_linux_arm() [0x47a0c8]
./gateway_linux_arm() [0x479a36]
./gateway_linux_arm() [0x465ee0]
./gateway_linux_arm() [0x46610a]
./gateway_linux_arm() [0x328a80]
./gateway_linux_arm() [0x32b372]
./gateway_linux_arm() [0x28c402]
./gateway_linux_arm() [0x3805f2]
./gateway_linux_arm() [0x28c0e8]
./gateway_linux_arm() [0x28beac]
Aborted
-
ご回答ありがとうございます。クラッシュした状況から確認し「libasound2 」ライブラリを入れる事で現象は回避できました。
curl -X POST -H "Content-Type: application/json" -d '{"is_video":true}' localhost:8000/media
{
"command_type": "MEDIA_CREATE",
"params": {
"errors": [
{
"field": "sender_plugins",
"message": "resolve: Service not found"
}
]
}
}
引き続き確認していると、今度は /media にて上記エラーが帰ります。
メッセージからして、こちらもライブラリ(resolve?)が足りないのが原因でしょうか?
現状必要なライブラリがなんであるかを推測しながら開発しております。
こちら、 gateway_linux_armの ソースコードやビルド手順などの公開、または提供して頂く可能な方法はございますでしょうか?
Please sign in to leave a comment.
Comments
5 comments