
Recherche avancée
Autres articles (57)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)
Sur d’autres sites (5807)
-
RTSP Server send and receive rtsp stream
12 octobre 2016, par Aleksandr YarushevskyI have RTMP stream source that I need to send to my server (Janus WebRTC Gateway).
Receive RTMP and produce RTSP I am doing with Nginx-rtmp using FFmpeg.
Then I need to receive RTSP stream and give the possibility to get that stream by URL.
General schema like this :
[Teradek]---(rtmp)--->[RTMP Server (nginx-trmp) - convert rtmp to rtsp] ---(rtsp)--->[RTSP Server]<---(rtsp)---[Janus]Help me with RTSP Server, what server I can choose for simply receive RTSP stream and produce URL to access that stream.
-
How to capture a whole nalu of h264 from server by socket
13 novembre 2015, par Phenix Ren -
Cant Record Stream Using MediaRecorder In Server ?
13 avril 2022, par Riyad ZaigirdarFirst I am trying to make a Webrtc peer connection from the browser to the server using SFU model.


Here is the post request which makes the webrtc peer connection from the browser to the server(SFU)


app.post("/broadcast", async ({ body }, res) => {
 const peer = new webrtc.RTCPeerConnection({
 iceServers: [
 {
 urls: "stun:stun.stunprotocol.org",
 },
 ],
 });
 peer.ontrack = (e) => handleTrackEvent(e, peer); <-- Important
 const desc = new webrtc.RTCSessionDescription(body.sdp);
 await peer.setRemoteDescription(desc);
 const answer = await peer.createAnswer();
 await peer.setLocalDescription(answer);
 const payload = {
 sdp: peer.localDescription,
 };

 res.json(payload);
});



In the handleTrackEvent function, I am getting the stream which I want to start record and save in the server's local storage.


function handleTrackEvent(e, peer) {
 console.log(e.streams);
 senderStream = e.streams[0];
 var recorder = new MediaStreamRecorder(e.streams);
 recorder.recorderType = MediaRecorderWrapper;
 recorder.mimeType = "video/webm";
 recorder.ondataavailable = (blob) => {
 console.log(blob);
 };
 recorder.start(5 * 1000); <-- Error generator
}



But when try to start the recording and get the blob in 5 sec intervals, it gives me "MediaRecorder Not Found" ...


Passing following params over MediaRecorder API. { mimeType: 'video/webm' }
/Users/tecbackup/webrtc-peer/node_modules/msr/MediaStreamRecorder.js:672
 mediaRecorder = new MediaRecorder(mediaStream);
 ^

ReferenceError: MediaRecorder is not defined



I am very new to webrtc, I need some suggestion to save the live stream from the browser to the server....In future, if find the blob, then I will save the blobs sequentially in a mp4 file in the server. Then, on runtime i start pressing ffmpeg in that mp4 file to get 240p, 360p, 720p ts files for hls streaming